65 <tr> |
65 <tr> |
66 <td><a href="#NdArrayResolver">NdArrayResolver</a></td> |
66 <td><a href="#NdArrayResolver">NdArrayResolver</a></td> |
67 <td>Class used to resolve from numpy ndarray including some meta data.</td> |
67 <td>Class used to resolve from numpy ndarray including some meta data.</td> |
68 </tr> |
68 </tr> |
69 <tr> |
69 <tr> |
|
70 <td><a href="#QtResolver">QtResolver</a></td> |
|
71 <td>Class used to resolve the Qt implementations.</td> |
|
72 </tr> |
|
73 <tr> |
70 <td><a href="#SetResolver">SetResolver</a></td> |
74 <td><a href="#SetResolver">SetResolver</a></td> |
71 <td>Class used to resolve from a set or frozenset.</td> |
75 <td>Class used to resolve from a set or frozenset.</td> |
72 </tr> |
76 </tr> |
73 </table> |
77 </table> |
74 <h3>Functions</h3> |
78 <h3>Functions</h3> |
78 <tr> |
82 <tr> |
79 <td><a href="#_initTypeMap">_initTypeMap</a></td> |
83 <td><a href="#_initTypeMap">_initTypeMap</a></td> |
80 <td>Protected function to initialize the type map.</td> |
84 <td>Protected function to initialize the type map.</td> |
81 </tr> |
85 </tr> |
82 <tr> |
86 <tr> |
83 <td><a href="#getType">getType</a></td> |
87 <td><a href="#getResolver">getResolver</a></td> |
84 <td>Public method to get the type information for an object.</td> |
88 <td>Public method to get the resolver based on the type info of an object.</td> |
|
89 </tr> |
|
90 <tr> |
|
91 <td><a href="#updateTypeMap">updateTypeMap</a></td> |
|
92 <td>Public function to update the type map based on module imports.</td> |
85 </tr> |
93 </tr> |
86 </table> |
94 </table> |
87 <hr /> |
95 <hr /> |
88 <hr /> |
96 <hr /> |
89 <a NAME="ArrayResolver" ID="ArrayResolver"></a> |
97 <a NAME="ArrayResolver" ID="ArrayResolver"></a> |
121 |
129 |
122 <table> |
130 <table> |
123 <tr><td>None</td></tr> |
131 <tr><td>None</td></tr> |
124 </table> |
132 </table> |
125 |
133 |
126 <a NAME="ArrayResolver.getDictionary" ID="ArrayResolver.getDictionary"></a> |
134 <a NAME="ArrayResolver.getVariableList" ID="ArrayResolver.getVariableList"></a> |
127 <h4>ArrayResolver.getDictionary</h4> |
135 <h4>ArrayResolver.getVariableList</h4> |
128 <b>getDictionary</b>(<i>var</i>) |
136 <b>getVariableList</b>(<i>var</i>) |
129 |
137 |
130 <p> |
138 <p> |
131 Public method to get the attributes of a variable as a dictionary. |
139 Public method to get the attributes of a variable as a list. |
132 </p> |
140 </p> |
133 <dl> |
141 <dl> |
134 |
142 |
135 <dt><i>var</i> (any)</dt> |
143 <dt><i>var</i> (any)</dt> |
136 <dd> |
144 <dd> |
138 </dd> |
146 </dd> |
139 </dl> |
147 </dl> |
140 <dl> |
148 <dl> |
141 <dt>Yield:</dt> |
149 <dt>Yield:</dt> |
142 <dd> |
150 <dd> |
143 tuple containing the batch start index and a dictionary |
151 tuple containing the batch start index and a list |
144 containing the variable attributes |
152 containing the variable attributes |
145 </dd> |
153 </dd> |
146 </dl> |
154 </dl> |
147 <dl> |
155 <dl> |
148 <dt>Yield Type:</dt> |
156 <dt>Yield Type:</dt> |
149 <dd> |
157 <dd> |
150 tuple of (int, dict) |
158 tuple of (int, list) |
151 </dd> |
159 </dd> |
152 </dl> |
160 </dl> |
153 <a NAME="ArrayResolver.resolve" ID="ArrayResolver.resolve"></a> |
161 <a NAME="ArrayResolver.resolve" ID="ArrayResolver.resolve"></a> |
154 <h4>ArrayResolver.resolve</h4> |
162 <h4>ArrayResolver.resolve</h4> |
155 <b>resolve</b>(<i>var, attribute</i>) |
163 <b>resolve</b>(<i>var, attribute</i>) |
218 |
226 |
219 <table> |
227 <table> |
220 <tr><td>None</td></tr> |
228 <tr><td>None</td></tr> |
221 </table> |
229 </table> |
222 |
230 |
223 <a NAME="BaseResolver.getDictionary" ID="BaseResolver.getDictionary"></a> |
231 <a NAME="BaseResolver.getVariableList" ID="BaseResolver.getVariableList"></a> |
224 <h4>BaseResolver.getDictionary</h4> |
232 <h4>BaseResolver.getVariableList</h4> |
225 <b>getDictionary</b>(<i>var</i>) |
233 <b>getVariableList</b>(<i>var</i>) |
226 |
234 |
227 <p> |
235 <p> |
228 Public method to get the attributes of a variable as a dictionary. |
236 Public method to get the attributes of a variable as a list. |
229 </p> |
237 </p> |
230 <dl> |
238 <dl> |
231 |
239 |
232 <dt><i>var</i> (any)</dt> |
240 <dt><i>var</i> (any)</dt> |
233 <dd> |
241 <dd> |
235 </dd> |
243 </dd> |
236 </dl> |
244 </dl> |
237 <dl> |
245 <dl> |
238 <dt>Return:</dt> |
246 <dt>Return:</dt> |
239 <dd> |
247 <dd> |
240 dictionary containing the variable attributes |
248 list containing the variable attributes |
241 </dd> |
249 </dd> |
242 </dl> |
250 </dl> |
243 <dl> |
251 <dl> |
244 <dt>Return Type:</dt> |
252 <dt>Return Type:</dt> |
245 <dd> |
253 <dd> |
246 dict |
254 list |
247 </dd> |
255 </dd> |
248 </dl> |
256 </dl> |
249 <a NAME="BaseResolver.resolve" ID="BaseResolver.resolve"></a> |
257 <a NAME="BaseResolver.resolve" ID="BaseResolver.resolve"></a> |
250 <h4>BaseResolver.resolve</h4> |
258 <h4>BaseResolver.resolve</h4> |
251 <b>resolve</b>(<i>var, attribute</i>) |
259 <b>resolve</b>(<i>var, attribute</i>) |
300 <h3>Methods</h3> |
308 <h3>Methods</h3> |
301 |
309 |
302 <table> |
310 <table> |
303 |
311 |
304 <tr> |
312 <tr> |
305 <td><a href="#DefaultResolver.getDictionary">getDictionary</a></td> |
313 <td><a href="#DefaultResolver.getVariableList">getVariableList</a></td> |
306 <td>Public method to get the attributes of a variable as a dictionary.</td> |
314 <td>Public method to get the attributes of a variable as a list.</td> |
307 </tr> |
315 </tr> |
308 </table> |
316 </table> |
309 <h3>Static Methods</h3> |
317 <h3>Static Methods</h3> |
310 |
318 |
311 <table> |
319 <table> |
312 <tr><td>None</td></tr> |
320 <tr><td>None</td></tr> |
313 </table> |
321 </table> |
314 |
322 |
315 <a NAME="DefaultResolver.getDictionary" ID="DefaultResolver.getDictionary"></a> |
323 <a NAME="DefaultResolver.getVariableList" ID="DefaultResolver.getVariableList"></a> |
316 <h4>DefaultResolver.getDictionary</h4> |
324 <h4>DefaultResolver.getVariableList</h4> |
317 <b>getDictionary</b>(<i>var</i>) |
325 <b>getVariableList</b>(<i>var</i>) |
318 |
326 |
319 <p> |
327 <p> |
320 Public method to get the attributes of a variable as a dictionary. |
328 Public method to get the attributes of a variable as a list. |
321 </p> |
329 </p> |
322 <dl> |
330 <dl> |
323 |
331 |
324 <dt><i>var</i> (any)</dt> |
332 <dt><i>var</i> (any)</dt> |
325 <dd> |
333 <dd> |
381 |
389 |
382 <table> |
390 <table> |
383 <tr><td>None</td></tr> |
391 <tr><td>None</td></tr> |
384 </table> |
392 </table> |
385 |
393 |
386 <a NAME="DictResolver.getDictionary" ID="DictResolver.getDictionary"></a> |
394 <a NAME="DictResolver.getVariableList" ID="DictResolver.getVariableList"></a> |
387 <h4>DictResolver.getDictionary</h4> |
395 <h4>DictResolver.getVariableList</h4> |
388 <b>getDictionary</b>(<i>var</i>) |
396 <b>getVariableList</b>(<i>var</i>) |
389 |
397 |
390 <p> |
398 <p> |
391 Public method to get the attributes of a variable as a dictionary. |
399 Public method to get the attributes of a variable as a list. |
392 </p> |
400 </p> |
393 <dl> |
401 <dl> |
394 |
402 |
395 <dt><i>var</i> (any)</dt> |
403 <dt><i>var</i> (any)</dt> |
396 <dd> |
404 <dd> |
398 </dd> |
406 </dd> |
399 </dl> |
407 </dl> |
400 <dl> |
408 <dl> |
401 <dt>Yield:</dt> |
409 <dt>Yield:</dt> |
402 <dd> |
410 <dd> |
403 tuple containing the batch start index and a dictionary |
411 tuple containing the batch start index and a list |
404 containing the variable attributes |
412 containing the variable attributes |
405 </dd> |
413 </dd> |
406 </dl> |
414 </dl> |
407 <dl> |
415 <dl> |
408 <dt>Yield Type:</dt> |
416 <dt>Yield Type:</dt> |
409 <dd> |
417 <dd> |
410 tuple of (int, dict) |
418 tuple of (int, list) |
411 </dd> |
419 </dd> |
412 </dl> |
420 </dl> |
413 <a NAME="DictResolver.keyToStr" ID="DictResolver.keyToStr"></a> |
421 <a NAME="DictResolver.keyToStr" ID="DictResolver.keyToStr"></a> |
414 <h4>DictResolver.keyToStr</h4> |
422 <h4>DictResolver.keyToStr</h4> |
415 <b>keyToStr</b>(<i>key</i>) |
423 <b>keyToStr</b>(<i>key</i>) |
504 |
512 |
505 <table> |
513 <table> |
506 <tr><td>None</td></tr> |
514 <tr><td>None</td></tr> |
507 </table> |
515 </table> |
508 |
516 |
509 <a NAME="DictViewResolver.getDictionary" ID="DictViewResolver.getDictionary"></a> |
517 <a NAME="DictViewResolver.getVariableList" ID="DictViewResolver.getVariableList"></a> |
510 <h4>DictViewResolver.getDictionary</h4> |
518 <h4>DictViewResolver.getVariableList</h4> |
511 <b>getDictionary</b>(<i>var</i>) |
519 <b>getVariableList</b>(<i>var</i>) |
512 |
520 |
513 <p> |
521 <p> |
514 Public method to get the attributes of a variable as a dictionary. |
522 Public method to get the attributes of a variable as a list. |
515 </p> |
523 </p> |
516 <dl> |
524 <dl> |
517 |
525 |
518 <dt><i>var</i> (any)</dt> |
526 <dt><i>var</i> (any)</dt> |
519 <dd> |
527 <dd> |
520 variable to be converted |
528 variable to be converted |
521 </dd> |
529 </dd> |
522 </dl> |
530 </dl> |
523 <dl> |
531 <dl> |
524 <dt>Return:</dt> |
532 <dt>Yield:</dt> |
525 <dd> |
533 <dd> |
526 dictionary containing the variable attributes |
534 tuple containing the batch start index and a list |
527 </dd> |
535 containing the variable attributes |
528 </dl> |
536 </dd> |
529 <dl> |
537 </dl> |
530 <dt>Return Type:</dt> |
538 <dl> |
531 <dd> |
539 <dt>Yield Type:</dt> |
532 dict |
540 <dd> |
|
541 tuple of (int, list) |
533 </dd> |
542 </dd> |
534 </dl> |
543 </dl> |
535 <a NAME="DictViewResolver.resolve" ID="DictViewResolver.resolve"></a> |
544 <a NAME="DictViewResolver.resolve" ID="DictViewResolver.resolve"></a> |
536 <h4>DictViewResolver.resolve</h4> |
545 <h4>DictViewResolver.resolve</h4> |
537 <b>resolve</b>(<i>var, attribute</i>) |
546 <b>resolve</b>(<i>var, attribute</i>) |
600 |
609 |
601 <table> |
610 <table> |
602 <tr><td>None</td></tr> |
611 <tr><td>None</td></tr> |
603 </table> |
612 </table> |
604 |
613 |
605 <a NAME="ListResolver.getDictionary" ID="ListResolver.getDictionary"></a> |
614 <a NAME="ListResolver.getVariableList" ID="ListResolver.getVariableList"></a> |
606 <h4>ListResolver.getDictionary</h4> |
615 <h4>ListResolver.getVariableList</h4> |
607 <b>getDictionary</b>(<i>var</i>) |
616 <b>getVariableList</b>(<i>var</i>) |
608 |
617 |
609 <p> |
618 <p> |
610 Public method to get the attributes of a variable as a dictionary. |
619 Public method to get the attributes of a variable as a list. |
611 </p> |
620 </p> |
612 <dl> |
621 <dl> |
613 |
622 |
614 <dt><i>var</i> (any)</dt> |
623 <dt><i>var</i> (any)</dt> |
615 <dd> |
624 <dd> |
617 </dd> |
626 </dd> |
618 </dl> |
627 </dl> |
619 <dl> |
628 <dl> |
620 <dt>Yield:</dt> |
629 <dt>Yield:</dt> |
621 <dd> |
630 <dd> |
622 tuple containing the batch start index and a dictionary |
631 tuple containing the batch start index and a list |
623 containing the variable attributes |
632 containing the variable attributes |
624 </dd> |
633 </dd> |
625 </dl> |
634 </dl> |
626 <dl> |
635 <dl> |
627 <dt>Yield Type:</dt> |
636 <dt>Yield Type:</dt> |
628 <dd> |
637 <dd> |
629 tuple of (int, dict) |
638 tuple of (int, list) |
630 </dd> |
639 </dd> |
631 </dl> |
640 </dl> |
632 <a NAME="ListResolver.resolve" ID="ListResolver.resolve"></a> |
641 <a NAME="ListResolver.resolve" ID="ListResolver.resolve"></a> |
633 <h4>ListResolver.resolve</h4> |
642 <h4>ListResolver.resolve</h4> |
634 <b>resolve</b>(<i>var, attribute</i>) |
643 <b>resolve</b>(<i>var, attribute</i>) |
697 |
706 |
698 <table> |
707 <table> |
699 <tr><td>None</td></tr> |
708 <tr><td>None</td></tr> |
700 </table> |
709 </table> |
701 |
710 |
702 <a NAME="MultiValueDictResolver.getDictionary" ID="MultiValueDictResolver.getDictionary"></a> |
711 <a NAME="MultiValueDictResolver.getVariableList" ID="MultiValueDictResolver.getVariableList"></a> |
703 <h4>MultiValueDictResolver.getDictionary</h4> |
712 <h4>MultiValueDictResolver.getVariableList</h4> |
704 <b>getDictionary</b>(<i>var</i>) |
713 <b>getVariableList</b>(<i>var</i>) |
705 |
714 |
706 <p> |
715 <p> |
707 Public method to get the attributes of a variable as a dictionary. |
716 Public method to get the attributes of a variable as a list. |
708 </p> |
717 </p> |
709 <dl> |
718 <dl> |
710 |
719 |
711 <dt><i>var</i> (any)</dt> |
720 <dt><i>var</i> (any)</dt> |
712 <dd> |
721 <dd> |
714 </dd> |
723 </dd> |
715 </dl> |
724 </dl> |
716 <dl> |
725 <dl> |
717 <dt>Yield:</dt> |
726 <dt>Yield:</dt> |
718 <dd> |
727 <dd> |
719 tuple containing the batch start index and a dictionary |
728 tuple containing the batch start index and a list |
720 containing the variable attributes |
729 containing the variable attributes |
721 </dd> |
730 </dd> |
722 </dl> |
731 </dl> |
723 <dl> |
732 <dl> |
724 <dt>Yield Type:</dt> |
733 <dt>Yield Type:</dt> |
725 <dd> |
734 <dd> |
726 tuple of (int, dict) |
735 tuple of (int, list) |
727 </dd> |
736 </dd> |
728 </dl> |
737 </dl> |
729 <a NAME="MultiValueDictResolver.resolve" ID="MultiValueDictResolver.resolve"></a> |
738 <a NAME="MultiValueDictResolver.resolve" ID="MultiValueDictResolver.resolve"></a> |
730 <h4>MultiValueDictResolver.resolve</h4> |
739 <h4>MultiValueDictResolver.resolve</h4> |
731 <b>resolve</b>(<i>var, attribute</i>) |
740 <b>resolve</b>(<i>var, attribute</i>) |
784 <tr> |
793 <tr> |
785 <td><a href="#NdArrayResolver.__isNumeric">__isNumeric</a></td> |
794 <td><a href="#NdArrayResolver.__isNumeric">__isNumeric</a></td> |
786 <td>Private method to check, if an array is of a numeric type.</td> |
795 <td>Private method to check, if an array is of a numeric type.</td> |
787 </tr> |
796 </tr> |
788 <tr> |
797 <tr> |
789 <td><a href="#NdArrayResolver.getDictionary">getDictionary</a></td> |
798 <td><a href="#NdArrayResolver.getVariableList">getVariableList</a></td> |
790 <td>Public method to get the attributes of a variable as a dictionary.</td> |
799 <td>Public method to get the attributes of a variable as a list.</td> |
791 </tr> |
800 </tr> |
792 <tr> |
801 <tr> |
793 <td><a href="#NdArrayResolver.resolve">resolve</a></td> |
802 <td><a href="#NdArrayResolver.resolve">resolve</a></td> |
794 <td>Public method to get an attribute from a variable.</td> |
803 <td>Public method to get an attribute from a variable.</td> |
795 </tr> |
804 </tr> |
824 <dt>Return Type:</dt> |
833 <dt>Return Type:</dt> |
825 <dd> |
834 <dd> |
826 bool |
835 bool |
827 </dd> |
836 </dd> |
828 </dl> |
837 </dl> |
829 <a NAME="NdArrayResolver.getDictionary" ID="NdArrayResolver.getDictionary"></a> |
838 <a NAME="NdArrayResolver.getVariableList" ID="NdArrayResolver.getVariableList"></a> |
830 <h4>NdArrayResolver.getDictionary</h4> |
839 <h4>NdArrayResolver.getVariableList</h4> |
831 <b>getDictionary</b>(<i>var</i>) |
840 <b>getVariableList</b>(<i>var</i>) |
832 |
841 |
833 <p> |
842 <p> |
834 Public method to get the attributes of a variable as a dictionary. |
843 Public method to get the attributes of a variable as a list. |
835 </p> |
844 </p> |
836 <dl> |
845 <dl> |
837 |
846 |
838 <dt><i>var</i> (any)</dt> |
847 <dt><i>var</i> (any)</dt> |
839 <dd> |
848 <dd> |
841 </dd> |
850 </dd> |
842 </dl> |
851 </dl> |
843 <dl> |
852 <dl> |
844 <dt>Yield:</dt> |
853 <dt>Yield:</dt> |
845 <dd> |
854 <dd> |
846 tuple containing the batch start index and a dictionary |
855 tuple containing the batch start index and a list |
847 containing the variable attributes |
856 containing the variable attributes |
848 </dd> |
857 </dd> |
849 </dl> |
858 </dl> |
850 <dl> |
859 <dl> |
851 <dt>Yield Type:</dt> |
860 <dt>Yield Type:</dt> |
852 <dd> |
861 <dd> |
853 tuple of (int, dict) |
862 tuple of (int, list) |
854 </dd> |
863 </dd> |
855 </dl> |
864 </dl> |
856 <a NAME="NdArrayResolver.resolve" ID="NdArrayResolver.resolve"></a> |
865 <a NAME="NdArrayResolver.resolve" ID="NdArrayResolver.resolve"></a> |
857 <h4>NdArrayResolver.resolve</h4> |
866 <h4>NdArrayResolver.resolve</h4> |
858 <b>resolve</b>(<i>var, attribute</i>) |
867 <b>resolve</b>(<i>var, attribute</i>) |
884 </dd> |
893 </dd> |
885 </dl> |
894 </dl> |
886 <div align="right"><a href="#top">Up</a></div> |
895 <div align="right"><a href="#top">Up</a></div> |
887 <hr /> |
896 <hr /> |
888 <hr /> |
897 <hr /> |
889 <a NAME="SetResolver" ID="SetResolver"></a> |
898 <a NAME="QtResolver" ID="QtResolver"></a> |
890 <h2>SetResolver</h2> |
899 <h2>QtResolver</h2> |
891 |
900 |
892 <p> |
901 <p> |
893 Class used to resolve from a set or frozenset. |
902 Class used to resolve the Qt implementations. |
894 </p> |
903 </p> |
895 <h3>Derived from</h3> |
904 <h3>Derived from</h3> |
896 BaseResolver |
905 BaseResolver |
897 <h3>Class Attributes</h3> |
906 <h3>Class Attributes</h3> |
898 |
907 |
907 <h3>Methods</h3> |
916 <h3>Methods</h3> |
908 |
917 |
909 <table> |
918 <table> |
910 |
919 |
911 <tr> |
920 <tr> |
912 <td><a href="#SetResolver.getDictionary">getDictionary</a></td> |
921 <td><a href="#QtResolver.getVariableList">getVariableList</a></td> |
913 <td>Public method to get the attributes of a variable as a dictionary.</td> |
922 <td>Public method to get the attributes of a variable as a list.</td> |
|
923 </tr> |
|
924 <tr> |
|
925 <td><a href="#QtResolver.resolve">resolve</a></td> |
|
926 <td>Public method to get an attribute from a variable.</td> |
|
927 </tr> |
|
928 </table> |
|
929 <h3>Static Methods</h3> |
|
930 |
|
931 <table> |
|
932 <tr><td>None</td></tr> |
|
933 </table> |
|
934 |
|
935 <a NAME="QtResolver.getVariableList" ID="QtResolver.getVariableList"></a> |
|
936 <h4>QtResolver.getVariableList</h4> |
|
937 <b>getVariableList</b>(<i>var</i>) |
|
938 |
|
939 <p> |
|
940 Public method to get the attributes of a variable as a list. |
|
941 </p> |
|
942 <dl> |
|
943 |
|
944 <dt><i>var</i> (any)</dt> |
|
945 <dd> |
|
946 variable to be converted |
|
947 </dd> |
|
948 </dl> |
|
949 <dl> |
|
950 <dt>Yield:</dt> |
|
951 <dd> |
|
952 tuple containing the batch start index and a list |
|
953 containing the variable attributes |
|
954 </dd> |
|
955 </dl> |
|
956 <dl> |
|
957 <dt>Yield Type:</dt> |
|
958 <dd> |
|
959 tuple of (int, list) |
|
960 </dd> |
|
961 </dl> |
|
962 <a NAME="QtResolver.resolve" ID="QtResolver.resolve"></a> |
|
963 <h4>QtResolver.resolve</h4> |
|
964 <b>resolve</b>(<i>var, attribute</i>) |
|
965 |
|
966 <p> |
|
967 Public method to get an attribute from a variable. |
|
968 </p> |
|
969 <dl> |
|
970 |
|
971 <dt><i>var</i> (Qt objects)</dt> |
|
972 <dd> |
|
973 variable to extract an attribute or value from |
|
974 </dd> |
|
975 <dt><i>attribute</i> (str)</dt> |
|
976 <dd> |
|
977 name of the attribute to extract |
|
978 </dd> |
|
979 </dl> |
|
980 <dl> |
|
981 <dt>Return:</dt> |
|
982 <dd> |
|
983 value of the attribute |
|
984 </dd> |
|
985 </dl> |
|
986 <dl> |
|
987 <dt>Return Type:</dt> |
|
988 <dd> |
|
989 any |
|
990 </dd> |
|
991 </dl> |
|
992 <div align="right"><a href="#top">Up</a></div> |
|
993 <hr /> |
|
994 <hr /> |
|
995 <a NAME="SetResolver" ID="SetResolver"></a> |
|
996 <h2>SetResolver</h2> |
|
997 |
|
998 <p> |
|
999 Class used to resolve from a set or frozenset. |
|
1000 </p> |
|
1001 <h3>Derived from</h3> |
|
1002 BaseResolver |
|
1003 <h3>Class Attributes</h3> |
|
1004 |
|
1005 <table> |
|
1006 <tr><td>None</td></tr> |
|
1007 </table> |
|
1008 <h3>Class Methods</h3> |
|
1009 |
|
1010 <table> |
|
1011 <tr><td>None</td></tr> |
|
1012 </table> |
|
1013 <h3>Methods</h3> |
|
1014 |
|
1015 <table> |
|
1016 |
|
1017 <tr> |
|
1018 <td><a href="#SetResolver.getVariableList">getVariableList</a></td> |
|
1019 <td>Public method to get the attributes of a variable as a list.</td> |
914 </tr> |
1020 </tr> |
915 <tr> |
1021 <tr> |
916 <td><a href="#SetResolver.resolve">resolve</a></td> |
1022 <td><a href="#SetResolver.resolve">resolve</a></td> |
917 <td>Public method to get an attribute from a variable.</td> |
1023 <td>Public method to get an attribute from a variable.</td> |
918 </tr> |
1024 </tr> |
921 |
1027 |
922 <table> |
1028 <table> |
923 <tr><td>None</td></tr> |
1029 <tr><td>None</td></tr> |
924 </table> |
1030 </table> |
925 |
1031 |
926 <a NAME="SetResolver.getDictionary" ID="SetResolver.getDictionary"></a> |
1032 <a NAME="SetResolver.getVariableList" ID="SetResolver.getVariableList"></a> |
927 <h4>SetResolver.getDictionary</h4> |
1033 <h4>SetResolver.getVariableList</h4> |
928 <b>getDictionary</b>(<i>var</i>) |
1034 <b>getVariableList</b>(<i>var</i>) |
929 |
1035 |
930 <p> |
1036 <p> |
931 Public method to get the attributes of a variable as a dictionary. |
1037 Public method to get the attributes of a variable as a list. |
932 </p> |
1038 </p> |
933 <dl> |
1039 <dl> |
934 |
1040 |
935 <dt><i>var</i> (any)</dt> |
1041 <dt><i>var</i> (any)</dt> |
936 <dd> |
1042 <dd> |
938 </dd> |
1044 </dd> |
939 </dl> |
1045 </dl> |
940 <dl> |
1046 <dl> |
941 <dt>Yield:</dt> |
1047 <dt>Yield:</dt> |
942 <dd> |
1048 <dd> |
943 tuple containing the batch start index and a dictionary |
1049 tuple containing the batch start index and a list |
944 containing the variable attributes |
1050 containing the variable attributes |
945 </dd> |
1051 </dd> |
946 </dl> |
1052 </dl> |
947 <dl> |
1053 <dl> |
948 <dt>Yield Type:</dt> |
1054 <dt>Yield Type:</dt> |
949 <dd> |
1055 <dd> |
950 tuple of (int, dict) |
1056 tuple of (int, list) |
951 </dd> |
1057 </dd> |
952 </dl> |
1058 </dl> |
953 <a NAME="SetResolver.resolve" ID="SetResolver.resolve"></a> |
1059 <a NAME="SetResolver.resolve" ID="SetResolver.resolve"></a> |
954 <h4>SetResolver.resolve</h4> |
1060 <h4>SetResolver.resolve</h4> |
955 <b>resolve</b>(<i>var, attribute</i>) |
1061 <b>resolve</b>(<i>var, attribute</i>) |
991 Protected function to initialize the type map. |
1097 Protected function to initialize the type map. |
992 </p> |
1098 </p> |
993 <div align="right"><a href="#top">Up</a></div> |
1099 <div align="right"><a href="#top">Up</a></div> |
994 <hr /> |
1100 <hr /> |
995 <hr /> |
1101 <hr /> |
996 <a NAME="getType" ID="getType"></a> |
1102 <a NAME="getResolver" ID="getResolver"></a> |
997 <h2>getType</h2> |
1103 <h2>getResolver</h2> |
998 <b>getType</b>(<i>obj</i>) |
1104 <b>getResolver</b>(<i>obj</i>) |
999 |
1105 |
1000 <p> |
1106 <p> |
1001 Public method to get the type information for an object. |
1107 Public method to get the resolver based on the type info of an object. |
1002 </p> |
1108 </p> |
1003 <dl> |
1109 <dl> |
1004 |
1110 |
1005 <dt><i>obj</i> (any)</dt> |
1111 <dt><i>obj</i> (any)</dt> |
1006 <dd> |
1112 <dd> |
1007 object to get type information for |
1113 object to get resolver for |
1008 </dd> |
1114 </dd> |
1009 </dl> |
1115 </dl> |
1010 <dl> |
1116 <dl> |
1011 <dt>Return:</dt> |
1117 <dt>Return:</dt> |
1012 <dd> |
1118 <dd> |
1013 tuple containing the type name, type string and resolver |
1119 resolver |
1014 </dd> |
1120 </dd> |
1015 </dl> |
1121 </dl> |
1016 <dl> |
1122 <dl> |
1017 <dt>Return Type:</dt> |
1123 <dt>Return Type:</dt> |
1018 <dd> |
1124 <dd> |
1019 tuple of str, str, BaseResolver |
1125 BaseResolver |
1020 </dd> |
1126 </dd> |
1021 </dl> |
1127 </dl> |
|
1128 <div align="right"><a href="#top">Up</a></div> |
|
1129 <hr /> |
|
1130 <hr /> |
|
1131 <a NAME="updateTypeMap" ID="updateTypeMap"></a> |
|
1132 <h2>updateTypeMap</h2> |
|
1133 <b>updateTypeMap</b>(<i></i>) |
|
1134 |
|
1135 <p> |
|
1136 Public function to update the type map based on module imports. |
|
1137 </p> |
1022 <div align="right"><a href="#top">Up</a></div> |
1138 <div align="right"><a href="#top">Up</a></div> |
1023 <hr /> |
1139 <hr /> |
1024 </body></html> |
1140 </body></html> |