|
1 <?xml version="1.0" encoding="ascii"?> |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "DTD/xhtml1-transitional.dtd"> |
|
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
5 <head> |
|
6 <title>build.io.RombuildLogBinarySizeReader</title> |
|
7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> |
|
8 <script type="text/javascript" src="epydoc.js"></script> |
|
9 </head> |
|
10 |
|
11 <body bgcolor="white" text="black" link="blue" vlink="#204080" |
|
12 alink="#204080"> |
|
13 <!-- ==================== NAVIGATION BAR ==================== --> |
|
14 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
15 bgcolor="#a0c0ff" cellspacing="0"> |
|
16 <tr valign="middle"> |
|
17 |
|
18 <!-- Tree link --> |
|
19 <th> <a |
|
20 href="module-tree.html">Trees</a> </th> |
|
21 |
|
22 <!-- Index link --> |
|
23 <th> <a |
|
24 href="identifier-index.html">Indices</a> </th> |
|
25 |
|
26 <!-- Help link --> |
|
27 <th> <a |
|
28 href="help.html">Help</a> </th> |
|
29 |
|
30 <th class="navbar" width="100%"></th> |
|
31 </tr> |
|
32 </table> |
|
33 <table width="100%" cellpadding="0" cellspacing="0"> |
|
34 <tr valign="top"> |
|
35 <td width="100%"> |
|
36 <span class="breadcrumbs"> |
|
37 <a href="build-module.html">Package build</a> :: |
|
38 <a href="build.io-module.html">Module io</a> :: |
|
39 Class RombuildLogBinarySizeReader |
|
40 </span> |
|
41 </td> |
|
42 <td> |
|
43 <table cellpadding="0" cellspacing="0"> |
|
44 <!-- hide/show private --> |
|
45 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
|
46 onclick="toggle_private();">hide private</a>]</span></td></tr> |
|
47 <tr><td align="right"><span class="options" |
|
48 >[<a href="frames.html" target="_top">frames</a |
|
49 >] | <a href="build.io.RombuildLogBinarySizeReader-class.html" |
|
50 target="_top">no frames</a>]</span></td></tr> |
|
51 </table> |
|
52 </td> |
|
53 </tr> |
|
54 </table> |
|
55 <!-- ==================== CLASS DESCRIPTION ==================== --> |
|
56 <h1 class="epydoc">Class RombuildLogBinarySizeReader</h1><span class="codelink"><a href="build.io-pysrc.html#RombuildLogBinarySizeReader">source code</a></span><br /><br /> |
|
57 <pre class="base-tree"> |
|
58 object --+ |
|
59 | |
|
60 <strong class="uidshort">RombuildLogBinarySizeReader</strong> |
|
61 </pre> |
|
62 |
|
63 <hr /> |
|
64 <p>Reader that parses a Symbian ROM build log and extracts binary sizes.</p> |
|
65 <p>This reader will return, using the iterator protocol, tuples containing: |
|
66 * Binary name. |
|
67 * Size of binary. (d+)</p><br /><br /> |
|
68 |
|
69 <!-- ==================== INSTANCE METHODS ==================== --> |
|
70 <a name="section-InstanceMethods"></a> |
|
71 <table class="summary" border="1" cellpadding="3" |
|
72 cellspacing="0" width="100%" bgcolor="white"> |
|
73 <tr bgcolor="#70b0f0" class="table-header"> |
|
74 <td colspan="2" class="table-header"> |
|
75 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
76 <tr valign="top"> |
|
77 <td align="left"><span class="table-header">Instance Methods</span></td> |
|
78 <td align="right" valign="top" |
|
79 ><span class="options">[<a href="#section-InstanceMethods" |
|
80 class="privatelink" onclick="toggle_private();" |
|
81 >hide private</a>]</span></td> |
|
82 </tr> |
|
83 </table> |
|
84 </td> |
|
85 </tr> |
|
86 <tr> |
|
87 <td width="15%" align="right" valign="top" class="summary"> |
|
88 <span class="summary-type"> </span> |
|
89 </td><td class="summary"> |
|
90 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
91 <tr> |
|
92 <td><span class="summary-sig"><a href="build.io.RombuildLogBinarySizeReader-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, |
|
93 <span class="summary-sig-arg">logpath</span>)</span><br /> |
|
94 Initialisation.</td> |
|
95 <td align="right" valign="top"> |
|
96 <span class="codelink"><a href="build.io-pysrc.html#RombuildLogBinarySizeReader.__init__">source code</a></span> |
|
97 |
|
98 </td> |
|
99 </tr> |
|
100 </table> |
|
101 |
|
102 </td> |
|
103 </tr> |
|
104 <tr> |
|
105 <td width="15%" align="right" valign="top" class="summary"> |
|
106 <span class="summary-type"> </span> |
|
107 </td><td class="summary"> |
|
108 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
109 <tr> |
|
110 <td><span class="summary-sig"><a name="__iter__"></a><span class="summary-sig-name">__iter__</span>(<span class="summary-sig-arg">self</span>)</span><br /> |
|
111 Implement the iterator protocol.</td> |
|
112 <td align="right" valign="top"> |
|
113 <span class="codelink"><a href="build.io-pysrc.html#RombuildLogBinarySizeReader.__iter__">source code</a></span> |
|
114 |
|
115 </td> |
|
116 </tr> |
|
117 </table> |
|
118 |
|
119 </td> |
|
120 </tr> |
|
121 <tr> |
|
122 <td colspan="2" class="summary"> |
|
123 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
124 <code>__delattr__</code>, |
|
125 <code>__getattribute__</code>, |
|
126 <code>__hash__</code>, |
|
127 <code>__new__</code>, |
|
128 <code>__reduce__</code>, |
|
129 <code>__reduce_ex__</code>, |
|
130 <code>__repr__</code>, |
|
131 <code>__setattr__</code>, |
|
132 <code>__str__</code> |
|
133 </p> |
|
134 </td> |
|
135 </tr> |
|
136 </table> |
|
137 <!-- ==================== CLASS VARIABLES ==================== --> |
|
138 <a name="section-ClassVariables"></a> |
|
139 <table class="summary" border="1" cellpadding="3" |
|
140 cellspacing="0" width="100%" bgcolor="white"> |
|
141 <tr bgcolor="#70b0f0" class="table-header"> |
|
142 <td colspan="2" class="table-header"> |
|
143 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
144 <tr valign="top"> |
|
145 <td align="left"><span class="table-header">Class Variables</span></td> |
|
146 <td align="right" valign="top" |
|
147 ><span class="options">[<a href="#section-ClassVariables" |
|
148 class="privatelink" onclick="toggle_private();" |
|
149 >hide private</a>]</span></td> |
|
150 </tr> |
|
151 </table> |
|
152 </td> |
|
153 </tr> |
|
154 <tr> |
|
155 <td width="15%" align="right" valign="top" class="summary"> |
|
156 <span class="summary-type"> </span> |
|
157 </td><td class="summary"> |
|
158 <a name="rom_binary_size_regex"></a><span class="summary-name">rom_binary_size_regex</span> = <code title="re.compile(r'(\\epoc32[\w\\\.]+)\t(\d+)')">re.compile(r'(\\epoc32[\w\\\.]+)\t(\d+)')</code> |
|
159 </td> |
|
160 </tr> |
|
161 <tr> |
|
162 <td width="15%" align="right" valign="top" class="summary"> |
|
163 <span class="summary-type"> </span> |
|
164 </td><td class="summary"> |
|
165 <a href="build.io.RombuildLogBinarySizeReader-class.html#rofs_binary_size_regex" class="summary-name">rofs_binary_size_regex</a> = <code title="re.compile(r"ile '([\w\\\.]+)' size: (\w+)")">re.compile(r"ile '([\w\\\.]+)' size: <code class="variable-ellipsis">...</code></code> |
|
166 </td> |
|
167 </tr> |
|
168 <tr> |
|
169 <td width="15%" align="right" valign="top" class="summary"> |
|
170 <span class="summary-type"> </span> |
|
171 </td><td class="summary"> |
|
172 <a name="image_type_regex"></a><span class="summary-name">image_type_regex</span> = <code title="re.compile(r'[._]([^._]+)\.log')">re.compile(r'[._]([^._]+)\.log')</code> |
|
173 </td> |
|
174 </tr> |
|
175 </table> |
|
176 <!-- ==================== PROPERTIES ==================== --> |
|
177 <a name="section-Properties"></a> |
|
178 <table class="summary" border="1" cellpadding="3" |
|
179 cellspacing="0" width="100%" bgcolor="white"> |
|
180 <tr bgcolor="#70b0f0" class="table-header"> |
|
181 <td colspan="2" class="table-header"> |
|
182 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
183 <tr valign="top"> |
|
184 <td align="left"><span class="table-header">Properties</span></td> |
|
185 <td align="right" valign="top" |
|
186 ><span class="options">[<a href="#section-Properties" |
|
187 class="privatelink" onclick="toggle_private();" |
|
188 >hide private</a>]</span></td> |
|
189 </tr> |
|
190 </table> |
|
191 </td> |
|
192 </tr> |
|
193 <tr> |
|
194 <td colspan="2" class="summary"> |
|
195 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
196 <code>__class__</code> |
|
197 </p> |
|
198 </td> |
|
199 </tr> |
|
200 </table> |
|
201 <!-- ==================== METHOD DETAILS ==================== --> |
|
202 <a name="section-MethodDetails"></a> |
|
203 <table class="details" border="1" cellpadding="3" |
|
204 cellspacing="0" width="100%" bgcolor="white"> |
|
205 <tr bgcolor="#70b0f0" class="table-header"> |
|
206 <td colspan="2" class="table-header"> |
|
207 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
208 <tr valign="top"> |
|
209 <td align="left"><span class="table-header">Method Details</span></td> |
|
210 <td align="right" valign="top" |
|
211 ><span class="options">[<a href="#section-MethodDetails" |
|
212 class="privatelink" onclick="toggle_private();" |
|
213 >hide private</a>]</span></td> |
|
214 </tr> |
|
215 </table> |
|
216 </td> |
|
217 </tr> |
|
218 </table> |
|
219 <a name="__init__"></a> |
|
220 <div> |
|
221 <table class="details" border="1" cellpadding="3" |
|
222 cellspacing="0" width="100%" bgcolor="white"> |
|
223 <tr><td> |
|
224 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
225 <tr valign="top"><td> |
|
226 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, |
|
227 <span class="sig-arg">logpath</span>)</span> |
|
228 <br /><em class="fname">(Constructor)</em> |
|
229 </h3> |
|
230 </td><td align="right" valign="top" |
|
231 ><span class="codelink"><a href="build.io-pysrc.html#RombuildLogBinarySizeReader.__init__">source code</a></span> |
|
232 </td> |
|
233 </table> |
|
234 |
|
235 Initialisation. |
|
236 <dl class="fields"> |
|
237 <dt>Parameters:</dt> |
|
238 <dd><ul class="nomargin-top"> |
|
239 <li><strong class="pname"><code>logpath</code></strong> - The path to the Symbian log file.</li> |
|
240 </ul></dd> |
|
241 <dt>Overrides: |
|
242 object.__init__ |
|
243 </dt> |
|
244 </dl> |
|
245 </td></tr></table> |
|
246 </div> |
|
247 <br /> |
|
248 <!-- ==================== CLASS VARIABLE DETAILS ==================== --> |
|
249 <a name="section-ClassVariableDetails"></a> |
|
250 <table class="details" border="1" cellpadding="3" |
|
251 cellspacing="0" width="100%" bgcolor="white"> |
|
252 <tr bgcolor="#70b0f0" class="table-header"> |
|
253 <td colspan="2" class="table-header"> |
|
254 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
255 <tr valign="top"> |
|
256 <td align="left"><span class="table-header">Class Variable Details</span></td> |
|
257 <td align="right" valign="top" |
|
258 ><span class="options">[<a href="#section-ClassVariableDetails" |
|
259 class="privatelink" onclick="toggle_private();" |
|
260 >hide private</a>]</span></td> |
|
261 </tr> |
|
262 </table> |
|
263 </td> |
|
264 </tr> |
|
265 </table> |
|
266 <a name="rofs_binary_size_regex"></a> |
|
267 <div> |
|
268 <table class="details" border="1" cellpadding="3" |
|
269 cellspacing="0" width="100%" bgcolor="white"> |
|
270 <tr><td> |
|
271 <h3 class="epydoc">rofs_binary_size_regex</h3> |
|
272 |
|
273 <dl class="fields"> |
|
274 </dl> |
|
275 <dl class="fields"> |
|
276 <dt>Value:</dt> |
|
277 <dd><table><tr><td><pre class="variable"> |
|
278 re.compile(r"ile '([\w\\\.]+)' size: (\w+)") |
|
279 </pre></td></tr></table> |
|
280 </dd> |
|
281 </dl> |
|
282 </td></tr></table> |
|
283 </div> |
|
284 <br /> |
|
285 <!-- ==================== NAVIGATION BAR ==================== --> |
|
286 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
287 bgcolor="#a0c0ff" cellspacing="0"> |
|
288 <tr valign="middle"> |
|
289 |
|
290 <!-- Tree link --> |
|
291 <th> <a |
|
292 href="module-tree.html">Trees</a> </th> |
|
293 |
|
294 <!-- Index link --> |
|
295 <th> <a |
|
296 href="identifier-index.html">Indices</a> </th> |
|
297 |
|
298 <!-- Help link --> |
|
299 <th> <a |
|
300 href="help.html">Help</a> </th> |
|
301 |
|
302 <th class="navbar" width="100%"></th> |
|
303 </tr> |
|
304 </table> |
|
305 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
306 <tr> |
|
307 <td align="left" class="footer"> |
|
308 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:17 2009 |
|
309 </td> |
|
310 <td align="right" class="footer"> |
|
311 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
312 </td> |
|
313 </tr> |
|
314 </table> |
|
315 |
|
316 <script type="text/javascript"> |
|
317 <!-- |
|
318 // Private objects are initially displayed (because if |
|
319 // javascript is turned off then we want them to be |
|
320 // visible); but by default, we want to hide them. So hide |
|
321 // them unless we have a cookie that says to show them. |
|
322 checkCookie() |
|
323 // --> |
|
324 </script> |
|
325 |
|
326 </body> |
|
327 </html> |