src/eric7/Documentation/Source/eric7.DebugClients.Python.DebugVariables.html

branch
eric7
changeset 10479
856476537696
parent 10417
c6011e501282
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.DebugClients.Python.DebugVariables</h1> 9 <h1>eric7.DebugClients.Python.DebugVariables</h1>
10
11 <p> 10 <p>
12 Module implementing classes and functions to dump variable contents. 11 Module implementing classes and functions to dump variable contents.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15 15 <table>
16 <table> 16 <tr><td>_MapCount</td></tr>
17 <tr><td>_MapCount</td></tr><tr><td>_TryArray</td></tr><tr><td>_TypeMap</td></tr><tr><td>arrayResolver</td></tr><tr><td>defaultResolver</td></tr><tr><td>dictResolver</td></tr><tr><td>dictViewResolver</td></tr><tr><td>listResolver</td></tr><tr><td>multiValueDictResolver</td></tr><tr><td>ndarrayResolver</td></tr><tr><td>qtResolver</td></tr><tr><td>setResolver</td></tr> 17 <tr><td>_TryArray</td></tr>
18 </table> 18 <tr><td>_TypeMap</td></tr>
19 <tr><td>arrayResolver</td></tr>
20 <tr><td>defaultResolver</td></tr>
21 <tr><td>dictResolver</td></tr>
22 <tr><td>dictViewResolver</td></tr>
23 <tr><td>listResolver</td></tr>
24 <tr><td>multiValueDictResolver</td></tr>
25 <tr><td>ndarrayResolver</td></tr>
26 <tr><td>qtResolver</td></tr>
27 <tr><td>setResolver</td></tr>
28 </table>
29
19 <h3>Classes</h3> 30 <h3>Classes</h3>
20 31 <table>
21 <table>
22
23 <tr> 32 <tr>
24 <td><a href="#ArrayResolver">ArrayResolver</a></td> 33 <td><a href="#ArrayResolver">ArrayResolver</a></td>
25 <td>Class used to resolve from array.array including some meta data.</td> 34 <td>Class used to resolve from array.array including some meta data.</td>
26 </tr> 35 </tr>
27 <tr> 36 <tr>
59 <tr> 68 <tr>
60 <td><a href="#SetResolver">SetResolver</a></td> 69 <td><a href="#SetResolver">SetResolver</a></td>
61 <td>Class used to resolve from a set or frozenset.</td> 70 <td>Class used to resolve from a set or frozenset.</td>
62 </tr> 71 </tr>
63 </table> 72 </table>
73
64 <h3>Functions</h3> 74 <h3>Functions</h3>
65 75 <table>
66 <table>
67
68 <tr> 76 <tr>
69 <td><a href="#_initTypeMap">_initTypeMap</a></td> 77 <td><a href="#_initTypeMap">_initTypeMap</a></td>
70 <td>Protected function to initialize the type map.</td> 78 <td>Protected function to initialize the type map.</td>
71 </tr> 79 </tr>
72 <tr> 80 <tr>
76 <tr> 84 <tr>
77 <td><a href="#updateTypeMap">updateTypeMap</a></td> 85 <td><a href="#updateTypeMap">updateTypeMap</a></td>
78 <td>Public function to update the type map based on module imports.</td> 86 <td>Public function to update the type map based on module imports.</td>
79 </tr> 87 </tr>
80 </table> 88 </table>
89
81 <hr /> 90 <hr />
82 <hr /> 91 <hr />
83 <a NAME="ArrayResolver" ID="ArrayResolver"></a> 92 <a NAME="ArrayResolver" ID="ArrayResolver"></a>
84 <h2>ArrayResolver</h2> 93 <h2>ArrayResolver</h2>
85
86 <p> 94 <p>
87 Class used to resolve from array.array including some meta data. 95 Class used to resolve from array.array including some meta data.
88 </p> 96 </p>
97
89 <h3>Derived from</h3> 98 <h3>Derived from</h3>
90 BaseResolver 99 BaseResolver
91 <h3>Class Attributes</h3> 100 <h3>Class Attributes</h3>
92
93 <table> 101 <table>
94 <tr><td>TypeCodeMap</td></tr> 102 <tr><td>TypeCodeMap</td></tr>
95 </table> 103 </table>
104
96 <h3>Class Methods</h3> 105 <h3>Class Methods</h3>
97 106 <table>
98 <table> 107 <tr><td>None</td></tr>
99 <tr><td>None</td></tr> 108 </table>
100 </table> 109
101 <h3>Methods</h3> 110 <h3>Methods</h3>
102 111 <table>
103 <table>
104
105 <tr> 112 <tr>
106 <td><a href="#ArrayResolver.getVariableList">getVariableList</a></td> 113 <td><a href="#ArrayResolver.getVariableList">getVariableList</a></td>
107 <td>Public method to get the attributes of a variable as a list.</td> 114 <td>Public method to get the attributes of a variable as a list.</td>
108 </tr> 115 </tr>
109 <tr> 116 <tr>
110 <td><a href="#ArrayResolver.resolve">resolve</a></td> 117 <td><a href="#ArrayResolver.resolve">resolve</a></td>
111 <td>Public method to get an attribute from a variable.</td> 118 <td>Public method to get an attribute from a variable.</td>
112 </tr> 119 </tr>
113 </table> 120 </table>
121
114 <h3>Static Methods</h3> 122 <h3>Static Methods</h3>
115 123 <table>
116 <table> 124 <tr><td>None</td></tr>
117 <tr><td>None</td></tr> 125 </table>
118 </table> 126
119 127
120 <a NAME="ArrayResolver.getVariableList" ID="ArrayResolver.getVariableList"></a> 128 <a NAME="ArrayResolver.getVariableList" ID="ArrayResolver.getVariableList"></a>
121 <h4>ArrayResolver.getVariableList</h4> 129 <h4>ArrayResolver.getVariableList</h4>
122 <b>getVariableList</b>(<i>var</i>) 130 <b>getVariableList</b>(<i>var</i>)
123
124 <p> 131 <p>
125 Public method to get the attributes of a variable as a list. 132 Public method to get the attributes of a variable as a list.
126 </p> 133 </p>
134
127 <dl> 135 <dl>
128 136
129 <dt><i>var</i> (Any)</dt> 137 <dt><i>var</i> (Any)</dt>
130 <dd> 138 <dd>
131 variable to be converted 139 variable to be converted
145 </dd> 153 </dd>
146 </dl> 154 </dl>
147 <a NAME="ArrayResolver.resolve" ID="ArrayResolver.resolve"></a> 155 <a NAME="ArrayResolver.resolve" ID="ArrayResolver.resolve"></a>
148 <h4>ArrayResolver.resolve</h4> 156 <h4>ArrayResolver.resolve</h4>
149 <b>resolve</b>(<i>var, attribute</i>) 157 <b>resolve</b>(<i>var, attribute</i>)
150
151 <p> 158 <p>
152 Public method to get an attribute from a variable. 159 Public method to get an attribute from a variable.
153 </p> 160 </p>
161
154 <dl> 162 <dl>
155 163
156 <dt><i>var</i> (array.array)</dt> 164 <dt><i>var</i> (array.array)</dt>
157 <dd> 165 <dd>
158 variable to extract an attribute or value from 166 variable to extract an attribute or value from
177 <div align="right"><a href="#top">Up</a></div> 185 <div align="right"><a href="#top">Up</a></div>
178 <hr /> 186 <hr />
179 <hr /> 187 <hr />
180 <a NAME="BaseResolver" ID="BaseResolver"></a> 188 <a NAME="BaseResolver" ID="BaseResolver"></a>
181 <h2>BaseResolver</h2> 189 <h2>BaseResolver</h2>
182
183 <p> 190 <p>
184 Base class of the resolver class tree. 191 Base class of the resolver class tree.
185 </p> 192 </p>
193
186 <h3>Derived from</h3> 194 <h3>Derived from</h3>
187 None 195 None
188 <h3>Class Attributes</h3> 196 <h3>Class Attributes</h3>
189 197 <table>
190 <table> 198 <tr><td>None</td></tr>
191 <tr><td>None</td></tr> 199 </table>
192 </table> 200
193 <h3>Class Methods</h3> 201 <h3>Class Methods</h3>
194 202 <table>
195 <table> 203 <tr><td>None</td></tr>
196 <tr><td>None</td></tr> 204 </table>
197 </table> 205
198 <h3>Methods</h3> 206 <h3>Methods</h3>
199 207 <table>
200 <table>
201
202 <tr> 208 <tr>
203 <td><a href="#BaseResolver.getVariableList">getVariableList</a></td> 209 <td><a href="#BaseResolver.getVariableList">getVariableList</a></td>
204 <td>Public method to get the attributes of a variable as a list.</td> 210 <td>Public method to get the attributes of a variable as a list.</td>
205 </tr> 211 </tr>
206 <tr> 212 <tr>
207 <td><a href="#BaseResolver.resolve">resolve</a></td> 213 <td><a href="#BaseResolver.resolve">resolve</a></td>
208 <td>Public method to get an attribute from a variable.</td> 214 <td>Public method to get an attribute from a variable.</td>
209 </tr> 215 </tr>
210 </table> 216 </table>
217
211 <h3>Static Methods</h3> 218 <h3>Static Methods</h3>
212 219 <table>
213 <table> 220 <tr><td>None</td></tr>
214 <tr><td>None</td></tr> 221 </table>
215 </table> 222
216 223
217 <a NAME="BaseResolver.getVariableList" ID="BaseResolver.getVariableList"></a> 224 <a NAME="BaseResolver.getVariableList" ID="BaseResolver.getVariableList"></a>
218 <h4>BaseResolver.getVariableList</h4> 225 <h4>BaseResolver.getVariableList</h4>
219 <b>getVariableList</b>(<i>var</i>) 226 <b>getVariableList</b>(<i>var</i>)
220
221 <p> 227 <p>
222 Public method to get the attributes of a variable as a list. 228 Public method to get the attributes of a variable as a list.
223 </p> 229 </p>
230
224 <dl> 231 <dl>
225 232
226 <dt><i>var</i> (Any)</dt> 233 <dt><i>var</i> (Any)</dt>
227 <dd> 234 <dd>
228 variable to be converted 235 variable to be converted
241 </dd> 248 </dd>
242 </dl> 249 </dl>
243 <a NAME="BaseResolver.resolve" ID="BaseResolver.resolve"></a> 250 <a NAME="BaseResolver.resolve" ID="BaseResolver.resolve"></a>
244 <h4>BaseResolver.resolve</h4> 251 <h4>BaseResolver.resolve</h4>
245 <b>resolve</b>(<i>var, attribute</i>) 252 <b>resolve</b>(<i>var, attribute</i>)
246
247 <p> 253 <p>
248 Public method to get an attribute from a variable. 254 Public method to get an attribute from a variable.
249 </p> 255 </p>
256
250 <dl> 257 <dl>
251 258
252 <dt><i>var</i> (Any)</dt> 259 <dt><i>var</i> (Any)</dt>
253 <dd> 260 <dd>
254 variable to extract an attribute or value from 261 variable to extract an attribute or value from
273 <div align="right"><a href="#top">Up</a></div> 280 <div align="right"><a href="#top">Up</a></div>
274 <hr /> 281 <hr />
275 <hr /> 282 <hr />
276 <a NAME="DefaultResolver" ID="DefaultResolver"></a> 283 <a NAME="DefaultResolver" ID="DefaultResolver"></a>
277 <h2>DefaultResolver</h2> 284 <h2>DefaultResolver</h2>
278
279 <p> 285 <p>
280 Class used to resolve the default way. 286 Class used to resolve the default way.
281 </p> 287 </p>
288
282 <h3>Derived from</h3> 289 <h3>Derived from</h3>
283 BaseResolver 290 BaseResolver
284 <h3>Class Attributes</h3> 291 <h3>Class Attributes</h3>
285 292 <table>
286 <table> 293 <tr><td>None</td></tr>
287 <tr><td>None</td></tr> 294 </table>
288 </table> 295
289 <h3>Class Methods</h3> 296 <h3>Class Methods</h3>
290 297 <table>
291 <table> 298 <tr><td>None</td></tr>
292 <tr><td>None</td></tr> 299 </table>
293 </table> 300
294 <h3>Methods</h3> 301 <h3>Methods</h3>
295 302 <table>
296 <table>
297
298 <tr> 303 <tr>
299 <td><a href="#DefaultResolver.getVariableList">getVariableList</a></td> 304 <td><a href="#DefaultResolver.getVariableList">getVariableList</a></td>
300 <td>Public method to get the attributes of a variable as a list.</td> 305 <td>Public method to get the attributes of a variable as a list.</td>
301 </tr> 306 </tr>
302 </table> 307 </table>
308
303 <h3>Static Methods</h3> 309 <h3>Static Methods</h3>
304 310 <table>
305 <table> 311 <tr><td>None</td></tr>
306 <tr><td>None</td></tr> 312 </table>
307 </table> 313
308 314
309 <a NAME="DefaultResolver.getVariableList" ID="DefaultResolver.getVariableList"></a> 315 <a NAME="DefaultResolver.getVariableList" ID="DefaultResolver.getVariableList"></a>
310 <h4>DefaultResolver.getVariableList</h4> 316 <h4>DefaultResolver.getVariableList</h4>
311 <b>getVariableList</b>(<i>var</i>) 317 <b>getVariableList</b>(<i>var</i>)
312
313 <p> 318 <p>
314 Public method to get the attributes of a variable as a list. 319 Public method to get the attributes of a variable as a list.
315 </p> 320 </p>
321
316 <dl> 322 <dl>
317 323
318 <dt><i>var</i> (Any)</dt> 324 <dt><i>var</i> (Any)</dt>
319 <dd> 325 <dd>
320 variable to be converted 326 variable to be converted
336 <div align="right"><a href="#top">Up</a></div> 342 <div align="right"><a href="#top">Up</a></div>
337 <hr /> 343 <hr />
338 <hr /> 344 <hr />
339 <a NAME="DictResolver" ID="DictResolver"></a> 345 <a NAME="DictResolver" ID="DictResolver"></a>
340 <h2>DictResolver</h2> 346 <h2>DictResolver</h2>
341
342 <p> 347 <p>
343 Class used to resolve from a dictionary. 348 Class used to resolve from a dictionary.
344 </p> 349 </p>
350
345 <h3>Derived from</h3> 351 <h3>Derived from</h3>
346 BaseResolver 352 BaseResolver
347 <h3>Class Attributes</h3> 353 <h3>Class Attributes</h3>
348 354 <table>
349 <table> 355 <tr><td>None</td></tr>
350 <tr><td>None</td></tr> 356 </table>
351 </table> 357
352 <h3>Class Methods</h3> 358 <h3>Class Methods</h3>
353 359 <table>
354 <table> 360 <tr><td>None</td></tr>
355 <tr><td>None</td></tr> 361 </table>
356 </table> 362
357 <h3>Methods</h3> 363 <h3>Methods</h3>
358 364 <table>
359 <table>
360
361 <tr> 365 <tr>
362 <td><a href="#DictResolver.getVariableList">getVariableList</a></td> 366 <td><a href="#DictResolver.getVariableList">getVariableList</a></td>
363 <td>Public method to get the attributes of a variable as a list.</td> 367 <td>Public method to get the attributes of a variable as a list.</td>
364 </tr> 368 </tr>
365 <tr> 369 <tr>
369 <tr> 373 <tr>
370 <td><a href="#DictResolver.resolve">resolve</a></td> 374 <td><a href="#DictResolver.resolve">resolve</a></td>
371 <td>Public method to get an attribute from a variable.</td> 375 <td>Public method to get an attribute from a variable.</td>
372 </tr> 376 </tr>
373 </table> 377 </table>
378
374 <h3>Static Methods</h3> 379 <h3>Static Methods</h3>
375 380 <table>
376 <table> 381 <tr><td>None</td></tr>
377 <tr><td>None</td></tr> 382 </table>
378 </table> 383
379 384
380 <a NAME="DictResolver.getVariableList" ID="DictResolver.getVariableList"></a> 385 <a NAME="DictResolver.getVariableList" ID="DictResolver.getVariableList"></a>
381 <h4>DictResolver.getVariableList</h4> 386 <h4>DictResolver.getVariableList</h4>
382 <b>getVariableList</b>(<i>var</i>) 387 <b>getVariableList</b>(<i>var</i>)
383
384 <p> 388 <p>
385 Public method to get the attributes of a variable as a list. 389 Public method to get the attributes of a variable as a list.
386 </p> 390 </p>
391
387 <dl> 392 <dl>
388 393
389 <dt><i>var</i> (Any)</dt> 394 <dt><i>var</i> (Any)</dt>
390 <dd> 395 <dd>
391 variable to be converted 396 variable to be converted
405 </dd> 410 </dd>
406 </dl> 411 </dl>
407 <a NAME="DictResolver.keyToStr" ID="DictResolver.keyToStr"></a> 412 <a NAME="DictResolver.keyToStr" ID="DictResolver.keyToStr"></a>
408 <h4>DictResolver.keyToStr</h4> 413 <h4>DictResolver.keyToStr</h4>
409 <b>keyToStr</b>(<i>key</i>) 414 <b>keyToStr</b>(<i>key</i>)
410
411 <p> 415 <p>
412 Public method to get a string representation for a key. 416 Public method to get a string representation for a key.
413 </p> 417 </p>
418
414 <dl> 419 <dl>
415 420
416 <dt><i>key</i> (Any)</dt> 421 <dt><i>key</i> (Any)</dt>
417 <dd> 422 <dd>
418 key to be converted 423 key to be converted
431 </dd> 436 </dd>
432 </dl> 437 </dl>
433 <a NAME="DictResolver.resolve" ID="DictResolver.resolve"></a> 438 <a NAME="DictResolver.resolve" ID="DictResolver.resolve"></a>
434 <h4>DictResolver.resolve</h4> 439 <h4>DictResolver.resolve</h4>
435 <b>resolve</b>(<i>var, attribute</i>) 440 <b>resolve</b>(<i>var, attribute</i>)
436
437 <p> 441 <p>
438 Public method to get an attribute from a variable. 442 Public method to get an attribute from a variable.
439 </p> 443 </p>
444
440 <dl> 445 <dl>
441 446
442 <dt><i>var</i> (dict)</dt> 447 <dt><i>var</i> (dict)</dt>
443 <dd> 448 <dd>
444 variable to extract an attribute or value from 449 variable to extract an attribute or value from
463 <div align="right"><a href="#top">Up</a></div> 468 <div align="right"><a href="#top">Up</a></div>
464 <hr /> 469 <hr />
465 <hr /> 470 <hr />
466 <a NAME="DictViewResolver" ID="DictViewResolver"></a> 471 <a NAME="DictViewResolver" ID="DictViewResolver"></a>
467 <h2>DictViewResolver</h2> 472 <h2>DictViewResolver</h2>
468
469 <p> 473 <p>
470 Class used to resolve from dict views. 474 Class used to resolve from dict views.
471 </p> 475 </p>
476
472 <h3>Derived from</h3> 477 <h3>Derived from</h3>
473 ListResolver 478 ListResolver
474 <h3>Class Attributes</h3> 479 <h3>Class Attributes</h3>
475 480 <table>
476 <table> 481 <tr><td>None</td></tr>
477 <tr><td>None</td></tr> 482 </table>
478 </table> 483
479 <h3>Class Methods</h3> 484 <h3>Class Methods</h3>
480 485 <table>
481 <table> 486 <tr><td>None</td></tr>
482 <tr><td>None</td></tr> 487 </table>
483 </table> 488
484 <h3>Methods</h3> 489 <h3>Methods</h3>
485 490 <table>
486 <table>
487
488 <tr> 491 <tr>
489 <td><a href="#DictViewResolver.getVariableList">getVariableList</a></td> 492 <td><a href="#DictViewResolver.getVariableList">getVariableList</a></td>
490 <td>Public method to get the attributes of a variable as a list.</td> 493 <td>Public method to get the attributes of a variable as a list.</td>
491 </tr> 494 </tr>
492 <tr> 495 <tr>
493 <td><a href="#DictViewResolver.resolve">resolve</a></td> 496 <td><a href="#DictViewResolver.resolve">resolve</a></td>
494 <td>Public method to get an attribute from a variable.</td> 497 <td>Public method to get an attribute from a variable.</td>
495 </tr> 498 </tr>
496 </table> 499 </table>
500
497 <h3>Static Methods</h3> 501 <h3>Static Methods</h3>
498 502 <table>
499 <table> 503 <tr><td>None</td></tr>
500 <tr><td>None</td></tr> 504 </table>
501 </table> 505
502 506
503 <a NAME="DictViewResolver.getVariableList" ID="DictViewResolver.getVariableList"></a> 507 <a NAME="DictViewResolver.getVariableList" ID="DictViewResolver.getVariableList"></a>
504 <h4>DictViewResolver.getVariableList</h4> 508 <h4>DictViewResolver.getVariableList</h4>
505 <b>getVariableList</b>(<i>var</i>) 509 <b>getVariableList</b>(<i>var</i>)
506
507 <p> 510 <p>
508 Public method to get the attributes of a variable as a list. 511 Public method to get the attributes of a variable as a list.
509 </p> 512 </p>
513
510 <dl> 514 <dl>
511 515
512 <dt><i>var</i> (Any)</dt> 516 <dt><i>var</i> (Any)</dt>
513 <dd> 517 <dd>
514 variable to be converted 518 variable to be converted
528 </dd> 532 </dd>
529 </dl> 533 </dl>
530 <a NAME="DictViewResolver.resolve" ID="DictViewResolver.resolve"></a> 534 <a NAME="DictViewResolver.resolve" ID="DictViewResolver.resolve"></a>
531 <h4>DictViewResolver.resolve</h4> 535 <h4>DictViewResolver.resolve</h4>
532 <b>resolve</b>(<i>var, attribute</i>) 536 <b>resolve</b>(<i>var, attribute</i>)
533
534 <p> 537 <p>
535 Public method to get an attribute from a variable. 538 Public method to get an attribute from a variable.
536 </p> 539 </p>
540
537 <dl> 541 <dl>
538 542
539 <dt><i>var</i> (dict_items, dict_keys or dict_values)</dt> 543 <dt><i>var</i> (dict_items, dict_keys or dict_values)</dt>
540 <dd> 544 <dd>
541 variable to extract an attribute or value from 545 variable to extract an attribute or value from
560 <div align="right"><a href="#top">Up</a></div> 564 <div align="right"><a href="#top">Up</a></div>
561 <hr /> 565 <hr />
562 <hr /> 566 <hr />
563 <a NAME="ListResolver" ID="ListResolver"></a> 567 <a NAME="ListResolver" ID="ListResolver"></a>
564 <h2>ListResolver</h2> 568 <h2>ListResolver</h2>
565
566 <p> 569 <p>
567 Class used to resolve from a tuple or list. 570 Class used to resolve from a tuple or list.
568 </p> 571 </p>
572
569 <h3>Derived from</h3> 573 <h3>Derived from</h3>
570 BaseResolver 574 BaseResolver
571 <h3>Class Attributes</h3> 575 <h3>Class Attributes</h3>
572 576 <table>
573 <table> 577 <tr><td>None</td></tr>
574 <tr><td>None</td></tr> 578 </table>
575 </table> 579
576 <h3>Class Methods</h3> 580 <h3>Class Methods</h3>
577 581 <table>
578 <table> 582 <tr><td>None</td></tr>
579 <tr><td>None</td></tr> 583 </table>
580 </table> 584
581 <h3>Methods</h3> 585 <h3>Methods</h3>
582 586 <table>
583 <table>
584
585 <tr> 587 <tr>
586 <td><a href="#ListResolver.getVariableList">getVariableList</a></td> 588 <td><a href="#ListResolver.getVariableList">getVariableList</a></td>
587 <td>Public method to get the attributes of a variable as a list.</td> 589 <td>Public method to get the attributes of a variable as a list.</td>
588 </tr> 590 </tr>
589 <tr> 591 <tr>
590 <td><a href="#ListResolver.resolve">resolve</a></td> 592 <td><a href="#ListResolver.resolve">resolve</a></td>
591 <td>Public method to get an attribute from a variable.</td> 593 <td>Public method to get an attribute from a variable.</td>
592 </tr> 594 </tr>
593 </table> 595 </table>
596
594 <h3>Static Methods</h3> 597 <h3>Static Methods</h3>
595 598 <table>
596 <table> 599 <tr><td>None</td></tr>
597 <tr><td>None</td></tr> 600 </table>
598 </table> 601
599 602
600 <a NAME="ListResolver.getVariableList" ID="ListResolver.getVariableList"></a> 603 <a NAME="ListResolver.getVariableList" ID="ListResolver.getVariableList"></a>
601 <h4>ListResolver.getVariableList</h4> 604 <h4>ListResolver.getVariableList</h4>
602 <b>getVariableList</b>(<i>var</i>) 605 <b>getVariableList</b>(<i>var</i>)
603
604 <p> 606 <p>
605 Public method to get the attributes of a variable as a list. 607 Public method to get the attributes of a variable as a list.
606 </p> 608 </p>
609
607 <dl> 610 <dl>
608 611
609 <dt><i>var</i> (Any)</dt> 612 <dt><i>var</i> (Any)</dt>
610 <dd> 613 <dd>
611 variable to be converted 614 variable to be converted
625 </dd> 628 </dd>
626 </dl> 629 </dl>
627 <a NAME="ListResolver.resolve" ID="ListResolver.resolve"></a> 630 <a NAME="ListResolver.resolve" ID="ListResolver.resolve"></a>
628 <h4>ListResolver.resolve</h4> 631 <h4>ListResolver.resolve</h4>
629 <b>resolve</b>(<i>var, attribute</i>) 632 <b>resolve</b>(<i>var, attribute</i>)
630
631 <p> 633 <p>
632 Public method to get an attribute from a variable. 634 Public method to get an attribute from a variable.
633 </p> 635 </p>
636
634 <dl> 637 <dl>
635 638
636 <dt><i>var</i> (tuple or list)</dt> 639 <dt><i>var</i> (tuple or list)</dt>
637 <dd> 640 <dd>
638 variable to extract an attribute or value from 641 variable to extract an attribute or value from
657 <div align="right"><a href="#top">Up</a></div> 660 <div align="right"><a href="#top">Up</a></div>
658 <hr /> 661 <hr />
659 <hr /> 662 <hr />
660 <a NAME="MultiValueDictResolver" ID="MultiValueDictResolver"></a> 663 <a NAME="MultiValueDictResolver" ID="MultiValueDictResolver"></a>
661 <h2>MultiValueDictResolver</h2> 664 <h2>MultiValueDictResolver</h2>
662
663 <p> 665 <p>
664 Class used to resolve from Django multi value dictionaries. 666 Class used to resolve from Django multi value dictionaries.
665 </p> 667 </p>
668
666 <h3>Derived from</h3> 669 <h3>Derived from</h3>
667 DictResolver 670 DictResolver
668 <h3>Class Attributes</h3> 671 <h3>Class Attributes</h3>
669 672 <table>
670 <table> 673 <tr><td>None</td></tr>
671 <tr><td>None</td></tr> 674 </table>
672 </table> 675
673 <h3>Class Methods</h3> 676 <h3>Class Methods</h3>
674 677 <table>
675 <table> 678 <tr><td>None</td></tr>
676 <tr><td>None</td></tr> 679 </table>
677 </table> 680
678 <h3>Methods</h3> 681 <h3>Methods</h3>
679 682 <table>
680 <table>
681
682 <tr> 683 <tr>
683 <td><a href="#MultiValueDictResolver.getVariableList">getVariableList</a></td> 684 <td><a href="#MultiValueDictResolver.getVariableList">getVariableList</a></td>
684 <td>Public method to get the attributes of a variable as a list.</td> 685 <td>Public method to get the attributes of a variable as a list.</td>
685 </tr> 686 </tr>
686 <tr> 687 <tr>
687 <td><a href="#MultiValueDictResolver.resolve">resolve</a></td> 688 <td><a href="#MultiValueDictResolver.resolve">resolve</a></td>
688 <td>Public method to get an attribute from a variable.</td> 689 <td>Public method to get an attribute from a variable.</td>
689 </tr> 690 </tr>
690 </table> 691 </table>
692
691 <h3>Static Methods</h3> 693 <h3>Static Methods</h3>
692 694 <table>
693 <table> 695 <tr><td>None</td></tr>
694 <tr><td>None</td></tr> 696 </table>
695 </table> 697
696 698
697 <a NAME="MultiValueDictResolver.getVariableList" ID="MultiValueDictResolver.getVariableList"></a> 699 <a NAME="MultiValueDictResolver.getVariableList" ID="MultiValueDictResolver.getVariableList"></a>
698 <h4>MultiValueDictResolver.getVariableList</h4> 700 <h4>MultiValueDictResolver.getVariableList</h4>
699 <b>getVariableList</b>(<i>var</i>) 701 <b>getVariableList</b>(<i>var</i>)
700
701 <p> 702 <p>
702 Public method to get the attributes of a variable as a list. 703 Public method to get the attributes of a variable as a list.
703 </p> 704 </p>
705
704 <dl> 706 <dl>
705 707
706 <dt><i>var</i> (Any)</dt> 708 <dt><i>var</i> (Any)</dt>
707 <dd> 709 <dd>
708 variable to be converted 710 variable to be converted
722 </dd> 724 </dd>
723 </dl> 725 </dl>
724 <a NAME="MultiValueDictResolver.resolve" ID="MultiValueDictResolver.resolve"></a> 726 <a NAME="MultiValueDictResolver.resolve" ID="MultiValueDictResolver.resolve"></a>
725 <h4>MultiValueDictResolver.resolve</h4> 727 <h4>MultiValueDictResolver.resolve</h4>
726 <b>resolve</b>(<i>var, attribute</i>) 728 <b>resolve</b>(<i>var, attribute</i>)
727
728 <p> 729 <p>
729 Public method to get an attribute from a variable. 730 Public method to get an attribute from a variable.
730 </p> 731 </p>
732
731 <dl> 733 <dl>
732 734
733 <dt><i>var</i> (MultiValueDict)</dt> 735 <dt><i>var</i> (MultiValueDict)</dt>
734 <dd> 736 <dd>
735 variable to extract an attribute or value from 737 variable to extract an attribute or value from
754 <div align="right"><a href="#top">Up</a></div> 756 <div align="right"><a href="#top">Up</a></div>
755 <hr /> 757 <hr />
756 <hr /> 758 <hr />
757 <a NAME="NdArrayResolver" ID="NdArrayResolver"></a> 759 <a NAME="NdArrayResolver" ID="NdArrayResolver"></a>
758 <h2>NdArrayResolver</h2> 760 <h2>NdArrayResolver</h2>
759
760 <p> 761 <p>
761 Class used to resolve from numpy ndarray including some meta data. 762 Class used to resolve from numpy ndarray including some meta data.
762 </p> 763 </p>
764
763 <h3>Derived from</h3> 765 <h3>Derived from</h3>
764 BaseResolver 766 BaseResolver
765 <h3>Class Attributes</h3> 767 <h3>Class Attributes</h3>
766 768 <table>
767 <table> 769 <tr><td>None</td></tr>
768 <tr><td>None</td></tr> 770 </table>
769 </table> 771
770 <h3>Class Methods</h3> 772 <h3>Class Methods</h3>
771 773 <table>
772 <table> 774 <tr><td>None</td></tr>
773 <tr><td>None</td></tr> 775 </table>
774 </table> 776
775 <h3>Methods</h3> 777 <h3>Methods</h3>
776 778 <table>
777 <table>
778
779 <tr> 779 <tr>
780 <td><a href="#NdArrayResolver.__isNumeric">__isNumeric</a></td> 780 <td><a href="#NdArrayResolver.__isNumeric">__isNumeric</a></td>
781 <td>Private method to check, if an array is of a numeric type.</td> 781 <td>Private method to check, if an array is of a numeric type.</td>
782 </tr> 782 </tr>
783 <tr> 783 <tr>
787 <tr> 787 <tr>
788 <td><a href="#NdArrayResolver.resolve">resolve</a></td> 788 <td><a href="#NdArrayResolver.resolve">resolve</a></td>
789 <td>Public method to get an attribute from a variable.</td> 789 <td>Public method to get an attribute from a variable.</td>
790 </tr> 790 </tr>
791 </table> 791 </table>
792
792 <h3>Static Methods</h3> 793 <h3>Static Methods</h3>
793 794 <table>
794 <table> 795 <tr><td>None</td></tr>
795 <tr><td>None</td></tr> 796 </table>
796 </table> 797
797 798
798 <a NAME="NdArrayResolver.__isNumeric" ID="NdArrayResolver.__isNumeric"></a> 799 <a NAME="NdArrayResolver.__isNumeric" ID="NdArrayResolver.__isNumeric"></a>
799 <h4>NdArrayResolver.__isNumeric</h4> 800 <h4>NdArrayResolver.__isNumeric</h4>
800 <b>__isNumeric</b>(<i>arr</i>) 801 <b>__isNumeric</b>(<i>arr</i>)
801
802 <p> 802 <p>
803 Private method to check, if an array is of a numeric type. 803 Private method to check, if an array is of a numeric type.
804 </p> 804 </p>
805
805 <dl> 806 <dl>
806 807
807 <dt><i>arr</i> (ndarray)</dt> 808 <dt><i>arr</i> (ndarray)</dt>
808 <dd> 809 <dd>
809 array to check 810 array to check
822 </dd> 823 </dd>
823 </dl> 824 </dl>
824 <a NAME="NdArrayResolver.getVariableList" ID="NdArrayResolver.getVariableList"></a> 825 <a NAME="NdArrayResolver.getVariableList" ID="NdArrayResolver.getVariableList"></a>
825 <h4>NdArrayResolver.getVariableList</h4> 826 <h4>NdArrayResolver.getVariableList</h4>
826 <b>getVariableList</b>(<i>var</i>) 827 <b>getVariableList</b>(<i>var</i>)
827
828 <p> 828 <p>
829 Public method to get the attributes of a variable as a list. 829 Public method to get the attributes of a variable as a list.
830 </p> 830 </p>
831
831 <dl> 832 <dl>
832 833
833 <dt><i>var</i> (Any)</dt> 834 <dt><i>var</i> (Any)</dt>
834 <dd> 835 <dd>
835 variable to be converted 836 variable to be converted
849 </dd> 850 </dd>
850 </dl> 851 </dl>
851 <a NAME="NdArrayResolver.resolve" ID="NdArrayResolver.resolve"></a> 852 <a NAME="NdArrayResolver.resolve" ID="NdArrayResolver.resolve"></a>
852 <h4>NdArrayResolver.resolve</h4> 853 <h4>NdArrayResolver.resolve</h4>
853 <b>resolve</b>(<i>var, attribute</i>) 854 <b>resolve</b>(<i>var, attribute</i>)
854
855 <p> 855 <p>
856 Public method to get an attribute from a variable. 856 Public method to get an attribute from a variable.
857 </p> 857 </p>
858
858 <dl> 859 <dl>
859 860
860 <dt><i>var</i> (ndarray)</dt> 861 <dt><i>var</i> (ndarray)</dt>
861 <dd> 862 <dd>
862 variable to extract an attribute or value from 863 variable to extract an attribute or value from
881 <div align="right"><a href="#top">Up</a></div> 882 <div align="right"><a href="#top">Up</a></div>
882 <hr /> 883 <hr />
883 <hr /> 884 <hr />
884 <a NAME="QtResolver" ID="QtResolver"></a> 885 <a NAME="QtResolver" ID="QtResolver"></a>
885 <h2>QtResolver</h2> 886 <h2>QtResolver</h2>
886
887 <p> 887 <p>
888 Class used to resolve the Qt implementations. 888 Class used to resolve the Qt implementations.
889 </p> 889 </p>
890
890 <h3>Derived from</h3> 891 <h3>Derived from</h3>
891 BaseResolver 892 BaseResolver
892 <h3>Class Attributes</h3> 893 <h3>Class Attributes</h3>
893 894 <table>
894 <table> 895 <tr><td>None</td></tr>
895 <tr><td>None</td></tr> 896 </table>
896 </table> 897
897 <h3>Class Methods</h3> 898 <h3>Class Methods</h3>
898 899 <table>
899 <table> 900 <tr><td>None</td></tr>
900 <tr><td>None</td></tr> 901 </table>
901 </table> 902
902 <h3>Methods</h3> 903 <h3>Methods</h3>
903 904 <table>
904 <table>
905
906 <tr> 905 <tr>
907 <td><a href="#QtResolver.getVariableList">getVariableList</a></td> 906 <td><a href="#QtResolver.getVariableList">getVariableList</a></td>
908 <td>Public method to get the attributes of a variable as a list.</td> 907 <td>Public method to get the attributes of a variable as a list.</td>
909 </tr> 908 </tr>
910 <tr> 909 <tr>
911 <td><a href="#QtResolver.resolve">resolve</a></td> 910 <td><a href="#QtResolver.resolve">resolve</a></td>
912 <td>Public method to get an attribute from a variable.</td> 911 <td>Public method to get an attribute from a variable.</td>
913 </tr> 912 </tr>
914 </table> 913 </table>
914
915 <h3>Static Methods</h3> 915 <h3>Static Methods</h3>
916 916 <table>
917 <table> 917 <tr><td>None</td></tr>
918 <tr><td>None</td></tr> 918 </table>
919 </table> 919
920 920
921 <a NAME="QtResolver.getVariableList" ID="QtResolver.getVariableList"></a> 921 <a NAME="QtResolver.getVariableList" ID="QtResolver.getVariableList"></a>
922 <h4>QtResolver.getVariableList</h4> 922 <h4>QtResolver.getVariableList</h4>
923 <b>getVariableList</b>(<i>var</i>) 923 <b>getVariableList</b>(<i>var</i>)
924
925 <p> 924 <p>
926 Public method to get the attributes of a variable as a list. 925 Public method to get the attributes of a variable as a list.
927 </p> 926 </p>
927
928 <dl> 928 <dl>
929 929
930 <dt><i>var</i> (Any)</dt> 930 <dt><i>var</i> (Any)</dt>
931 <dd> 931 <dd>
932 variable to be converted 932 variable to be converted
946 </dd> 946 </dd>
947 </dl> 947 </dl>
948 <a NAME="QtResolver.resolve" ID="QtResolver.resolve"></a> 948 <a NAME="QtResolver.resolve" ID="QtResolver.resolve"></a>
949 <h4>QtResolver.resolve</h4> 949 <h4>QtResolver.resolve</h4>
950 <b>resolve</b>(<i>var, attribute</i>) 950 <b>resolve</b>(<i>var, attribute</i>)
951
952 <p> 951 <p>
953 Public method to get an attribute from a variable. 952 Public method to get an attribute from a variable.
954 </p> 953 </p>
954
955 <dl> 955 <dl>
956 956
957 <dt><i>var</i> (Qt objects)</dt> 957 <dt><i>var</i> (Qt objects)</dt>
958 <dd> 958 <dd>
959 variable to extract an attribute or value from 959 variable to extract an attribute or value from
978 <div align="right"><a href="#top">Up</a></div> 978 <div align="right"><a href="#top">Up</a></div>
979 <hr /> 979 <hr />
980 <hr /> 980 <hr />
981 <a NAME="SetResolver" ID="SetResolver"></a> 981 <a NAME="SetResolver" ID="SetResolver"></a>
982 <h2>SetResolver</h2> 982 <h2>SetResolver</h2>
983
984 <p> 983 <p>
985 Class used to resolve from a set or frozenset. 984 Class used to resolve from a set or frozenset.
986 </p> 985 </p>
986
987 <h3>Derived from</h3> 987 <h3>Derived from</h3>
988 BaseResolver 988 BaseResolver
989 <h3>Class Attributes</h3> 989 <h3>Class Attributes</h3>
990 990 <table>
991 <table> 991 <tr><td>None</td></tr>
992 <tr><td>None</td></tr> 992 </table>
993 </table> 993
994 <h3>Class Methods</h3> 994 <h3>Class Methods</h3>
995 995 <table>
996 <table> 996 <tr><td>None</td></tr>
997 <tr><td>None</td></tr> 997 </table>
998 </table> 998
999 <h3>Methods</h3> 999 <h3>Methods</h3>
1000 1000 <table>
1001 <table>
1002
1003 <tr> 1001 <tr>
1004 <td><a href="#SetResolver.getVariableList">getVariableList</a></td> 1002 <td><a href="#SetResolver.getVariableList">getVariableList</a></td>
1005 <td>Public method to get the attributes of a variable as a list.</td> 1003 <td>Public method to get the attributes of a variable as a list.</td>
1006 </tr> 1004 </tr>
1007 <tr> 1005 <tr>
1008 <td><a href="#SetResolver.resolve">resolve</a></td> 1006 <td><a href="#SetResolver.resolve">resolve</a></td>
1009 <td>Public method to get an attribute from a variable.</td> 1007 <td>Public method to get an attribute from a variable.</td>
1010 </tr> 1008 </tr>
1011 </table> 1009 </table>
1010
1012 <h3>Static Methods</h3> 1011 <h3>Static Methods</h3>
1013 1012 <table>
1014 <table> 1013 <tr><td>None</td></tr>
1015 <tr><td>None</td></tr> 1014 </table>
1016 </table> 1015
1017 1016
1018 <a NAME="SetResolver.getVariableList" ID="SetResolver.getVariableList"></a> 1017 <a NAME="SetResolver.getVariableList" ID="SetResolver.getVariableList"></a>
1019 <h4>SetResolver.getVariableList</h4> 1018 <h4>SetResolver.getVariableList</h4>
1020 <b>getVariableList</b>(<i>var</i>) 1019 <b>getVariableList</b>(<i>var</i>)
1021
1022 <p> 1020 <p>
1023 Public method to get the attributes of a variable as a list. 1021 Public method to get the attributes of a variable as a list.
1024 </p> 1022 </p>
1023
1025 <dl> 1024 <dl>
1026 1025
1027 <dt><i>var</i> (Any)</dt> 1026 <dt><i>var</i> (Any)</dt>
1028 <dd> 1027 <dd>
1029 variable to be converted 1028 variable to be converted
1043 </dd> 1042 </dd>
1044 </dl> 1043 </dl>
1045 <a NAME="SetResolver.resolve" ID="SetResolver.resolve"></a> 1044 <a NAME="SetResolver.resolve" ID="SetResolver.resolve"></a>
1046 <h4>SetResolver.resolve</h4> 1045 <h4>SetResolver.resolve</h4>
1047 <b>resolve</b>(<i>var, attribute</i>) 1046 <b>resolve</b>(<i>var, attribute</i>)
1048
1049 <p> 1047 <p>
1050 Public method to get an attribute from a variable. 1048 Public method to get an attribute from a variable.
1051 </p> 1049 </p>
1050
1052 <dl> 1051 <dl>
1053 1052
1054 <dt><i>var</i> (tuple or list)</dt> 1053 <dt><i>var</i> (tuple or list)</dt>
1055 <dd> 1054 <dd>
1056 variable to extract an attribute or value from 1055 variable to extract an attribute or value from
1076 <hr /> 1075 <hr />
1077 <hr /> 1076 <hr />
1078 <a NAME="_initTypeMap" ID="_initTypeMap"></a> 1077 <a NAME="_initTypeMap" ID="_initTypeMap"></a>
1079 <h2>_initTypeMap</h2> 1078 <h2>_initTypeMap</h2>
1080 <b>_initTypeMap</b>(<i></i>) 1079 <b>_initTypeMap</b>(<i></i>)
1081
1082 <p> 1080 <p>
1083 Protected function to initialize the type map. 1081 Protected function to initialize the type map.
1084 </p> 1082 </p>
1083
1085 <div align="right"><a href="#top">Up</a></div> 1084 <div align="right"><a href="#top">Up</a></div>
1086 <hr /> 1085 <hr />
1087 <hr /> 1086 <hr />
1088 <a NAME="getResolver" ID="getResolver"></a> 1087 <a NAME="getResolver" ID="getResolver"></a>
1089 <h2>getResolver</h2> 1088 <h2>getResolver</h2>
1090 <b>getResolver</b>(<i>obj</i>) 1089 <b>getResolver</b>(<i>obj</i>)
1091
1092 <p> 1090 <p>
1093 Public method to get the resolver based on the type info of an object. 1091 Public method to get the resolver based on the type info of an object.
1094 </p> 1092 </p>
1093
1095 <dl> 1094 <dl>
1096 1095
1097 <dt><i>obj</i> (Any)</dt> 1096 <dt><i>obj</i> (Any)</dt>
1098 <dd> 1097 <dd>
1099 object to get resolver for 1098 object to get resolver for
1115 <hr /> 1114 <hr />
1116 <hr /> 1115 <hr />
1117 <a NAME="updateTypeMap" ID="updateTypeMap"></a> 1116 <a NAME="updateTypeMap" ID="updateTypeMap"></a>
1118 <h2>updateTypeMap</h2> 1117 <h2>updateTypeMap</h2>
1119 <b>updateTypeMap</b>(<i></i>) 1118 <b>updateTypeMap</b>(<i></i>)
1120
1121 <p> 1119 <p>
1122 Public function to update the type map based on module imports. 1120 Public function to update the type map based on module imports.
1123 </p> 1121 </p>
1122
1124 <div align="right"><a href="#top">Up</a></div> 1123 <div align="right"><a href="#top">Up</a></div>
1125 <hr /> 1124 <hr />
1126 </body></html> 1125 </body></html>

eric ide

mercurial