|
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.AbstractSession</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 AbstractSession |
|
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.AbstractSession-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 AbstractSession</h1><span class="codelink"><a href="ccm-pysrc.html#AbstractSession">source code</a></span><br /><br /> |
|
56 <pre class="base-tree"> |
|
57 object --+ |
|
58 | |
|
59 <strong class="uidshort">AbstractSession</strong> |
|
60 </pre> |
|
61 |
|
62 <hr /> |
|
63 <p>An abstract Synergy session.</p> |
|
64 <p>Must be overridden to implement either a single session or |
|
65 multiple session handling.</p><br /><br /> |
|
66 |
|
67 <!-- ==================== INSTANCE METHODS ==================== --> |
|
68 <a name="section-InstanceMethods"></a> |
|
69 <table class="summary" border="1" cellpadding="3" |
|
70 cellspacing="0" width="100%" bgcolor="white"> |
|
71 <tr bgcolor="#70b0f0" class="table-header"> |
|
72 <td colspan="2" class="table-header"> |
|
73 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
74 <tr valign="top"> |
|
75 <td align="left"><span class="table-header">Instance Methods</span></td> |
|
76 <td align="right" valign="top" |
|
77 ><span class="options">[<a href="#section-InstanceMethods" |
|
78 class="privatelink" onclick="toggle_private();" |
|
79 >hide private</a>]</span></td> |
|
80 </tr> |
|
81 </table> |
|
82 </td> |
|
83 </tr> |
|
84 <tr> |
|
85 <td width="15%" align="right" valign="top" class="summary"> |
|
86 <span class="summary-type"> </span> |
|
87 </td><td class="summary"> |
|
88 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
89 <tr> |
|
90 <td><span class="summary-sig"><a href="ccm.AbstractSession-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, |
|
91 <span class="summary-sig-arg">username</span>, |
|
92 <span class="summary-sig-arg">engine</span>, |
|
93 <span class="summary-sig-arg">dbpath</span>, |
|
94 <span class="summary-sig-arg">ccm_addr</span>)</span><br /> |
|
95 x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td> |
|
96 <td align="right" valign="top"> |
|
97 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.__init__">source code</a></span> |
|
98 |
|
99 </td> |
|
100 </tr> |
|
101 </table> |
|
102 |
|
103 </td> |
|
104 </tr> |
|
105 <tr> |
|
106 <td width="15%" align="right" valign="top" class="summary"> |
|
107 <span class="summary-type"> </span> |
|
108 </td><td class="summary"> |
|
109 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
110 <tr> |
|
111 <td><span class="summary-sig"><a name="addr"></a><span class="summary-sig-name">addr</span>(<span class="summary-sig-arg">self</span>)</span><br /> |
|
112 Returns the Synergy session id.</td> |
|
113 <td align="right" valign="top"> |
|
114 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.addr">source code</a></span> |
|
115 |
|
116 </td> |
|
117 </tr> |
|
118 </table> |
|
119 |
|
120 </td> |
|
121 </tr> |
|
122 <tr> |
|
123 <td width="15%" align="right" valign="top" class="summary"> |
|
124 <span class="summary-type"> </span> |
|
125 </td><td class="summary"> |
|
126 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
127 <tr> |
|
128 <td><span class="summary-sig"><a name="database"></a><span class="summary-sig-name">database</span>(<span class="summary-sig-arg">self</span>)</span></td> |
|
129 <td align="right" valign="top"> |
|
130 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.database">source code</a></span> |
|
131 |
|
132 </td> |
|
133 </tr> |
|
134 </table> |
|
135 |
|
136 </td> |
|
137 </tr> |
|
138 <tr class="private"> |
|
139 <td width="15%" align="right" valign="top" class="summary"> |
|
140 <span class="summary-type"> </span> |
|
141 </td><td class="summary"> |
|
142 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
143 <tr> |
|
144 <td><span class="summary-sig"><a name="__find_dbpath"></a><span class="summary-sig-name">__find_dbpath</span>(<span class="summary-sig-arg">self</span>)</span><br /> |
|
145 retrieve the database path from current session status.</td> |
|
146 <td align="right" valign="top"> |
|
147 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.__find_dbpath">source code</a></span> |
|
148 |
|
149 </td> |
|
150 </tr> |
|
151 </table> |
|
152 |
|
153 </td> |
|
154 </tr> |
|
155 <tr> |
|
156 <td width="15%" align="right" valign="top" class="summary"> |
|
157 <span class="summary-type"> </span> |
|
158 </td><td class="summary"> |
|
159 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
160 <tr> |
|
161 <td><span class="summary-sig"><a name="execute"></a><span class="summary-sig-name">execute</span>(<span class="summary-sig-arg">self</span>, |
|
162 <span class="summary-sig-arg">_</span>, |
|
163 <span class="summary-sig-arg">result</span>=<span class="summary-sig-default">None</span>)</span><br /> |
|
164 Abstract function that should implement the execution of ccm command |
|
165 line call.</td> |
|
166 <td align="right" valign="top"> |
|
167 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.execute">source code</a></span> |
|
168 |
|
169 </td> |
|
170 </tr> |
|
171 </table> |
|
172 |
|
173 </td> |
|
174 </tr> |
|
175 <tr> |
|
176 <td width="15%" align="right" valign="top" class="summary"> |
|
177 <span class="summary-type"> </span> |
|
178 </td><td class="summary"> |
|
179 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
180 <tr> |
|
181 <td><span class="summary-sig"><a href="ccm.AbstractSession-class.html#create" class="summary-sig-name">create</a>(<span class="summary-sig-arg">self</span>, |
|
182 <span class="summary-sig-arg">fpn</span>)</span><br /> |
|
183 Object factory, this is the toolkit entry point to create objects from |
|
184 four part names.</td> |
|
185 <td align="right" valign="top"> |
|
186 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.create">source code</a></span> |
|
187 |
|
188 </td> |
|
189 </tr> |
|
190 </table> |
|
191 |
|
192 </td> |
|
193 </tr> |
|
194 <tr> |
|
195 <td width="15%" align="right" valign="top" class="summary"> |
|
196 <span class="summary-type"> </span> |
|
197 </td><td class="summary"> |
|
198 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
199 <tr> |
|
200 <td><span class="summary-sig"><a name="get_workarea_info"></a><span class="summary-sig-name">get_workarea_info</span>(<span class="summary-sig-arg">self</span>, |
|
201 <span class="summary-sig-arg">dir_</span>)</span><br /> |
|
202 Return a dictionary containing workarea info from directory dir.</td> |
|
203 <td align="right" valign="top"> |
|
204 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.get_workarea_info">source code</a></span> |
|
205 |
|
206 </td> |
|
207 </tr> |
|
208 </table> |
|
209 |
|
210 </td> |
|
211 </tr> |
|
212 <tr class="private"> |
|
213 <td width="15%" align="right" valign="top" class="summary"> |
|
214 <span class="summary-type"> </span> |
|
215 </td><td class="summary"> |
|
216 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
217 <tr> |
|
218 <td><span class="summary-sig"><a name="_get_role"></a><span class="summary-sig-name">_get_role</span>(<span class="summary-sig-arg">self</span>)</span></td> |
|
219 <td align="right" valign="top"> |
|
220 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession._get_role">source code</a></span> |
|
221 |
|
222 </td> |
|
223 </tr> |
|
224 </table> |
|
225 |
|
226 </td> |
|
227 </tr> |
|
228 <tr class="private"> |
|
229 <td width="15%" align="right" valign="top" class="summary"> |
|
230 <span class="summary-type"> </span> |
|
231 </td><td class="summary"> |
|
232 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
233 <tr> |
|
234 <td><span class="summary-sig"><a name="_set_role_internal"></a><span class="summary-sig-name">_set_role_internal</span>(<span class="summary-sig-arg">self</span>, |
|
235 <span class="summary-sig-arg">role</span>)</span><br /> |
|
236 method to be override by child class else property accession is not working properly.</td> |
|
237 <td align="right" valign="top"> |
|
238 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession._set_role_internal">source code</a></span> |
|
239 |
|
240 </td> |
|
241 </tr> |
|
242 </table> |
|
243 |
|
244 </td> |
|
245 </tr> |
|
246 <tr class="private"> |
|
247 <td width="15%" align="right" valign="top" class="summary"> |
|
248 <span class="summary-type"> </span> |
|
249 </td><td class="summary"> |
|
250 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
251 <tr> |
|
252 <td><span class="summary-sig"><a name="_set_role"></a><span class="summary-sig-name">_set_role</span>(<span class="summary-sig-arg">self</span>, |
|
253 <span class="summary-sig-arg">role</span>)</span></td> |
|
254 <td align="right" valign="top"> |
|
255 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession._set_role">source code</a></span> |
|
256 |
|
257 </td> |
|
258 </tr> |
|
259 </table> |
|
260 |
|
261 </td> |
|
262 </tr> |
|
263 <tr class="private"> |
|
264 <td width="15%" align="right" valign="top" class="summary"> |
|
265 <span class="summary-type"> </span> |
|
266 </td><td class="summary"> |
|
267 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
268 <tr> |
|
269 <td><span class="summary-sig"><a name="_get_home"></a><span class="summary-sig-name">_get_home</span>(<span class="summary-sig-arg">self</span>)</span></td> |
|
270 <td align="right" valign="top"> |
|
271 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession._get_home">source code</a></span> |
|
272 |
|
273 </td> |
|
274 </tr> |
|
275 </table> |
|
276 |
|
277 </td> |
|
278 </tr> |
|
279 <tr class="private"> |
|
280 <td width="15%" align="right" valign="top" class="summary"> |
|
281 <span class="summary-type"> </span> |
|
282 </td><td class="summary"> |
|
283 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
284 <tr> |
|
285 <td><span class="summary-sig"><a name="_set_home"></a><span class="summary-sig-name">_set_home</span>(<span class="summary-sig-arg">self</span>, |
|
286 <span class="summary-sig-arg">home</span>)</span></td> |
|
287 <td align="right" valign="top"> |
|
288 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession._set_home">source code</a></span> |
|
289 |
|
290 </td> |
|
291 </tr> |
|
292 </table> |
|
293 |
|
294 </td> |
|
295 </tr> |
|
296 <tr> |
|
297 <td width="15%" align="right" valign="top" class="summary"> |
|
298 <span class="summary-type"> </span> |
|
299 </td><td class="summary"> |
|
300 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
301 <tr> |
|
302 <td><span class="summary-sig"><a name="close"></a><span class="summary-sig-name">close</span>(<span class="summary-sig-arg">self</span>)</span></td> |
|
303 <td align="right" valign="top"> |
|
304 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.close">source code</a></span> |
|
305 |
|
306 </td> |
|
307 </tr> |
|
308 </table> |
|
309 |
|
310 </td> |
|
311 </tr> |
|
312 <tr> |
|
313 <td width="15%" align="right" valign="top" class="summary"> |
|
314 <span class="summary-type"> </span> |
|
315 </td><td class="summary"> |
|
316 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
317 <tr> |
|
318 <td><span class="summary-sig"><a href="ccm.AbstractSession-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br /> |
|
319 str(x)</td> |
|
320 <td align="right" valign="top"> |
|
321 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.__str__">source code</a></span> |
|
322 |
|
323 </td> |
|
324 </tr> |
|
325 </table> |
|
326 |
|
327 </td> |
|
328 </tr> |
|
329 <tr> |
|
330 <td width="15%" align="right" valign="top" class="summary"> |
|
331 <span class="summary-type"> </span> |
|
332 </td><td class="summary"> |
|
333 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
334 <tr> |
|
335 <td><span class="summary-sig"><a href="ccm.AbstractSession-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> |
|
336 repr(x)</td> |
|
337 <td align="right" valign="top"> |
|
338 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.__repr__">source code</a></span> |
|
339 |
|
340 </td> |
|
341 </tr> |
|
342 </table> |
|
343 |
|
344 </td> |
|
345 </tr> |
|
346 <tr> |
|
347 <td width="15%" align="right" valign="top" class="summary"> |
|
348 <span class="summary-type"> </span> |
|
349 </td><td class="summary"> |
|
350 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
351 <tr> |
|
352 <td><span class="summary-sig"><a name="__del__"></a><span class="summary-sig-name">__del__</span>(<span class="summary-sig-arg">self</span>)</span></td> |
|
353 <td align="right" valign="top"> |
|
354 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.__del__">source code</a></span> |
|
355 |
|
356 </td> |
|
357 </tr> |
|
358 </table> |
|
359 |
|
360 </td> |
|
361 </tr> |
|
362 <tr> |
|
363 <td width="15%" align="right" valign="top" class="summary"> |
|
364 <span class="summary-type"> </span> |
|
365 </td><td class="summary"> |
|
366 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
367 <tr> |
|
368 <td><span class="summary-sig"><a name="purposes"></a><span class="summary-sig-name">purposes</span>(<span class="summary-sig-arg">self</span>, |
|
369 <span class="summary-sig-arg">role</span>=<span class="summary-sig-default">None</span>)</span><br /> |
|
370 Returns available purposes.</td> |
|
371 <td align="right" valign="top"> |
|
372 <span class="codelink"><a href="ccm-pysrc.html#AbstractSession.purposes">source code</a></span> |
|
373 |
|
374 </td> |
|
375 </tr> |
|
376 </table> |
|
377 |
|
378 </td> |
|
379 </tr> |
|
380 <tr> |
|
381 <td colspan="2" class="summary"> |
|
382 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
383 <code>__delattr__</code>, |
|
384 <code>__getattribute__</code>, |
|
385 <code>__hash__</code>, |
|
386 <code>__new__</code>, |
|
387 <code>__reduce__</code>, |
|
388 <code>__reduce_ex__</code>, |
|
389 <code>__setattr__</code> |
|
390 </p> |
|
391 </td> |
|
392 </tr> |
|
393 </table> |
|
394 <!-- ==================== CLASS VARIABLES ==================== --> |
|
395 <a name="section-ClassVariables"></a> |
|
396 <table class="summary" border="1" cellpadding="3" |
|
397 cellspacing="0" width="100%" bgcolor="white"> |
|
398 <tr bgcolor="#70b0f0" class="table-header"> |
|
399 <td colspan="2" class="table-header"> |
|
400 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
401 <tr valign="top"> |
|
402 <td align="left"><span class="table-header">Class Variables</span></td> |
|
403 <td align="right" valign="top" |
|
404 ><span class="options">[<a href="#section-ClassVariables" |
|
405 class="privatelink" onclick="toggle_private();" |
|
406 >hide private</a>]</span></td> |
|
407 </tr> |
|
408 </table> |
|
409 </td> |
|
410 </tr> |
|
411 <tr> |
|
412 <td width="15%" align="right" valign="top" class="summary"> |
|
413 <span class="summary-type"> </span> |
|
414 </td><td class="summary"> |
|
415 <a name="role"></a><span class="summary-name">role</span> = <code title="property(fget= _get_role, fset= _set_role)">property(fget= _get_role, fset= _set_role)</code> |
|
416 </td> |
|
417 </tr> |
|
418 <tr> |
|
419 <td width="15%" align="right" valign="top" class="summary"> |
|
420 <span class="summary-type"> </span> |
|
421 </td><td class="summary"> |
|
422 <a name="home"></a><span class="summary-name">home</span> = <code title="property(_get_home, _set_home)">property(_get_home, _set_home)</code> |
|
423 </td> |
|
424 </tr> |
|
425 </table> |
|
426 <!-- ==================== PROPERTIES ==================== --> |
|
427 <a name="section-Properties"></a> |
|
428 <table class="summary" border="1" cellpadding="3" |
|
429 cellspacing="0" width="100%" bgcolor="white"> |
|
430 <tr bgcolor="#70b0f0" class="table-header"> |
|
431 <td colspan="2" class="table-header"> |
|
432 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
433 <tr valign="top"> |
|
434 <td align="left"><span class="table-header">Properties</span></td> |
|
435 <td align="right" valign="top" |
|
436 ><span class="options">[<a href="#section-Properties" |
|
437 class="privatelink" onclick="toggle_private();" |
|
438 >hide private</a>]</span></td> |
|
439 </tr> |
|
440 </table> |
|
441 </td> |
|
442 </tr> |
|
443 <tr> |
|
444 <td colspan="2" class="summary"> |
|
445 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: |
|
446 <code>__class__</code> |
|
447 </p> |
|
448 </td> |
|
449 </tr> |
|
450 </table> |
|
451 <!-- ==================== METHOD DETAILS ==================== --> |
|
452 <a name="section-MethodDetails"></a> |
|
453 <table class="details" border="1" cellpadding="3" |
|
454 cellspacing="0" width="100%" bgcolor="white"> |
|
455 <tr bgcolor="#70b0f0" class="table-header"> |
|
456 <td colspan="2" class="table-header"> |
|
457 <table border="0" cellpadding="0" cellspacing="0" width="100%"> |
|
458 <tr valign="top"> |
|
459 <td align="left"><span class="table-header">Method Details</span></td> |
|
460 <td align="right" valign="top" |
|
461 ><span class="options">[<a href="#section-MethodDetails" |
|
462 class="privatelink" onclick="toggle_private();" |
|
463 >hide private</a>]</span></td> |
|
464 </tr> |
|
465 </table> |
|
466 </td> |
|
467 </tr> |
|
468 </table> |
|
469 <a name="__init__"></a> |
|
470 <div> |
|
471 <table class="details" border="1" cellpadding="3" |
|
472 cellspacing="0" width="100%" bgcolor="white"> |
|
473 <tr><td> |
|
474 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
475 <tr valign="top"><td> |
|
476 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, |
|
477 <span class="sig-arg">username</span>, |
|
478 <span class="sig-arg">engine</span>, |
|
479 <span class="sig-arg">dbpath</span>, |
|
480 <span class="sig-arg">ccm_addr</span>)</span> |
|
481 <br /><em class="fname">(Constructor)</em> |
|
482 </h3> |
|
483 </td><td align="right" valign="top" |
|
484 ><span class="codelink"><a href="ccm-pysrc.html#AbstractSession.__init__">source code</a></span> |
|
485 </td> |
|
486 </table> |
|
487 |
|
488 x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
489 <dl class="fields"> |
|
490 <dt>Overrides: |
|
491 object.__init__ |
|
492 <dd><em class="note">(inherited documentation)</em></dd> |
|
493 </dt> |
|
494 </dl> |
|
495 </td></tr></table> |
|
496 </div> |
|
497 <a name="create"></a> |
|
498 <div> |
|
499 <table class="details" border="1" cellpadding="3" |
|
500 cellspacing="0" width="100%" bgcolor="white"> |
|
501 <tr><td> |
|
502 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
503 <tr valign="top"><td> |
|
504 <h3 class="epydoc"><span class="sig"><span class="sig-name">create</span>(<span class="sig-arg">self</span>, |
|
505 <span class="sig-arg">fpn</span>)</span> |
|
506 </h3> |
|
507 </td><td align="right" valign="top" |
|
508 ><span class="codelink"><a href="ccm-pysrc.html#AbstractSession.create">source code</a></span> |
|
509 </td> |
|
510 </table> |
|
511 |
|
512 Object factory, this is the toolkit entry point to create objects from |
|
513 four part names. Objects are stored into a dictionary, so you have |
|
514 only one wrapper per synergy object. |
|
515 <dl class="fields"> |
|
516 </dl> |
|
517 </td></tr></table> |
|
518 </div> |
|
519 <a name="__str__"></a> |
|
520 <div> |
|
521 <table class="details" border="1" cellpadding="3" |
|
522 cellspacing="0" width="100%" bgcolor="white"> |
|
523 <tr><td> |
|
524 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
525 <tr valign="top"><td> |
|
526 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> |
|
527 <br /><em class="fname">(Informal representation operator)</em> |
|
528 </h3> |
|
529 </td><td align="right" valign="top" |
|
530 ><span class="codelink"><a href="ccm-pysrc.html#AbstractSession.__str__">source code</a></span> |
|
531 </td> |
|
532 </table> |
|
533 |
|
534 str(x) |
|
535 <dl class="fields"> |
|
536 <dt>Overrides: |
|
537 object.__str__ |
|
538 <dd><em class="note">(inherited documentation)</em></dd> |
|
539 </dt> |
|
540 </dl> |
|
541 </td></tr></table> |
|
542 </div> |
|
543 <a name="__repr__"></a> |
|
544 <div> |
|
545 <table class="details" border="1" cellpadding="3" |
|
546 cellspacing="0" width="100%" bgcolor="white"> |
|
547 <tr><td> |
|
548 <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
|
549 <tr valign="top"><td> |
|
550 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> |
|
551 <br /><em class="fname">(Representation operator)</em> |
|
552 </h3> |
|
553 </td><td align="right" valign="top" |
|
554 ><span class="codelink"><a href="ccm-pysrc.html#AbstractSession.__repr__">source code</a></span> |
|
555 </td> |
|
556 </table> |
|
557 |
|
558 repr(x) |
|
559 <dl class="fields"> |
|
560 <dt>Overrides: |
|
561 object.__repr__ |
|
562 <dd><em class="note">(inherited documentation)</em></dd> |
|
563 </dt> |
|
564 </dl> |
|
565 </td></tr></table> |
|
566 </div> |
|
567 <br /> |
|
568 <!-- ==================== NAVIGATION BAR ==================== --> |
|
569 <table class="navbar" border="0" width="100%" cellpadding="0" |
|
570 bgcolor="#a0c0ff" cellspacing="0"> |
|
571 <tr valign="middle"> |
|
572 |
|
573 <!-- Tree link --> |
|
574 <th> <a |
|
575 href="module-tree.html">Trees</a> </th> |
|
576 |
|
577 <!-- Index link --> |
|
578 <th> <a |
|
579 href="identifier-index.html">Indices</a> </th> |
|
580 |
|
581 <!-- Help link --> |
|
582 <th> <a |
|
583 href="help.html">Help</a> </th> |
|
584 |
|
585 <th class="navbar" width="100%"></th> |
|
586 </tr> |
|
587 </table> |
|
588 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> |
|
589 <tr> |
|
590 <td align="left" class="footer"> |
|
591 Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:17 2009 |
|
592 </td> |
|
593 <td align="right" class="footer"> |
|
594 <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> |
|
595 </td> |
|
596 </tr> |
|
597 </table> |
|
598 |
|
599 <script type="text/javascript"> |
|
600 <!-- |
|
601 // Private objects are initially displayed (because if |
|
602 // javascript is turned off then we want them to be |
|
603 // visible); but by default, we want to hide them. So hide |
|
604 // them unless we have a cookie that says to show them. |
|
605 checkCookie() |
|
606 // --> |
|
607 </script> |
|
608 |
|
609 </body> |
|
610 </html> |