|
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>ccm.Result</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="ccm-module.html">Package ccm</a> :: |
|
38 Class Result |
|
39 </span> |
|
40 </td> |
|
41 <td> |
|
42 <table cellpadding="0" cellspacing="0"> |
|
43 <!-- hide/show private --> |
|
44 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" |
|
45 onclick="toggle_private();">hide private</a>]</span></td></tr> |
|
46 <tr><td align="right"><span class="options" |
|
47 >[<a href="frames.html" target="_top">frames</a |
|
48 >] | <a href="ccm.Result-class.html" |
|
49 target="_top">no frames</a>]</span></td></tr> |
|
50 </table> |
|
51 </td> |
|
52 </tr> |
|
53 </table> |
|
54 <!-- ==================== CLASS DESCRIPTION ==================== --> |
|
55 <h1 class="epydoc">Class Result</h1><span class="codelink"><a href="ccm-pysrc.html#Result">source code</a></span><br /><br /> |
|
56 <pre class="base-tree"> |
|
57 object --+ |
|
58 | |
|
59 <strong class="uidshort">Result</strong> |
|
60 </pre> |
|
61 |
|
62 <hr /> |
|
63 <p>Class that abstracts ccm call result handling.</p> |
|
64 <p>Subclass it to implement a new generic output parser.</p><br /><br /> |
|
65 |
|
66 <!-- ==================== INSTANCE METHODS ==================== --> |
|
67 <a name="section-InstanceMethods"></a> |
|
68 <table class="summary" border="1" cellpadding="3" |
|
69 cellspacing="0" width="100%" bgcolor="white"> |
|
70 <tr bgcolor="#70b0f0" class="table-header"> |
|
71 <td colspan="2" class="table-header"> |
|
72 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
73 <tr valign="top"> |
|
74 <td align="left"><span class="table-header">Instance Methods</span></td> |
|
75 <td align="right" valign="top" |
|
76 ><span class="options">[<a href="#section-InstanceMethods" |
|
77 class="privatelink" onclick="toggle_private();" |
|
78 >hide private</a>]</span></td> |
|
79 </tr> |
|
80 </table> |
|
81 </td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td width="15%" align="right" valign="top" class="summary"> |
|
85 <span class="summary-type"> </span> |
|
86 </td><td class="summary"> |
|
87 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
88 <tr> |
|
89 <td><span class="summary-sig"><a href="ccm.Result-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, |
|
90 <span class="summary-sig-arg">session</span>)</span><br /> |
|
91 x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td> |
|
92 <td align="right" valign="top"> |
|
93 <span class="codelink"><a href="ccm-pysrc.html#Result.__init__">source code</a></span> |
|
94 |
|
95 </td> |
|
96 </tr> |
|
97 </table> |
|
98 |
|
99 </td> |
|
100 </tr> |
|
101 <tr class="private"> |
|
102 <td width="15%" align="right" valign="top" class="summary"> |
|
103 <span class="summary-type"> </span> |
|
104 </td><td class="summary"> |
|
105 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
106 <tr> |
|
107 <td><span class="summary-sig"><a name="_setoutput"></a><span class="summary-sig-name">_setoutput</span>(<span class="summary-sig-arg">self</span>, |
|
108 <span class="summary-sig-arg">output</span>)</span></td> |
|
109 <td align="right" valign="top"> |
|
110 <span class="codelink"><a href="ccm-pysrc.html#Result._setoutput">source code</a></span> |
|
111 |
|
112 </td> |
|
113 </tr> |
|
114 </table> |
|
115 |
|
116 </td> |
|
117 </tr> |
|
118 <tr class="private"> |
|
119 <td width="15%" align="right" valign="top" class="summary"> |
|
120 <span class="summary-type"> </span> |
|
121 </td><td class="summary"> |
|
122 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
123 <tr> |
|
124 <td><span class="summary-sig"><a name="__setoutput"></a><span class="summary-sig-name">__setoutput</span>(<span class="summary-sig-arg">self</span>, |
|
125 <span class="summary-sig-arg">output</span>)</span><br /> |
|
126 Internal function to allow overloading, you must override _setoutput.</td> |
|
127 <td align="right" valign="top"> |
|
128 <span class="codelink"><a href="ccm-pysrc.html#Result.__setoutput">source code</a></span> |
|
129 |
|
130 </td> |
|
131 </tr> |
|
132 </table> |
|
133 |
|
134 </td> |
|
135 </tr> |
|
136 <tr class="private"> |
|
137 <td width="15%" align="right" valign="top" class="summary"> |
|
138 <span class="summary-type"> </span> |
|
139 </td><td class="summary"> |
|
140 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
141 <tr> |
|
142 <td><span class="summary-sig"><a name="_getoutput"></a><span class="summary-sig-name">_getoutput</span>(<span class="summary-sig-arg">self</span>)</span><br /> |
|
143 Returns the content of _output.</td> |
|
144 <td align="right" valign="top"> |
|
145 <span class="codelink"><a href="ccm-pysrc.html#Result._getoutput">source code</a></span> |
|
146 |
|
147 </td> |
|
148 </tr> |
|
149 </table> |
|
150 |
|
151 </td> |
|
152 </tr> |
|
153 <tr> |
|
154 <td width="15%" align="right" valign="top" class="summary"> |
|
155 <span class="summary-type"> </span> |
|
156 </td><td class="summary"> |
|
157 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
158 <tr> |
|
159 <td><span class="summary-sig"><a href="ccm.Result-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br /> |
|
160 Synergy output log.</td> |
|
161 <td align="right" valign="top"> |
|
162 <span class="codelink"><a href="ccm-pysrc.html#Result.__str__">source code</a></span> |
|
163 |
|
164 </td> |
|
165 </tr> |
|
166 </table> |
|
167 |
|
168 </td> |
|
169 </tr> |
|
170 <tr> |
|
171 <td colspan="2" class="summary"> |
|
172 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
173 <code>__delattr__</code>, |
|
174 <code>__getattribute__</code>, |
|
175 <code>__hash__</code>, |
|
176 <code>__new__</code>, |
|
177 <code>__reduce__</code>, |
|
178 <code>__reduce_ex__</code>, |
|
179 <code>__repr__</code>, |
|
180 <code>__setattr__</code> |
|
181 </p> |
|
182 </td> |
|
183 </tr> |
|
184 </table> |
|
185 <!-- ==================== CLASS VARIABLES ==================== --> |
|
186 <a name="section-ClassVariables"></a> |
|
187 <table class="summary" border="1" cellpadding="3" |
|
188 cellspacing="0" width="100%" bgcolor="white"> |
|
189 <tr bgcolor="#70b0f0" class="table-header"> |
|
190 <td colspan="2" class="table-header"> |
|
191 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
192 <tr valign="top"> |
|
193 <td align="left"><span class="table-header">Class Variables</span></td> |
|
194 <td align="right" valign="top" |
|
195 ><span class="options">[<a href="#section-ClassVariables" |
|
196 class="privatelink" onclick="toggle_private();" |
|
197 >hide private</a>]</span></td> |
|
198 </tr> |
|
199 </table> |
|
200 </td> |
|
201 </tr> |
|
202 <tr> |
|
203 <td width="15%" align="right" valign="top" class="summary"> |
|
204 <span class="summary-type"> </span> |
|
205 </td><td class="summary"> |
|
206 <a name="output"></a><span class="summary-name">output</span> = <code title="property(_getoutput, __setoutput)">property(_getoutput, __setoutput)</code> |
|
207 </td> |
|
208 </tr> |
|
209 </table> |
|
210 <!-- ==================== PROPERTIES ==================== --> |
|
211 <a name="section-Properties"></a> |
|
212 <table class="summary" border="1" cellpadding="3" |
|
213 cellspacing="0" width="100%" bgcolor="white"> |
|
214 <tr bgcolor="#70b0f0" class="table-header"> |
|
215 <td colspan="2" class="table-header"> |
|
216 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
217 <tr valign="top"> |
|
218 <td align="left"><span class="table-header">Properties</span></td> |
|
219 <td align="right" valign="top" |
|
220 ><span class="options">[<a href="#section-Properties" |
|
221 class="privatelink" onclick="toggle_private();" |
|
222 >hide private</a>]</span></td> |
|
223 </tr> |
|
224 </table> |
|
225 </td> |
|
226 </tr> |
|
227 <tr> |
|
228 <td colspan="2" class="summary"> |
|
229 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
230 <code>__class__</code> |
|
231 </p> |
|
232 </td> |
|
233 </tr> |
|
234 </table> |
|
235 <!-- ==================== METHOD DETAILS ==================== --> |
|
236 <a name="section-MethodDetails"></a> |
|
237 <table class="details" border="1" cellpadding="3" |
|
238 cellspacing="0" width="100%" bgcolor="white"> |
|
239 <tr bgcolor="#70b0f0" class="table-header"> |
|
240 <td colspan="2" class="table-header"> |
|
241 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
242 <tr valign="top"> |
|
243 <td align="left"><span class="table-header">Method Details</span></td> |
|
244 <td align="right" valign="top" |
|
245 ><span class="options">[<a href="#section-MethodDetails" |
|
246 class="privatelink" onclick="toggle_private();" |
|
247 >hide private</a>]</span></td> |
|
248 </tr> |
|
249 </table> |
|
250 </td> |
|
251 </tr> |
|
252 </table> |
|
253 <a name="__init__"></a> |
|
254 <div> |
|
255 <table class="details" border="1" cellpadding="3" |
|
256 cellspacing="0" width="100%" bgcolor="white"> |
|
257 <tr><td> |
|
258 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
259 <tr valign="top"><td> |
|
260 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, |
|
261 <span class="sig-arg">session</span>)</span> |
|
262 <br /><em class="fname">(Constructor)</em> |
|
263 </h3> |
|
264 </td><td align="right" valign="top" |
|
265 ><span class="codelink"><a href="ccm-pysrc.html#Result.__init__">source code</a></span> |
|
266 </td> |
|
267 </table> |
|
268 |
|
269 x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
270 <dl class="fields"> |
|
271 <dt>Overrides: |
|
272 object.__init__ |
|
273 <dd><em class="note">(inherited documentation)</em></dd> |
|
274 </dt> |
|
275 </dl> |
|
276 </td></tr></table> |
|
277 </div> |
|
278 <a name="__str__"></a> |
|
279 <div> |
|
280 <table class="details" border="1" cellpadding="3" |
|
281 cellspacing="0" width="100%" bgcolor="white"> |
|
282 <tr><td> |
|
283 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
284 <tr valign="top"><td> |
|
285 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> |
|
286 <br /><em class="fname">(Informal representation operator)</em> |
|
287 </h3> |
|
288 </td><td align="right" valign="top" |
|
289 ><span class="codelink"><a href="ccm-pysrc.html#Result.__str__">source code</a></span> |
|
290 </td> |
|
291 </table> |
|
292 |
|
293 Synergy output log. |
|
294 <dl class="fields"> |
|
295 <dt>Overrides: |
|
296 object.__str__ |
|
297 </dt> |
|
298 </dl> |
|
299 </td></tr></table> |
|
300 </div> |
|
301 <br /> |
|
302 <!-- ==================== NAVIGATION BAR ==================== --> |
|
303 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
304 bgcolor="#a0c0ff" cellspacing="0"> |
|
305 <tr valign="middle"> |
|
306 |
|
307 <!-- Tree link --> |
|
308 <th> <a |
|
309 href="module-tree.html">Trees</a> </th> |
|
310 |
|
311 <!-- Index link --> |
|
312 <th> <a |
|
313 href="identifier-index.html">Indices</a> </th> |
|
314 |
|
315 <!-- Help link --> |
|
316 <th> <a |
|
317 href="help.html">Help</a> </th> |
|
318 |
|
319 <th class="navbar" width="100%"></th> |
|
320 </tr> |
|
321 </table> |
|
322 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
323 <tr> |
|
324 <td align="left" class="footer"> |
|
325 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:18 2009 |
|
326 </td> |
|
327 <td align="right" class="footer"> |
|
328 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
329 </td> |
|
330 </tr> |
|
331 </table> |
|
332 |
|
333 <script type="text/javascript"> |
|
334 <!-- |
|
335 // Private objects are initially displayed (because if |
|
336 // javascript is turned off then we want them to be |
|
337 // visible); but by default, we want to hide them. So hide |
|
338 // them unless we have a cookie that says to show them. |
|
339 checkCookie() |
|
340 // --> |
|
341 </script> |
|
342 |
|
343 </body> |
|
344 </html> |