Pre-emptive performance fix - avoid having to read the complete log file into memory at the same time before processing it.
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>sysdef.api.SystemDefinition</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script type="text/javascript" src="epydoc.js"></script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
<!-- Tree link -->
<th> <a
href="module-tree.html">Trees</a> </th>
<!-- Index link -->
<th> <a
href="identifier-index.html">Indices</a> </th>
<!-- Help link -->
<th> <a
href="help.html">Help</a> </th>
<th class="navbar" width="100%"></th>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="100%">
<span class="breadcrumbs">
<a href="sysdef-module.html">Package sysdef</a> ::
<a href="sysdef.api-module.html">Module api</a> ::
Class SystemDefinition
</span>
</td>
<td>
<table cellpadding="0" cellspacing="0">
<!-- hide/show private -->
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
onclick="toggle_private();">hide private</a>]</span></td></tr>
<tr><td align="right"><span class="options"
>[<a href="frames.html" target="_top">frames</a
>] | <a href="sysdef.api.SystemDefinition-class.html"
target="_top">no frames</a>]</span></td></tr>
</table>
</td>
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class SystemDefinition</h1><span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition">source code</a></span><br /><br />
<pre class="base-tree">
object --+
|
<strong class="uidshort">SystemDefinition</strong>
</pre>
<hr />
<p>Logical representation of the System Definition.</p>
<p>The System Definition is defined in terms of a system model and a
build model. The default physical representation of this is the Symbian
XML format.</p><br /><br />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td colspan="2" class="table-header">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="left"><span class="table-header">Instance Methods</span></td>
<td align="right" valign="top"
><span class="options">[<a href="#section-InstanceMethods"
class="privatelink" onclick="toggle_private();"
>hide private</a>]</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a href="sysdef.api.SystemDefinition-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">filename</span>)</span><br />
Initialisation</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__init__">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__getunits"></a><span class="summary-sig-name">__getunits</span>(<span class="summary-sig-arg">self</span>)</span><br />
Units getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__getunits">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__getmodules"></a><span class="summary-sig-name">__getmodules</span>(<span class="summary-sig-arg">self</span>)</span><br />
Modules getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__getmodules">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__getlayers"></a><span class="summary-sig-name">__getlayers</span>(<span class="summary-sig-arg">self</span>)</span><br />
Layers getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__getlayers">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__getunitlists"></a><span class="summary-sig-name">__getunitlists</span>(<span class="summary-sig-arg">self</span>)</span><br />
Unit lists getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__getunitlists">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__getoptions"></a><span class="summary-sig-name">__getoptions</span>(<span class="summary-sig-arg">self</span>)</span><br />
Options getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__getoptions">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__getconfigurations"></a><span class="summary-sig-name">__getconfigurations</span>(<span class="summary-sig-arg">self</span>)</span><br />
Configurations getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__getconfigurations">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__gettargetlists"></a><span class="summary-sig-name">__gettargetlists</span>(<span class="summary-sig-arg">self</span>)</span><br />
Targets lists getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__gettargetlists">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__gettargets"></a><span class="summary-sig-name">__gettargets</span>(<span class="summary-sig-arg">self</span>)</span><br />
Targets getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__gettargets">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="units"></a><span class="summary-sig-name">units</span>(<span class="summary-sig-arg">self</span>)</span><br />
Units getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.units">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="unitlists"></a><span class="summary-sig-name">unitlists</span>(<span class="summary-sig-arg">self</span>)</span><br />
Unit lists getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.unitlists">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="layers"></a><span class="summary-sig-name">layers</span>(<span class="summary-sig-arg">self</span>)</span><br />
Layers getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.layers">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="options"></a><span class="summary-sig-name">options</span>(<span class="summary-sig-arg">self</span>)</span><br />
Options getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.options">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="configurations"></a><span class="summary-sig-name">configurations</span>(<span class="summary-sig-arg">self</span>)</span><br />
Configurations getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.configurations">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="targetlists"></a><span class="summary-sig-name">targetlists</span>(<span class="summary-sig-arg">self</span>)</span><br />
Targets lists getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.targetlists">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="targets"></a><span class="summary-sig-name">targets</span>(<span class="summary-sig-arg">self</span>)</span><br />
Targets getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.targets">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="modules"></a><span class="summary-sig-name">modules</span>(<span class="summary-sig-arg">self</span>)</span><br />
Modules getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.modules">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__parse"></a><span class="summary-sig-name">__parse</span>(<span class="summary-sig-arg">self</span>)</span></td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__parse">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="addElement"></a><span class="summary-sig-name">addElement</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">element</span>)</span><br />
Adds SysDef element to cache.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.addElement">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="__getitem__"></a><span class="summary-sig-name">__getitem__</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">key</span>)</span><br />
Item getter method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__getitem__">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="merge_binaries"></a><span class="summary-sig-name">merge_binaries</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">binaries_reader</span>)</span><br />
Merge binaries based on build log and system definition.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.merge_binaries">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type"> </span>
</td><td class="summary">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><span class="summary-sig"><a name="merge_binary_sizes"></a><span class="summary-sig-name">merge_binary_sizes</span>(<span class="summary-sig-arg">self</span>,
<span class="summary-sig-arg">binary_sizes_reader</span>)</span><br />
Merge binary size base on binary sizes input and system definition.</td>
<td align="right" valign="top">
<span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.merge_binary_sizes">source code</a></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" class="summary">
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
<code>__delattr__</code>,
<code>__getattribute__</code>,
<code>__hash__</code>,
<code>__new__</code>,
<code>__reduce__</code>,
<code>__reduce_ex__</code>,
<code>__repr__</code>,
<code>__setattr__</code>,
<code>__str__</code>
</p>
</td>
</tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td colspan="2" class="table-header">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="left"><span class="table-header">Properties</span></td>
<td align="right" valign="top"
><span class="options">[<a href="#section-Properties"
class="privatelink" onclick="toggle_private();"
>hide private</a>]</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" class="summary">
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
<code>__class__</code>
</p>
</td>
</tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td colspan="2" class="table-header">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
<td align="left"><span class="table-header">Method Details</span></td>
<td align="right" valign="top"
><span class="options">[<a href="#section-MethodDetails"
class="privatelink" onclick="toggle_private();"
>hide private</a>]</span></td>
</tr>
</table>
</td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr valign="top"><td>
<h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
<span class="sig-arg">filename</span>)</span>
<br /><em class="fname">(Constructor)</em>
</h3>
</td><td align="right" valign="top"
><span class="codelink"><a href="sysdef.api-pysrc.html#SystemDefinition.__init__">source code</a></span>
</td>
</table>
Initialisation
<dl class="fields">
<dt>Overrides:
object.__init__
</dt>
</dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
<!-- Tree link -->
<th> <a
href="module-tree.html">Trees</a> </th>
<!-- Index link -->
<th> <a
href="identifier-index.html">Indices</a> </th>
<!-- Help link -->
<th> <a
href="help.html">Help</a> </th>
<th class="navbar" width="100%"></th>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:19 2009
</td>
<td align="right" class="footer">
<a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
// Private objects are initially displayed (because if
// javascript is turned off then we want them to be
// visible); but by default, we want to hide them. So hide
// them unless we have a cookie that says to show them.
checkCookie()
// -->
</script>
</body>
</html>