|
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>sysdef.io.MakeWriter2</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="sysdef-module.html">Package sysdef</a> :: |
|
38 <a href="sysdef.io-module.html">Module io</a> :: |
|
39 Class MakeWriter2 |
|
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="sysdef.io.MakeWriter2-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 MakeWriter2</h1><span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2">source code</a></span><br /><br /> |
|
57 <pre class="base-tree"> |
|
58 <a href="buildtools.AbstractOutputWriter-class.html">buildtools.AbstractOutputWriter</a> --+ |
|
59 | |
|
60 <strong class="uidshort">MakeWriter2</strong> |
|
61 </pre> |
|
62 |
|
63 <hr /> |
|
64 <!-- ==================== INSTANCE METHODS ==================== --> |
|
65 <a name="section-InstanceMethods"></a> |
|
66 <table class="summary" border="1" cellpadding="3" |
|
67 cellspacing="0" width="100%" bgcolor="white"> |
|
68 <tr bgcolor="#70b0f0" class="table-header"> |
|
69 <td colspan="2" class="table-header"> |
|
70 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
71 <tr valign="top"> |
|
72 <td align="left"><span class="table-header">Instance Methods</span></td> |
|
73 <td align="right" valign="top" |
|
74 ><span class="options">[<a href="#section-InstanceMethods" |
|
75 class="privatelink" onclick="toggle_private();" |
|
76 >hide private</a>]</span></td> |
|
77 </tr> |
|
78 </table> |
|
79 </td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td width="15%" align="right" valign="top" class="summary"> |
|
83 <span class="summary-type"> </span> |
|
84 </td><td class="summary"> |
|
85 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
86 <tr> |
|
87 <td><span class="summary-sig"><a href="sysdef.io.MakeWriter2-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, |
|
88 <span class="summary-sig-arg">output</span>)</span></td> |
|
89 <td align="right" valign="top"> |
|
90 <span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2.__init__">source code</a></span> |
|
91 |
|
92 </td> |
|
93 </tr> |
|
94 </table> |
|
95 |
|
96 </td> |
|
97 </tr> |
|
98 <tr class="private"> |
|
99 <td width="15%" align="right" valign="top" class="summary"> |
|
100 <span class="summary-type"> </span> |
|
101 </td><td class="summary"> |
|
102 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
103 <tr> |
|
104 <td><span class="summary-sig"><a name="__read_file"></a><span class="summary-sig-name">__read_file</span>(<span class="summary-sig-arg">self</span>, |
|
105 <span class="summary-sig-arg">filename</span>)</span></td> |
|
106 <td align="right" valign="top"> |
|
107 <span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2.__read_file">source code</a></span> |
|
108 |
|
109 </td> |
|
110 </tr> |
|
111 </table> |
|
112 |
|
113 </td> |
|
114 </tr> |
|
115 <tr> |
|
116 <td width="15%" align="right" valign="top" class="summary"> |
|
117 <span class="summary-type"> </span> |
|
118 </td><td class="summary"> |
|
119 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
120 <tr> |
|
121 <td><span class="summary-sig"><a href="sysdef.io.MakeWriter2-class.html#write" class="summary-sig-name">write</a>(<span class="summary-sig-arg">self</span>, |
|
122 <span class="summary-sig-arg">sdf</span>)</span><br /> |
|
123 Method to override to implement format specific output.</td> |
|
124 <td align="right" valign="top"> |
|
125 <span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2.write">source code</a></span> |
|
126 |
|
127 </td> |
|
128 </tr> |
|
129 </table> |
|
130 |
|
131 </td> |
|
132 </tr> |
|
133 <tr class="private"> |
|
134 <td width="15%" align="right" valign="top" class="summary"> |
|
135 <span class="summary-type"> </span> |
|
136 </td><td class="summary"> |
|
137 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
138 <tr> |
|
139 <td><span class="summary-sig"><a name="_unit_to_makefile"></a><span class="summary-sig-name">_unit_to_makefile</span>(<span class="summary-sig-arg">self</span>, |
|
140 <span class="summary-sig-arg">unit</span>)</span></td> |
|
141 <td align="right" valign="top"> |
|
142 <span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2._unit_to_makefile">source code</a></span> |
|
143 |
|
144 </td> |
|
145 </tr> |
|
146 </table> |
|
147 |
|
148 </td> |
|
149 </tr> |
|
150 <tr class="private"> |
|
151 <td width="15%" align="right" valign="top" class="summary"> |
|
152 <span class="summary-type"> </span> |
|
153 </td><td class="summary"> |
|
154 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
155 <tr> |
|
156 <td><span class="summary-sig"><a name="_group_to_makefile"></a><span class="summary-sig-name">_group_to_makefile</span>(<span class="summary-sig-arg">self</span>, |
|
157 <span class="summary-sig-arg">group</span>, |
|
158 <span class="summary-sig-arg">gtype</span>)</span></td> |
|
159 <td align="right" valign="top"> |
|
160 <span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2._group_to_makefile">source code</a></span> |
|
161 |
|
162 </td> |
|
163 </tr> |
|
164 </table> |
|
165 |
|
166 </td> |
|
167 </tr> |
|
168 <tr class="private"> |
|
169 <td width="15%" align="right" valign="top" class="summary"> |
|
170 <span class="summary-type"> </span> |
|
171 </td><td class="summary"> |
|
172 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
173 <tr> |
|
174 <td><span class="summary-sig"><a name="_configuration_to_makefile"></a><span class="summary-sig-name">_configuration_to_makefile</span>(<span class="summary-sig-arg">self</span>, |
|
175 <span class="summary-sig-arg">config</span>)</span></td> |
|
176 <td align="right" valign="top"> |
|
177 <span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2._configuration_to_makefile">source code</a></span> |
|
178 |
|
179 </td> |
|
180 </tr> |
|
181 </table> |
|
182 |
|
183 </td> |
|
184 </tr> |
|
185 <tr class="private"> |
|
186 <td width="15%" align="right" valign="top" class="summary"> |
|
187 <span class="summary-type"> </span> |
|
188 </td><td class="summary"> |
|
189 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
190 <tr> |
|
191 <td><span class="summary-sig"><a name="_task_to_makefile"></a><span class="summary-sig-name">_task_to_makefile</span>(<span class="summary-sig-arg">self</span>, |
|
192 <span class="summary-sig-arg">task</span>)</span></td> |
|
193 <td align="right" valign="top"> |
|
194 <span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2._task_to_makefile">source code</a></span> |
|
195 |
|
196 </td> |
|
197 </tr> |
|
198 </table> |
|
199 |
|
200 </td> |
|
201 </tr> |
|
202 <tr class="private"> |
|
203 <td width="15%" align="right" valign="top" class="summary"> |
|
204 <span class="summary-type"> </span> |
|
205 </td><td class="summary"> |
|
206 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
207 <tr> |
|
208 <td><span class="summary-sig"><a name="_task_to_makefile_target"></a><span class="summary-sig-name">_task_to_makefile_target</span>(<span class="summary-sig-arg">self</span>, |
|
209 <span class="summary-sig-arg">task</span>)</span></td> |
|
210 <td align="right" valign="top"> |
|
211 <span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2._task_to_makefile_target">source code</a></span> |
|
212 |
|
213 </td> |
|
214 </tr> |
|
215 </table> |
|
216 |
|
217 </td> |
|
218 </tr> |
|
219 <tr class="private"> |
|
220 <td width="15%" align="right" valign="top" class="summary"> |
|
221 <span class="summary-type"> </span> |
|
222 </td><td class="summary"> |
|
223 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
224 <tr> |
|
225 <td><span class="summary-sig"><a name="_buildlayer_target"></a><span class="summary-sig-name">_buildlayer_target</span>(<span class="summary-sig-arg">self</span>, |
|
226 <span class="summary-sig-arg">bl</span>)</span></td> |
|
227 <td align="right" valign="top"> |
|
228 <span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2._buildlayer_target">source code</a></span> |
|
229 |
|
230 </td> |
|
231 </tr> |
|
232 </table> |
|
233 |
|
234 </td> |
|
235 </tr> |
|
236 <tr class="private"> |
|
237 <td width="15%" align="right" valign="top" class="summary"> |
|
238 <span class="summary-type"> </span> |
|
239 </td><td class="summary"> |
|
240 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
241 <tr> |
|
242 <td><span class="summary-sig"><a name="_buildlayer_target_dep"></a><span class="summary-sig-name">_buildlayer_target_dep</span>(<span class="summary-sig-arg">self</span>, |
|
243 <span class="summary-sig-arg">bl</span>)</span><br /> |
|
244 Generating target name for buildlayer: |
|
245 <config_name>-buildLayer-<_buildlayer_target_cmd></td> |
|
246 <td align="right" valign="top"> |
|
247 <span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2._buildlayer_target_dep">source code</a></span> |
|
248 |
|
249 </td> |
|
250 </tr> |
|
251 </table> |
|
252 |
|
253 </td> |
|
254 </tr> |
|
255 <tr> |
|
256 <td colspan="2" class="summary"> |
|
257 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="buildtools.AbstractOutputWriter-class.html">buildtools.AbstractOutputWriter</a></code></b>: |
|
258 <code><a href="buildtools.AbstractOutputWriter-class.html#__call__">__call__</a></code>, |
|
259 <code><a href="buildtools.AbstractOutputWriter-class.html#close">close</a></code>, |
|
260 <code><a href="buildtools.AbstractOutputWriter-class.html#writeTopLevel">writeTopLevel</a></code> |
|
261 </p> |
|
262 </td> |
|
263 </tr> |
|
264 </table> |
|
265 <!-- ==================== METHOD DETAILS ==================== --> |
|
266 <a name="section-MethodDetails"></a> |
|
267 <table class="details" border="1" cellpadding="3" |
|
268 cellspacing="0" width="100%" bgcolor="white"> |
|
269 <tr bgcolor="#70b0f0" class="table-header"> |
|
270 <td colspan="2" class="table-header"> |
|
271 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
272 <tr valign="top"> |
|
273 <td align="left"><span class="table-header">Method Details</span></td> |
|
274 <td align="right" valign="top" |
|
275 ><span class="options">[<a href="#section-MethodDetails" |
|
276 class="privatelink" onclick="toggle_private();" |
|
277 >hide private</a>]</span></td> |
|
278 </tr> |
|
279 </table> |
|
280 </td> |
|
281 </tr> |
|
282 </table> |
|
283 <a name="__init__"></a> |
|
284 <div> |
|
285 <table class="details" border="1" cellpadding="3" |
|
286 cellspacing="0" width="100%" bgcolor="white"> |
|
287 <tr><td> |
|
288 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
289 <tr valign="top"><td> |
|
290 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, |
|
291 <span class="sig-arg">output</span>)</span> |
|
292 <br /><em class="fname">(Constructor)</em> |
|
293 </h3> |
|
294 </td><td align="right" valign="top" |
|
295 ><span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2.__init__">source code</a></span> |
|
296 </td> |
|
297 </table> |
|
298 |
|
299 |
|
300 <dl class="fields"> |
|
301 <dt>Overrides: |
|
302 <a href="buildtools.AbstractOutputWriter-class.html#__init__">buildtools.AbstractOutputWriter.__init__</a> |
|
303 </dt> |
|
304 </dl> |
|
305 </td></tr></table> |
|
306 </div> |
|
307 <a name="write"></a> |
|
308 <div> |
|
309 <table class="details" border="1" cellpadding="3" |
|
310 cellspacing="0" width="100%" bgcolor="white"> |
|
311 <tr><td> |
|
312 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
313 <tr valign="top"><td> |
|
314 <h3 class="epydoc"><span class="sig"><span class="sig-name">write</span>(<span class="sig-arg">self</span>, |
|
315 <span class="sig-arg">sdf</span>)</span> |
|
316 </h3> |
|
317 </td><td align="right" valign="top" |
|
318 ><span class="codelink"><a href="sysdef.io-pysrc.html#MakeWriter2.write">source code</a></span> |
|
319 </td> |
|
320 </table> |
|
321 |
|
322 Method to override to implement format specific output. |
|
323 <dl class="fields"> |
|
324 <dt>Overrides: |
|
325 <a href="buildtools.AbstractOutputWriter-class.html#write">buildtools.AbstractOutputWriter.write</a> |
|
326 <dd><em class="note">(inherited documentation)</em></dd> |
|
327 </dt> |
|
328 </dl> |
|
329 </td></tr></table> |
|
330 </div> |
|
331 <br /> |
|
332 <!-- ==================== NAVIGATION BAR ==================== --> |
|
333 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
334 bgcolor="#a0c0ff" cellspacing="0"> |
|
335 <tr valign="middle"> |
|
336 |
|
337 <!-- Tree link --> |
|
338 <th> <a |
|
339 href="module-tree.html">Trees</a> </th> |
|
340 |
|
341 <!-- Index link --> |
|
342 <th> <a |
|
343 href="identifier-index.html">Indices</a> </th> |
|
344 |
|
345 <!-- Help link --> |
|
346 <th> <a |
|
347 href="help.html">Help</a> </th> |
|
348 |
|
349 <th class="navbar" width="100%"></th> |
|
350 </tr> |
|
351 </table> |
|
352 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
353 <tr> |
|
354 <td align="left" class="footer"> |
|
355 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:19 2009 |
|
356 </td> |
|
357 <td align="right" class="footer"> |
|
358 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
359 </td> |
|
360 </tr> |
|
361 </table> |
|
362 |
|
363 <script type="text/javascript"> |
|
364 <!-- |
|
365 // Private objects are initially displayed (because if |
|
366 // javascript is turned off then we want them to be |
|
367 // visible); but by default, we want to hide them. So hide |
|
368 // them unless we have a cookie that says to show them. |
|
369 checkCookie() |
|
370 // --> |
|
371 </script> |
|
372 |
|
373 </body> |
|
374 </html> |