/usr/lib/python2.7/dist-packages/openturns/common.py is in python-openturns 1.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
Utility classes.
"""
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_common', [dirname(__file__)])
except ImportError:
import _common
return _common
if fp is not None:
try:
_mod = imp.load_module('_common', fp, pathname, description)
finally:
fp.close()
return _mod
_common = swig_import_helper()
del swig_import_helper
else:
import _common
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
class SwigPyIterator(_object):
"""Proxy of C++ swig::SwigPyIterator class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _common.delete_SwigPyIterator
__del__ = lambda self : None;
def value(self):
"""value(SwigPyIterator self) -> PyObject *"""
return _common.SwigPyIterator_value(self)
def incr(self, n=1):
"""
incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
incr(SwigPyIterator self) -> SwigPyIterator
"""
return _common.SwigPyIterator_incr(self, n)
def decr(self, n=1):
"""
decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
decr(SwigPyIterator self) -> SwigPyIterator
"""
return _common.SwigPyIterator_decr(self, n)
def distance(self, *args):
"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
return _common.SwigPyIterator_distance(self, *args)
def equal(self, *args):
"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _common.SwigPyIterator_equal(self, *args)
def copy(self):
"""copy(SwigPyIterator self) -> SwigPyIterator"""
return _common.SwigPyIterator_copy(self)
def next(self):
"""next(SwigPyIterator self) -> PyObject *"""
return _common.SwigPyIterator_next(self)
def __next__(self):
"""__next__(SwigPyIterator self) -> PyObject *"""
return _common.SwigPyIterator___next__(self)
def previous(self):
"""previous(SwigPyIterator self) -> PyObject *"""
return _common.SwigPyIterator_previous(self)
def advance(self, *args):
"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _common.SwigPyIterator_advance(self, *args)
def __eq__(self, *args):
"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _common.SwigPyIterator___eq__(self, *args)
def __ne__(self, *args):
"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _common.SwigPyIterator___ne__(self, *args)
def __iadd__(self, *args):
"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _common.SwigPyIterator___iadd__(self, *args)
def __isub__(self, *args):
"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _common.SwigPyIterator___isub__(self, *args)
def __add__(self, *args):
"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _common.SwigPyIterator___add__(self, *args)
def __sub__(self, *args):
"""
__sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
__sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
"""
return _common.SwigPyIterator___sub__(self, *args)
def __iter__(self): return self
SwigPyIterator_swigregister = _common.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
GCC_VERSION = _common.GCC_VERSION
class TestFailed:
"""
TestFailed is used to raise an uniform exception in tests
"""
__type = "TestFailed"
def __init__(self,reason=""):
self.reason = reason
def type(self):
return TestFailed.__type
def what(self):
return self.reason
def __str__(self):
return TestFailed.__type + ": " + self.reason
def __lshift__(self,ch):
self.reason += ch
return self
def GetMemoryUsage():
"""GetMemoryUsage() -> size_t"""
return _common.GetMemoryUsage()
def GetFullMemoryUsage():
"""GetFullMemoryUsage() -> size_t"""
return _common.GetFullMemoryUsage()
def GetMaxMemoryUsage():
"""GetMaxMemoryUsage() -> size_t"""
return _common.GetMaxMemoryUsage()
def GetMaxFullMemoryUsage():
"""GetMaxFullMemoryUsage() -> size_t"""
return _common.GetMaxFullMemoryUsage()
def printMemoryUsage():
"""printMemoryUsage()"""
return _common.printMemoryUsage()
def printMemorySpectrum():
"""printMemorySpectrum()"""
return _common.printMemorySpectrum()
def SetMemoryFlag(*args):
"""SetMemoryFlag(bool arg1)"""
return _common.SetMemoryFlag(*args)
class Object(_object):
"""Proxy of C++ OT::Object class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Object, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Object, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.Object_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(Object self) -> OT::String"""
return _common.Object_getClassName(self)
__swig_destroy__ = _common.delete_Object
__del__ = lambda self : None;
def __repr__(self):
"""__repr__(Object self) -> OT::String"""
return _common.Object___repr__(self)
def __str__(self, offset=""):
"""
__str__(Object self, OT::String const & offset="") -> OT::String
__str__(Object self) -> OT::String
"""
return _common.Object___str__(self, offset)
Object_swigregister = _common.Object_swigregister
Object_swigregister(Object)
def Object_GetClassName():
"""Object_GetClassName() -> OT::String"""
return _common.Object_GetClassName()
import os
def Object___getstate__(self):
state = dict()
study = Study()
filename = Path.BuildTemporaryFileName('xmlfileXXXXXX')
# assume xml support
# should use BinaryStorageManager
with open(filename, 'rb+') as infile:
study.setStorageManager(XMLStorageManager(filename))
study.add('instance', self)
study.save()
infile.seek(0)
state['xmldata'] = infile.read()
os.remove(filename)
return state
Object.__getstate__ = Object___getstate__
def Object___setstate__(self, state):
# call ctor to initialize underlying cxx obj
# as it is instanciated from object.__new__
self.__init__()
study = Study()
filename = Path.BuildTemporaryFileName('xmlfileXXXXXX')
with open(filename, 'rb+') as outfile:
outfile.write(state['xmldata'])
outfile.seek(0)
study.setStorageManager(XMLStorageManager(filename))
study.load()
study.fillObject('instance', self)
os.remove(filename)
Object.__setstate__ = Object___setstate__
class PersistentObject(Object):
"""Proxy of C++ OT::PersistentObject class"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, PersistentObject, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, PersistentObject, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.PersistentObject_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(PersistentObject self) -> OT::String"""
return _common.PersistentObject_getClassName(self)
__swig_destroy__ = _common.delete_PersistentObject
__del__ = lambda self : None;
def __eq__(self, *args):
"""__eq__(PersistentObject self, PersistentObject other) -> OT::Bool"""
return _common.PersistentObject___eq__(self, *args)
def Is(self, *args):
"""Is(PersistentObject self, PersistentObject other) -> OT::Bool"""
return _common.PersistentObject_Is(self, *args)
def __repr__(self):
"""__repr__(PersistentObject self) -> OT::String"""
return _common.PersistentObject___repr__(self)
def __str__(self, offset=""):
"""
__str__(PersistentObject self, OT::String const & offset="") -> OT::String
__str__(PersistentObject self) -> OT::String
"""
return _common.PersistentObject___str__(self, offset)
def getId(self):
"""getId(PersistentObject self) -> OT::Id"""
return _common.PersistentObject_getId(self)
def setShadowedId(self, *args):
"""setShadowedId(PersistentObject self, OT::Id id)"""
return _common.PersistentObject_setShadowedId(self, *args)
def getShadowedId(self):
"""getShadowedId(PersistentObject self) -> OT::Id"""
return _common.PersistentObject_getShadowedId(self)
def setVisibility(self, *args):
"""setVisibility(PersistentObject self, OT::Bool visible)"""
return _common.PersistentObject_setVisibility(self, *args)
def getVisibility(self):
"""getVisibility(PersistentObject self) -> OT::Bool"""
return _common.PersistentObject_getVisibility(self)
def hasName(self):
"""hasName(PersistentObject self) -> OT::Bool"""
return _common.PersistentObject_hasName(self)
def hasVisibleName(self):
"""hasVisibleName(PersistentObject self) -> OT::Bool"""
return _common.PersistentObject_hasVisibleName(self)
def getName(self):
"""getName(PersistentObject self) -> OT::String"""
return _common.PersistentObject_getName(self)
def setName(self, *args):
"""setName(PersistentObject self, OT::String const & name)"""
return _common.PersistentObject_setName(self, *args)
PersistentObject_swigregister = _common.PersistentObject_swigregister
PersistentObject_swigregister(PersistentObject)
cvar = _common.cvar
DefaultName = cvar.DefaultName
def PersistentObject_GetClassName():
"""PersistentObject_GetClassName() -> OT::String"""
return _common.PersistentObject_GetClassName()
class dynamic_cast_tag(_object):
"""Proxy of C++ OT::dynamic_cast_tag class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, dynamic_cast_tag, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, dynamic_cast_tag, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(OT::dynamic_cast_tag self) -> dynamic_cast_tag"""
this = _common.new_dynamic_cast_tag()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_dynamic_cast_tag
__del__ = lambda self : None;
dynamic_cast_tag_swigregister = _common.dynamic_cast_tag_swigregister
dynamic_cast_tag_swigregister(dynamic_cast_tag)
class InterfaceObject(Object):
"""Proxy of C++ OT::InterfaceObject class"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, InterfaceObject, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, InterfaceObject, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.InterfaceObject_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(InterfaceObject self) -> OT::String"""
return _common.InterfaceObject_getClassName(self)
def __repr__(self):
"""__repr__(InterfaceObject self) -> OT::String"""
return _common.InterfaceObject___repr__(self)
def __str__(self, offset=""):
"""
__str__(InterfaceObject self, OT::String const & offset="") -> OT::String
__str__(InterfaceObject self) -> OT::String
"""
return _common.InterfaceObject___str__(self, offset)
def getImplementationAsPersistentObject(self):
"""getImplementationAsPersistentObject(InterfaceObject self) -> PersistentObjectPointer"""
return _common.InterfaceObject_getImplementationAsPersistentObject(self)
def setImplementationAsPersistentObject(self, *args):
"""setImplementationAsPersistentObject(InterfaceObject self, PersistentObjectPointer obj)"""
return _common.InterfaceObject_setImplementationAsPersistentObject(self, *args)
def getId(self):
"""getId(InterfaceObject self) -> OT::Id"""
return _common.InterfaceObject_getId(self)
def setName(self, *args):
"""setName(InterfaceObject self, OT::String const & name)"""
return _common.InterfaceObject_setName(self, *args)
def getName(self):
"""getName(InterfaceObject self) -> OT::String"""
return _common.InterfaceObject_getName(self)
__swig_destroy__ = _common.delete_InterfaceObject
__del__ = lambda self : None;
InterfaceObject_swigregister = _common.InterfaceObject_swigregister
InterfaceObject_swigregister(InterfaceObject)
def InterfaceObject_GetClassName():
"""InterfaceObject_GetClassName() -> OT::String"""
return _common.InterfaceObject_GetClassName()
class Study(Object):
"""Proxy of C++ OT::Study class"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Study, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Study, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.Study_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(Study self) -> OT::String"""
return _common.Study_getClassName(self)
def __repr__(self):
"""__repr__(Study self) -> OT::String"""
return _common.Study___repr__(self)
def __str__(self, offset=""):
"""
__str__(Study self, OT::String const & offset="") -> OT::String
__str__(Study self) -> OT::String
"""
return _common.Study___str__(self, offset)
def save(self):
"""save(Study self)"""
return _common.Study_save(self)
def load(self):
"""load(Study self)"""
return _common.Study_load(self)
def setStorageManager(self, *args):
"""setStorageManager(Study self, StorageManager smgr)"""
return _common.Study_setStorageManager(self, *args)
def getStorageManager(self):
"""getStorageManager(Study self) -> StorageManagerPointer"""
return _common.Study_getStorageManager(self)
def add(self, *args):
"""
add(Study self, InterfaceObject io)
add(Study self, OT::String const & label, InterfaceObject io, OT::Bool force=False)
add(Study self, OT::String const & label, InterfaceObject io)
add(Study self, PersistentObject po)
add(Study self, OT::String const & label, PersistentObject po, OT::Bool force=False)
add(Study self, OT::String const & label, PersistentObject po)
"""
return _common.Study_add(self, *args)
def remove(self, *args):
"""
remove(Study self, InterfaceObject io)
remove(Study self, OT::String const & label)
"""
return _common.Study_remove(self, *args)
def hasObject(self, *args):
"""
hasObject(Study self, OT::Id id) -> OT::Bool
hasObject(Study self, OT::String const & label) -> OT::Bool
"""
return _common.Study_hasObject(self, *args)
def getObject(self, *args):
"""
getObject(Study self, OT::Id id) -> PersistentObjectPointer
getObject(Study self, OT::String const & label) -> PersistentObjectPointer
"""
return _common.Study_getObject(self, *args)
def fillObjectByName(self, *args):
"""
fillObjectByName(Study self, PersistentObject po, OT::String const & name)
fillObjectByName(Study self, InterfaceObject io, OT::String const & name)
"""
return _common.Study_fillObjectByName(self, *args)
def fillObject(self, *args):
"""
fillObject(Study self, OT::Id id, PersistentObject po)
fillObject(Study self, OT::Id id, InterfaceObject io)
fillObject(Study self, OT::String const & name, PersistentObject po)
fillObject(Study self, OT::String const & name, InterfaceObject io)
"""
return _common.Study_fillObject(self, *args)
def __init__(self, *args):
"""
__init__(OT::Study self) -> Study
__init__(OT::Study self, Study other) -> Study
"""
this = _common.new_Study(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_Study
__del__ = lambda self : None;
Study_swigregister = _common.Study_swigregister
Study_swigregister(Study)
def Study_GetClassName():
"""Study_GetClassName() -> OT::String"""
return _common.Study_GetClassName()
class SaveAction(_object):
"""Proxy of C++ OT::SaveAction class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SaveAction, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SaveAction, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(OT::SaveAction self) -> SaveAction"""
this = _common.new_SaveAction()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_SaveAction
__del__ = lambda self : None;
SaveAction_swigregister = _common.SaveAction_swigregister
SaveAction_swigregister(SaveAction)
class LoadAction(_object):
"""Proxy of C++ OT::LoadAction class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, LoadAction, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, LoadAction, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(OT::LoadAction self) -> LoadAction"""
this = _common.new_LoadAction()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_LoadAction
__del__ = lambda self : None;
LoadAction_swigregister = _common.LoadAction_swigregister
LoadAction_swigregister(LoadAction)
class StorageManager(Object):
"""Proxy of C++ OT::StorageManager class"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, StorageManager, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, StorageManager, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.StorageManager_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(StorageManager self) -> OT::String"""
return _common.StorageManager_getClassName(self)
def __init__(self, defaultVersion=1):
"""
__init__(OT::StorageManager self, OT::UnsignedLong defaultVersion=1) -> StorageManager
__init__(OT::StorageManager self) -> StorageManager
"""
this = _common.new_StorageManager(defaultVersion)
try: self.this.append(this)
except: self.this = this
def __repr__(self):
"""__repr__(StorageManager self) -> OT::String"""
return _common.StorageManager___repr__(self)
def save(self, *args):
"""
save(StorageManager self, PersistentObject obj, OT::String const & label, bool fromStudy=False)
save(StorageManager self, PersistentObject obj, OT::String const & label)
"""
return _common.StorageManager_save(self, *args)
def load(self, *args):
"""load(StorageManager self, Study study)"""
return _common.StorageManager_load(self, *args)
def getStudy(self):
"""getStudy(StorageManager self) -> Study"""
return _common.StorageManager_getStudy(self)
def setStudy(self, *args):
"""setStudy(StorageManager self, Study p_study)"""
return _common.StorageManager_setStudy(self, *args)
def getDefaultStudyVersion(self):
"""getDefaultStudyVersion(StorageManager self) -> OT::UnsignedLong"""
return _common.StorageManager_getDefaultStudyVersion(self)
def getStudyVersion(self):
"""getStudyVersion(StorageManager self) -> OT::UnsignedLong"""
return _common.StorageManager_getStudyVersion(self)
def setStudyVersion(self, *args):
"""setStudyVersion(StorageManager self, OT::UnsignedLong version)"""
return _common.StorageManager_setStudyVersion(self, *args)
def initialize(self, *args):
"""
initialize(StorageManager self, SaveAction caller)
initialize(StorageManager self, LoadAction caller)
"""
return _common.StorageManager_initialize(self, *args)
def finalize(self, *args):
"""
finalize(StorageManager self, SaveAction caller)
finalize(StorageManager self, LoadAction caller)
"""
return _common.StorageManager_finalize(self, *args)
def read(self):
"""read(StorageManager self)"""
return _common.StorageManager_read(self)
def write(self):
"""write(StorageManager self)"""
return _common.StorageManager_write(self)
def isSavedObject(self, *args):
"""isSavedObject(StorageManager self, OT::Id id) -> OT::Bool"""
return _common.StorageManager_isSavedObject(self, *args)
def markObjectAsSaved(self, *args):
"""markObjectAsSaved(StorageManager self, OT::Id id)"""
return _common.StorageManager_markObjectAsSaved(self, *args)
__swig_destroy__ = _common.delete_StorageManager
__del__ = lambda self : None;
StorageManager_swigregister = _common.StorageManager_swigregister
StorageManager_swigregister(StorageManager)
def StorageManager_GetClassName():
"""StorageManager_GetClassName() -> OT::String"""
return _common.StorageManager_GetClassName()
class VersionList(_object):
"""Proxy of C++ OT::VersionList class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, VersionList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, VersionList, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(OT::VersionList self) -> VersionList"""
this = _common.new_VersionList()
try: self.this.append(this)
except: self.this = this
def contains(self, *args):
"""contains(VersionList self, OT::UnsignedLong v) -> OT::Bool"""
return _common.VersionList_contains(self, *args)
__swig_destroy__ = _common.delete_VersionList
__del__ = lambda self : None;
VersionList_swigregister = _common.VersionList_swigregister
VersionList_swigregister(VersionList)
class XMLStorageManager(StorageManager):
"""Proxy of C++ OT::XMLStorageManager class"""
__swig_setmethods__ = {}
for _s in [StorageManager]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, XMLStorageManager, name, value)
__swig_getmethods__ = {}
for _s in [StorageManager]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, XMLStorageManager, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.XMLStorageManager_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(XMLStorageManager self) -> OT::String"""
return _common.XMLStorageManager_getClassName(self)
def __init__(self, *args):
"""__init__(OT::XMLStorageManager self, OT::FileName const & filename) -> XMLStorageManager"""
this = _common.new_XMLStorageManager(*args)
try: self.this.append(this)
except: self.this = this
def __repr__(self):
"""__repr__(XMLStorageManager self) -> OT::String"""
return _common.XMLStorageManager___repr__(self)
def getFileName(self):
"""getFileName(XMLStorageManager self) -> OT::String"""
return _common.XMLStorageManager_getFileName(self)
def setFileName(self, *args):
"""setFileName(XMLStorageManager self, OT::String const & fileName)"""
return _common.XMLStorageManager_setFileName(self, *args)
def save(self, *args):
"""
save(XMLStorageManager self, PersistentObject obj, OT::String const & label, bool fromStudy=False)
save(XMLStorageManager self, PersistentObject obj, OT::String const & label)
"""
return _common.XMLStorageManager_save(self, *args)
def load(self, *args):
"""load(XMLStorageManager self, Study study)"""
return _common.XMLStorageManager_load(self, *args)
def initialize(self, *args):
"""
initialize(XMLStorageManager self, SaveAction caller)
initialize(XMLStorageManager self, LoadAction caller)
"""
return _common.XMLStorageManager_initialize(self, *args)
def finalize(self, *args):
"""
finalize(XMLStorageManager self, SaveAction caller)
finalize(XMLStorageManager self, LoadAction caller)
"""
return _common.XMLStorageManager_finalize(self, *args)
def read(self):
"""read(XMLStorageManager self)"""
return _common.XMLStorageManager_read(self)
def write(self):
"""write(XMLStorageManager self)"""
return _common.XMLStorageManager_write(self)
__swig_destroy__ = _common.delete_XMLStorageManager
__del__ = lambda self : None;
XMLStorageManager_swigregister = _common.XMLStorageManager_swigregister
XMLStorageManager_swigregister(XMLStorageManager)
def XMLStorageManager_GetClassName():
"""XMLStorageManager_GetClassName() -> OT::String"""
return _common.XMLStorageManager_GetClassName()
XMLStorageManager.SupportedVersions = _common.cvar.XMLStorageManager_SupportedVersions
XMLStorageManager.Precision_ = _common.cvar.XMLStorageManager_Precision_
class TTY(_object):
"""Proxy of C++ OT::TTY class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, TTY, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, TTY, name)
__repr__ = _swig_repr
DEFAULT = _common.TTY_DEFAULT
BOLD = _common.TTY_BOLD
UNDERLINE = _common.TTY_UNDERLINE
BLINK = _common.TTY_BLINK
BLACKFG = _common.TTY_BLACKFG
REDFG = _common.TTY_REDFG
GREENFG = _common.TTY_GREENFG
YELLOWFG = _common.TTY_YELLOWFG
BLUEFG = _common.TTY_BLUEFG
PURPLEFG = _common.TTY_PURPLEFG
CYANFG = _common.TTY_CYANFG
WHITEFG = _common.TTY_WHITEFG
BLACKBG = _common.TTY_BLACKBG
REDBG = _common.TTY_REDBG
GREENBG = _common.TTY_GREENBG
YELLOWBG = _common.TTY_YELLOWBG
BLUEBG = _common.TTY_BLUEBG
PURPLEBG = _common.TTY_PURPLEBG
CYANBG = _common.TTY_CYANBG
WHITEBG = _common.TTY_WHITEBG
LASTCOLOR = _common.TTY_LASTCOLOR
def GetColor(*args):
"""GetColor(OT::TTY::Color c) -> char const *"""
return _common.TTY_GetColor(*args)
if _newclass:GetColor = staticmethod(GetColor)
__swig_getmethods__["GetColor"] = lambda x: GetColor
def ShowColors(*args):
"""ShowColors(OT::Bool flag)"""
return _common.TTY_ShowColors(*args)
if _newclass:ShowColors = staticmethod(ShowColors)
__swig_getmethods__["ShowColors"] = lambda x: ShowColors
def ColoredOutput():
"""ColoredOutput() -> OT::Bool"""
return _common.TTY_ColoredOutput()
if _newclass:ColoredOutput = staticmethod(ColoredOutput)
__swig_getmethods__["ColoredOutput"] = lambda x: ColoredOutput
def __init__(self):
"""__init__(OT::TTY self) -> TTY"""
this = _common.new_TTY()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_TTY
__del__ = lambda self : None;
TTY_swigregister = _common.TTY_swigregister
TTY_swigregister(TTY)
def TTY_GetColor(*args):
"""TTY_GetColor(OT::TTY::Color c) -> char const *"""
return _common.TTY_GetColor(*args)
def TTY_ShowColors(*args):
"""TTY_ShowColors(OT::Bool flag)"""
return _common.TTY_ShowColors(*args)
def TTY_ColoredOutput():
"""TTY_ColoredOutput() -> OT::Bool"""
return _common.TTY_ColoredOutput()
class Log(_object):
"""Proxy of C++ OT::Log class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Log, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Log, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def Debug(*args):
"""Debug(OT::String const & msg)"""
return _common.Log_Debug(*args)
if _newclass:Debug = staticmethod(Debug)
__swig_getmethods__["Debug"] = lambda x: Debug
def HasDebug():
"""HasDebug() -> OT::Bool"""
return _common.Log_HasDebug()
if _newclass:HasDebug = staticmethod(HasDebug)
__swig_getmethods__["HasDebug"] = lambda x: HasDebug
def Wrapper(*args):
"""Wrapper(OT::String const & msg)"""
return _common.Log_Wrapper(*args)
if _newclass:Wrapper = staticmethod(Wrapper)
__swig_getmethods__["Wrapper"] = lambda x: Wrapper
def HasWrapper():
"""HasWrapper() -> OT::Bool"""
return _common.Log_HasWrapper()
if _newclass:HasWrapper = staticmethod(HasWrapper)
__swig_getmethods__["HasWrapper"] = lambda x: HasWrapper
def Info(*args):
"""Info(OT::String const & msg)"""
return _common.Log_Info(*args)
if _newclass:Info = staticmethod(Info)
__swig_getmethods__["Info"] = lambda x: Info
def HasInfo():
"""HasInfo() -> OT::Bool"""
return _common.Log_HasInfo()
if _newclass:HasInfo = staticmethod(HasInfo)
__swig_getmethods__["HasInfo"] = lambda x: HasInfo
def User(*args):
"""User(OT::String const & msg)"""
return _common.Log_User(*args)
if _newclass:User = staticmethod(User)
__swig_getmethods__["User"] = lambda x: User
def HasUser():
"""HasUser() -> OT::Bool"""
return _common.Log_HasUser()
if _newclass:HasUser = staticmethod(HasUser)
__swig_getmethods__["HasUser"] = lambda x: HasUser
def Warn(*args):
"""Warn(OT::String const & msg)"""
return _common.Log_Warn(*args)
if _newclass:Warn = staticmethod(Warn)
__swig_getmethods__["Warn"] = lambda x: Warn
def HasWarn():
"""HasWarn() -> OT::Bool"""
return _common.Log_HasWarn()
if _newclass:HasWarn = staticmethod(HasWarn)
__swig_getmethods__["HasWarn"] = lambda x: HasWarn
def Error(*args):
"""Error(OT::String const & msg)"""
return _common.Log_Error(*args)
if _newclass:Error = staticmethod(Error)
__swig_getmethods__["Error"] = lambda x: Error
def HasError():
"""HasError() -> OT::Bool"""
return _common.Log_HasError()
if _newclass:HasError = staticmethod(HasError)
__swig_getmethods__["HasError"] = lambda x: HasError
def Trace(*args):
"""Trace(OT::String const & msg)"""
return _common.Log_Trace(*args)
if _newclass:Trace = staticmethod(Trace)
__swig_getmethods__["Trace"] = lambda x: Trace
def HasTrace():
"""HasTrace() -> OT::Bool"""
return _common.Log_HasTrace()
if _newclass:HasTrace = staticmethod(HasTrace)
__swig_getmethods__["HasTrace"] = lambda x: HasTrace
def SetFile(*args):
"""SetFile(OT::FileName const & file)"""
return _common.Log_SetFile(*args)
if _newclass:SetFile = staticmethod(SetFile)
__swig_getmethods__["SetFile"] = lambda x: SetFile
def Show(*args):
"""Show(OT::Log::Severity flags)"""
return _common.Log_Show(*args)
if _newclass:Show = staticmethod(Show)
__swig_getmethods__["Show"] = lambda x: Show
def Flags():
"""Flags() -> OT::Log::Severity"""
return _common.Log_Flags()
if _newclass:Flags = staticmethod(Flags)
__swig_getmethods__["Flags"] = lambda x: Flags
def Flush():
"""Flush()"""
return _common.Log_Flush()
if _newclass:Flush = staticmethod(Flush)
__swig_getmethods__["Flush"] = lambda x: Flush
def Repeat(*args):
"""Repeat(OT::Bool repeat)"""
return _common.Log_Repeat(*args)
if _newclass:Repeat = staticmethod(Repeat)
__swig_getmethods__["Repeat"] = lambda x: Repeat
def SetColor(*args):
"""
SetColor(OT::Log::Severity const severity, OT::TTY::Color const color)
SetColor(OT::Log::Severity const severity, OT::String const & color)
"""
return _common.Log_SetColor(*args)
if _newclass:SetColor = staticmethod(SetColor)
__swig_getmethods__["SetColor"] = lambda x: SetColor
def GetColor(*args):
"""GetColor(OT::Log::Severity const severity) -> OT::String"""
return _common.Log_GetColor(*args)
if _newclass:GetColor = staticmethod(GetColor)
__swig_getmethods__["GetColor"] = lambda x: GetColor
__swig_destroy__ = _common.delete_Log
__del__ = lambda self : None;
Log_swigregister = _common.Log_swigregister
Log_swigregister(Log)
Log.DBG = _common.cvar.Log_DBG
Log.WRAPPER = _common.cvar.Log_WRAPPER
Log.INFO = _common.cvar.Log_INFO
Log.USER = _common.cvar.Log_USER
Log.WARN = _common.cvar.Log_WARN
Log.ERROR = _common.cvar.Log_ERROR
Log.TRACE = _common.cvar.Log_TRACE
Log.DEFAULT = _common.cvar.Log_DEFAULT
Log.NONE = _common.cvar.Log_NONE
Log.ALL = _common.cvar.Log_ALL
def Log_Debug(*args):
"""Log_Debug(OT::String const & msg)"""
return _common.Log_Debug(*args)
def Log_HasDebug():
"""Log_HasDebug() -> OT::Bool"""
return _common.Log_HasDebug()
def Log_Wrapper(*args):
"""Log_Wrapper(OT::String const & msg)"""
return _common.Log_Wrapper(*args)
def Log_HasWrapper():
"""Log_HasWrapper() -> OT::Bool"""
return _common.Log_HasWrapper()
def Log_Info(*args):
"""Log_Info(OT::String const & msg)"""
return _common.Log_Info(*args)
def Log_HasInfo():
"""Log_HasInfo() -> OT::Bool"""
return _common.Log_HasInfo()
def Log_User(*args):
"""Log_User(OT::String const & msg)"""
return _common.Log_User(*args)
def Log_HasUser():
"""Log_HasUser() -> OT::Bool"""
return _common.Log_HasUser()
def Log_Warn(*args):
"""Log_Warn(OT::String const & msg)"""
return _common.Log_Warn(*args)
def Log_HasWarn():
"""Log_HasWarn() -> OT::Bool"""
return _common.Log_HasWarn()
def Log_Error(*args):
"""Log_Error(OT::String const & msg)"""
return _common.Log_Error(*args)
def Log_HasError():
"""Log_HasError() -> OT::Bool"""
return _common.Log_HasError()
def Log_Trace(*args):
"""Log_Trace(OT::String const & msg)"""
return _common.Log_Trace(*args)
def Log_HasTrace():
"""Log_HasTrace() -> OT::Bool"""
return _common.Log_HasTrace()
def Log_SetFile(*args):
"""Log_SetFile(OT::FileName const & file)"""
return _common.Log_SetFile(*args)
def Log_Show(*args):
"""Log_Show(OT::Log::Severity flags)"""
return _common.Log_Show(*args)
def Log_Flags():
"""Log_Flags() -> OT::Log::Severity"""
return _common.Log_Flags()
def Log_Flush():
"""Log_Flush()"""
return _common.Log_Flush()
def Log_Repeat(*args):
"""Log_Repeat(OT::Bool repeat)"""
return _common.Log_Repeat(*args)
def Log_SetColor(*args):
"""
SetColor(OT::Log::Severity const severity, OT::TTY::Color const color)
Log_SetColor(OT::Log::Severity const severity, OT::String const & color)
"""
return _common.Log_SetColor(*args)
def Log_GetColor(*args):
"""Log_GetColor(OT::Log::Severity const severity) -> OT::String"""
return _common.Log_GetColor(*args)
class Log_init(_object):
"""Proxy of C++ OT::Log_init class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Log_init, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Log_init, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(OT::Log_init self) -> Log_init"""
this = _common.new_Log_init()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_Log_init
__del__ = lambda self : None;
Log_init_swigregister = _common.Log_init_swigregister
Log_init_swigregister(Log_init)
class DirectoryList(_object):
"""Proxy of C++ std::vector<(OT::FileName)> class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DirectoryList, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DirectoryList, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(DirectoryList self) -> SwigPyIterator"""
return _common.DirectoryList_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self):
"""__nonzero__(DirectoryList self) -> bool"""
return _common.DirectoryList___nonzero__(self)
def __bool__(self):
"""__bool__(DirectoryList self) -> bool"""
return _common.DirectoryList___bool__(self)
def __len__(self):
"""__len__(DirectoryList self) -> std::vector< std::string >::size_type"""
return _common.DirectoryList___len__(self)
def pop(self):
"""pop(DirectoryList self) -> std::vector< std::string >::value_type"""
return _common.DirectoryList_pop(self)
def __getslice__(self, *args):
"""__getslice__(DirectoryList self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) -> DirectoryList"""
return _common.DirectoryList___getslice__(self, *args)
def __setslice__(self, *args):
"""
__setslice__(DirectoryList self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j,
DirectoryList v=std::vector< std::string,std::allocator< std::string > >())
__setslice__(DirectoryList self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)
"""
return _common.DirectoryList___setslice__(self, *args)
def __delslice__(self, *args):
"""__delslice__(DirectoryList self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)"""
return _common.DirectoryList___delslice__(self, *args)
def __delitem__(self, *args):
"""
__delitem__(DirectoryList self, std::vector< std::string >::difference_type i)
__delitem__(DirectoryList self, PySliceObject * slice)
"""
return _common.DirectoryList___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(DirectoryList self, PySliceObject * slice) -> DirectoryList
__getitem__(DirectoryList self, std::vector< std::string >::difference_type i) -> std::vector< std::string >::value_type const &
"""
return _common.DirectoryList___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(DirectoryList self, PySliceObject * slice, DirectoryList v)
__setitem__(DirectoryList self, PySliceObject * slice)
__setitem__(DirectoryList self, std::vector< std::string >::difference_type i, std::vector< std::string >::value_type const & x)
"""
return _common.DirectoryList___setitem__(self, *args)
def append(self, *args):
"""append(DirectoryList self, std::vector< std::string >::value_type const & x)"""
return _common.DirectoryList_append(self, *args)
def empty(self):
"""empty(DirectoryList self) -> bool"""
return _common.DirectoryList_empty(self)
def size(self):
"""size(DirectoryList self) -> std::vector< std::string >::size_type"""
return _common.DirectoryList_size(self)
def clear(self):
"""clear(DirectoryList self)"""
return _common.DirectoryList_clear(self)
def swap(self, *args):
"""swap(DirectoryList self, DirectoryList v)"""
return _common.DirectoryList_swap(self, *args)
def get_allocator(self):
"""get_allocator(DirectoryList self) -> std::vector< std::string >::allocator_type"""
return _common.DirectoryList_get_allocator(self)
def begin(self):
"""begin(DirectoryList self) -> std::vector< std::string >::iterator"""
return _common.DirectoryList_begin(self)
def end(self):
"""end(DirectoryList self) -> std::vector< std::string >::iterator"""
return _common.DirectoryList_end(self)
def rbegin(self):
"""rbegin(DirectoryList self) -> std::vector< std::string >::reverse_iterator"""
return _common.DirectoryList_rbegin(self)
def rend(self):
"""rend(DirectoryList self) -> std::vector< std::string >::reverse_iterator"""
return _common.DirectoryList_rend(self)
def pop_back(self):
"""pop_back(DirectoryList self)"""
return _common.DirectoryList_pop_back(self)
def erase(self, *args):
"""
erase(DirectoryList self, std::vector< std::string >::iterator pos) -> std::vector< std::string >::iterator
erase(DirectoryList self, std::vector< std::string >::iterator first, std::vector< std::string >::iterator last) -> std::vector< std::string >::iterator
"""
return _common.DirectoryList_erase(self, *args)
def __init__(self, *args):
"""
__init__(std::vector<(OT::FileName)> self) -> DirectoryList
__init__(std::vector<(OT::FileName)> self, DirectoryList arg2) -> DirectoryList
__init__(std::vector<(OT::FileName)> self, std::vector< std::string >::size_type size) -> DirectoryList
__init__(std::vector<(OT::FileName)> self, std::vector< std::string >::size_type size, std::vector< std::string >::value_type const & value) -> DirectoryList
"""
this = _common.new_DirectoryList(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args):
"""push_back(DirectoryList self, std::vector< std::string >::value_type const & x)"""
return _common.DirectoryList_push_back(self, *args)
def front(self):
"""front(DirectoryList self) -> std::vector< std::string >::value_type const &"""
return _common.DirectoryList_front(self)
def back(self):
"""back(DirectoryList self) -> std::vector< std::string >::value_type const &"""
return _common.DirectoryList_back(self)
def assign(self, *args):
"""assign(DirectoryList self, std::vector< std::string >::size_type n, std::vector< std::string >::value_type const & x)"""
return _common.DirectoryList_assign(self, *args)
def resize(self, *args):
"""
resize(DirectoryList self, std::vector< std::string >::size_type new_size)
resize(DirectoryList self, std::vector< std::string >::size_type new_size, std::vector< std::string >::value_type const & x)
"""
return _common.DirectoryList_resize(self, *args)
def insert(self, *args):
"""
insert(DirectoryList self, std::vector< std::string >::iterator pos, std::vector< std::string >::value_type const & x) -> std::vector< std::string >::iterator
insert(DirectoryList self, std::vector< std::string >::iterator pos, std::vector< std::string >::size_type n,
std::vector< std::string >::value_type const & x)
"""
return _common.DirectoryList_insert(self, *args)
def reserve(self, *args):
"""reserve(DirectoryList self, std::vector< std::string >::size_type n)"""
return _common.DirectoryList_reserve(self, *args)
def capacity(self):
"""capacity(DirectoryList self) -> std::vector< std::string >::size_type"""
return _common.DirectoryList_capacity(self)
__swig_destroy__ = _common.delete_DirectoryList
__del__ = lambda self : None;
DirectoryList_swigregister = _common.DirectoryList_swigregister
DirectoryList_swigregister(DirectoryList)
class Path(_object):
"""Proxy of C++ OT::Path class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Path, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Path, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def GetInstallationDirectory():
"""GetInstallationDirectory() -> OT::FileName"""
return _common.Path_GetInstallationDirectory()
if _newclass:GetInstallationDirectory = staticmethod(GetInstallationDirectory)
__swig_getmethods__["GetInstallationDirectory"] = lambda x: GetInstallationDirectory
def GetModuleDirectory():
"""GetModuleDirectory() -> OT::FileName"""
return _common.Path_GetModuleDirectory()
if _newclass:GetModuleDirectory = staticmethod(GetModuleDirectory)
__swig_getmethods__["GetModuleDirectory"] = lambda x: GetModuleDirectory
def GetStandardWrapperDirectory():
"""GetStandardWrapperDirectory() -> OT::FileName"""
return _common.Path_GetStandardWrapperDirectory()
if _newclass:GetStandardWrapperDirectory = staticmethod(GetStandardWrapperDirectory)
__swig_getmethods__["GetStandardWrapperDirectory"] = lambda x: GetStandardWrapperDirectory
def GetWrapperDirectoryList():
"""GetWrapperDirectoryList() -> DirectoryList"""
return _common.Path_GetWrapperDirectoryList()
if _newclass:GetWrapperDirectoryList = staticmethod(GetWrapperDirectoryList)
__swig_getmethods__["GetWrapperDirectoryList"] = lambda x: GetWrapperDirectoryList
def GetConfigDirectoryList():
"""GetConfigDirectoryList() -> DirectoryList"""
return _common.Path_GetConfigDirectoryList()
if _newclass:GetConfigDirectoryList = staticmethod(GetConfigDirectoryList)
__swig_getmethods__["GetConfigDirectoryList"] = lambda x: GetConfigDirectoryList
def FindFileByNameInDirectoryList(*args):
"""FindFileByNameInDirectoryList(OT::FileName const & name, DirectoryList dirList) -> OT::FileName"""
return _common.Path_FindFileByNameInDirectoryList(*args)
if _newclass:FindFileByNameInDirectoryList = staticmethod(FindFileByNameInDirectoryList)
__swig_getmethods__["FindFileByNameInDirectoryList"] = lambda x: FindFileByNameInDirectoryList
def GetTemporaryDirectory():
"""GetTemporaryDirectory() -> OT::FileName"""
return _common.Path_GetTemporaryDirectory()
if _newclass:GetTemporaryDirectory = staticmethod(GetTemporaryDirectory)
__swig_getmethods__["GetTemporaryDirectory"] = lambda x: GetTemporaryDirectory
def BuildTemporaryFileName(*args):
"""BuildTemporaryFileName(OT::FileName const & pattern) -> OT::FileName"""
return _common.Path_BuildTemporaryFileName(*args)
if _newclass:BuildTemporaryFileName = staticmethod(BuildTemporaryFileName)
__swig_getmethods__["BuildTemporaryFileName"] = lambda x: BuildTemporaryFileName
def CreateTemporaryDirectory(*args):
"""CreateTemporaryDirectory(OT::FileName const & directoryPrefix) -> OT::FileName"""
return _common.Path_CreateTemporaryDirectory(*args)
if _newclass:CreateTemporaryDirectory = staticmethod(CreateTemporaryDirectory)
__swig_getmethods__["CreateTemporaryDirectory"] = lambda x: CreateTemporaryDirectory
def DeleteTemporaryDirectory(*args):
"""DeleteTemporaryDirectory(OT::FileName const & directoryName)"""
return _common.Path_DeleteTemporaryDirectory(*args)
if _newclass:DeleteTemporaryDirectory = staticmethod(DeleteTemporaryDirectory)
__swig_getmethods__["DeleteTemporaryDirectory"] = lambda x: DeleteTemporaryDirectory
__swig_destroy__ = _common.delete_Path
__del__ = lambda self : None;
Path_swigregister = _common.Path_swigregister
Path_swigregister(Path)
def Path_GetInstallationDirectory():
"""Path_GetInstallationDirectory() -> OT::FileName"""
return _common.Path_GetInstallationDirectory()
def Path_GetModuleDirectory():
"""Path_GetModuleDirectory() -> OT::FileName"""
return _common.Path_GetModuleDirectory()
def Path_GetStandardWrapperDirectory():
"""Path_GetStandardWrapperDirectory() -> OT::FileName"""
return _common.Path_GetStandardWrapperDirectory()
def Path_GetWrapperDirectoryList():
"""Path_GetWrapperDirectoryList() -> DirectoryList"""
return _common.Path_GetWrapperDirectoryList()
def Path_GetConfigDirectoryList():
"""Path_GetConfigDirectoryList() -> DirectoryList"""
return _common.Path_GetConfigDirectoryList()
def Path_FindFileByNameInDirectoryList(*args):
"""Path_FindFileByNameInDirectoryList(OT::FileName const & name, DirectoryList dirList) -> OT::FileName"""
return _common.Path_FindFileByNameInDirectoryList(*args)
def Path_GetTemporaryDirectory():
"""Path_GetTemporaryDirectory() -> OT::FileName"""
return _common.Path_GetTemporaryDirectory()
def Path_BuildTemporaryFileName(*args):
"""Path_BuildTemporaryFileName(OT::FileName const & pattern) -> OT::FileName"""
return _common.Path_BuildTemporaryFileName(*args)
def Path_CreateTemporaryDirectory(*args):
"""Path_CreateTemporaryDirectory(OT::FileName const & directoryPrefix) -> OT::FileName"""
return _common.Path_CreateTemporaryDirectory(*args)
def Path_DeleteTemporaryDirectory(*args):
"""Path_DeleteTemporaryDirectory(OT::FileName const & directoryName)"""
return _common.Path_DeleteTemporaryDirectory(*args)
class StringStringMap(_object):
"""Proxy of C++ std::map<(OT::String,OT::String)> class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StringStringMap, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StringStringMap, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(StringStringMap self) -> SwigPyIterator"""
return _common.StringStringMap_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self):
"""__nonzero__(StringStringMap self) -> bool"""
return _common.StringStringMap___nonzero__(self)
def __bool__(self):
"""__bool__(StringStringMap self) -> bool"""
return _common.StringStringMap___bool__(self)
def __len__(self):
"""__len__(StringStringMap self) -> std::map< std::string,std::string >::size_type"""
return _common.StringStringMap___len__(self)
def __iter__(self): return self.key_iterator()
def iterkeys(self): return self.key_iterator()
def itervalues(self): return self.value_iterator()
def iteritems(self): return self.iterator()
def __getitem__(self, *args):
"""__getitem__(StringStringMap self, std::map< std::string,std::string >::key_type const & key) -> std::map< std::string,std::string >::mapped_type const &"""
return _common.StringStringMap___getitem__(self, *args)
def __delitem__(self, *args):
"""__delitem__(StringStringMap self, std::map< std::string,std::string >::key_type const & key)"""
return _common.StringStringMap___delitem__(self, *args)
def has_key(self, *args):
"""has_key(StringStringMap self, std::map< std::string,std::string >::key_type const & key) -> bool"""
return _common.StringStringMap_has_key(self, *args)
def keys(self):
"""keys(StringStringMap self) -> PyObject *"""
return _common.StringStringMap_keys(self)
def values(self):
"""values(StringStringMap self) -> PyObject *"""
return _common.StringStringMap_values(self)
def items(self):
"""items(StringStringMap self) -> PyObject *"""
return _common.StringStringMap_items(self)
def __contains__(self, *args):
"""__contains__(StringStringMap self, std::map< std::string,std::string >::key_type const & key) -> bool"""
return _common.StringStringMap___contains__(self, *args)
def key_iterator(self):
"""key_iterator(StringStringMap self) -> SwigPyIterator"""
return _common.StringStringMap_key_iterator(self)
def value_iterator(self):
"""value_iterator(StringStringMap self) -> SwigPyIterator"""
return _common.StringStringMap_value_iterator(self)
def __setitem__(self, *args):
"""
__setitem__(StringStringMap self, std::map< std::string,std::string >::key_type const & key)
__setitem__(StringStringMap self, std::map< std::string,std::string >::key_type const & key, std::map< std::string,std::string >::mapped_type const & x)
"""
return _common.StringStringMap___setitem__(self, *args)
def asdict(self):
"""asdict(StringStringMap self) -> PyObject *"""
return _common.StringStringMap_asdict(self)
def __init__(self, *args):
"""
__init__(std::map<(OT::String,OT::String)> self, std::less< std::string > const & arg2) -> StringStringMap
__init__(std::map<(OT::String,OT::String)> self) -> StringStringMap
__init__(std::map<(OT::String,OT::String)> self, StringStringMap arg2) -> StringStringMap
"""
this = _common.new_StringStringMap(*args)
try: self.this.append(this)
except: self.this = this
def empty(self):
"""empty(StringStringMap self) -> bool"""
return _common.StringStringMap_empty(self)
def size(self):
"""size(StringStringMap self) -> std::map< std::string,std::string >::size_type"""
return _common.StringStringMap_size(self)
def clear(self):
"""clear(StringStringMap self)"""
return _common.StringStringMap_clear(self)
def swap(self, *args):
"""swap(StringStringMap self, StringStringMap v)"""
return _common.StringStringMap_swap(self, *args)
def get_allocator(self):
"""get_allocator(StringStringMap self) -> std::map< std::string,std::string >::allocator_type"""
return _common.StringStringMap_get_allocator(self)
def begin(self):
"""begin(StringStringMap self) -> std::map< std::string,std::string >::iterator"""
return _common.StringStringMap_begin(self)
def end(self):
"""end(StringStringMap self) -> std::map< std::string,std::string >::iterator"""
return _common.StringStringMap_end(self)
def rbegin(self):
"""rbegin(StringStringMap self) -> std::map< std::string,std::string >::reverse_iterator"""
return _common.StringStringMap_rbegin(self)
def rend(self):
"""rend(StringStringMap self) -> std::map< std::string,std::string >::reverse_iterator"""
return _common.StringStringMap_rend(self)
def count(self, *args):
"""count(StringStringMap self, std::map< std::string,std::string >::key_type const & x) -> std::map< std::string,std::string >::size_type"""
return _common.StringStringMap_count(self, *args)
def erase(self, *args):
"""
erase(StringStringMap self, std::map< std::string,std::string >::key_type const & x) -> std::map< std::string,std::string >::size_type
erase(StringStringMap self, std::map< std::string,std::string >::iterator position)
erase(StringStringMap self, std::map< std::string,std::string >::iterator first, std::map< std::string,std::string >::iterator last)
"""
return _common.StringStringMap_erase(self, *args)
def find(self, *args):
"""find(StringStringMap self, std::map< std::string,std::string >::key_type const & x) -> std::map< std::string,std::string >::iterator"""
return _common.StringStringMap_find(self, *args)
def lower_bound(self, *args):
"""lower_bound(StringStringMap self, std::map< std::string,std::string >::key_type const & x) -> std::map< std::string,std::string >::iterator"""
return _common.StringStringMap_lower_bound(self, *args)
def upper_bound(self, *args):
"""upper_bound(StringStringMap self, std::map< std::string,std::string >::key_type const & x) -> std::map< std::string,std::string >::iterator"""
return _common.StringStringMap_upper_bound(self, *args)
__swig_destroy__ = _common.delete_StringStringMap
__del__ = lambda self : None;
StringStringMap_swigregister = _common.StringStringMap_swigregister
StringStringMap_swigregister(StringStringMap)
class ResourceMapInstance(_object):
"""Proxy of C++ OT::ResourceMapInstance class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ResourceMapInstance, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ResourceMapInstance, name)
def __init__(self, *args):
"""
__init__(OT::ResourceMapInstance self, ResourceMap rm) -> ResourceMapInstance
__init__(OT::ResourceMapInstance self, ResourceMapInstance other) -> ResourceMapInstance
"""
this = _common.new_ResourceMapInstance(*args)
try: self.this.append(this)
except: self.this = this
def __repr__(self):
"""__repr__(ResourceMapInstance self) -> OT::String"""
return _common.ResourceMapInstance___repr__(self)
__swig_destroy__ = _common.delete_ResourceMapInstance
__del__ = lambda self : None;
ResourceMapInstance_swigregister = _common.ResourceMapInstance_swigregister
ResourceMapInstance_swigregister(ResourceMapInstance)
class ResourceMap(_object):
"""Proxy of C++ OT::ResourceMap class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ResourceMap, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ResourceMap, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
def GetInstance():
"""GetInstance() -> ResourceMapInstance"""
return _common.ResourceMap_GetInstance()
if _newclass:GetInstance = staticmethod(GetInstance)
__swig_getmethods__["GetInstance"] = lambda x: GetInstance
def Release():
"""Release()"""
return _common.ResourceMap_Release()
if _newclass:Release = staticmethod(Release)
__swig_getmethods__["Release"] = lambda x: Release
def Initialize():
"""Initialize()"""
return _common.ResourceMap_Initialize()
if _newclass:Initialize = staticmethod(Initialize)
__swig_getmethods__["Initialize"] = lambda x: Initialize
def Get(*args):
"""Get(OT::String key) -> OT::String"""
return _common.ResourceMap_Get(*args)
if _newclass:Get = staticmethod(Get)
__swig_getmethods__["Get"] = lambda x: Get
def GetAsBool(*args):
"""GetAsBool(OT::String key) -> OT::Bool"""
return _common.ResourceMap_GetAsBool(*args)
if _newclass:GetAsBool = staticmethod(GetAsBool)
__swig_getmethods__["GetAsBool"] = lambda x: GetAsBool
def GetAsUnsignedLong(*args):
"""GetAsUnsignedLong(OT::String key) -> OT::UnsignedLong"""
return _common.ResourceMap_GetAsUnsignedLong(*args)
if _newclass:GetAsUnsignedLong = staticmethod(GetAsUnsignedLong)
__swig_getmethods__["GetAsUnsignedLong"] = lambda x: GetAsUnsignedLong
def GetAsNumericalScalar(*args):
"""GetAsNumericalScalar(OT::String key) -> OT::NumericalScalar"""
return _common.ResourceMap_GetAsNumericalScalar(*args)
if _newclass:GetAsNumericalScalar = staticmethod(GetAsNumericalScalar)
__swig_getmethods__["GetAsNumericalScalar"] = lambda x: GetAsNumericalScalar
def GetAsNewCharArray(*args):
"""GetAsNewCharArray(OT::String key) -> char *"""
return _common.ResourceMap_GetAsNewCharArray(*args)
if _newclass:GetAsNewCharArray = staticmethod(GetAsNewCharArray)
__swig_getmethods__["GetAsNewCharArray"] = lambda x: GetAsNewCharArray
def Set(*args):
"""Set(OT::String key, OT::String value)"""
return _common.ResourceMap_Set(*args)
if _newclass:Set = staticmethod(Set)
__swig_getmethods__["Set"] = lambda x: Set
def SetAsBool(*args):
"""SetAsBool(OT::String key, OT::Bool value)"""
return _common.ResourceMap_SetAsBool(*args)
if _newclass:SetAsBool = staticmethod(SetAsBool)
__swig_getmethods__["SetAsBool"] = lambda x: SetAsBool
def SetAsUnsignedLong(*args):
"""SetAsUnsignedLong(OT::String key, OT::UnsignedLong value)"""
return _common.ResourceMap_SetAsUnsignedLong(*args)
if _newclass:SetAsUnsignedLong = staticmethod(SetAsUnsignedLong)
__swig_getmethods__["SetAsUnsignedLong"] = lambda x: SetAsUnsignedLong
def SetAsNumericalScalar(*args):
"""SetAsNumericalScalar(OT::String key, OT::NumericalScalar value)"""
return _common.ResourceMap_SetAsNumericalScalar(*args)
if _newclass:SetAsNumericalScalar = staticmethod(SetAsNumericalScalar)
__swig_getmethods__["SetAsNumericalScalar"] = lambda x: SetAsNumericalScalar
def __repr__(self):
"""__repr__(ResourceMap self) -> OT::String"""
return _common.ResourceMap___repr__(self)
__swig_destroy__ = _common.delete_ResourceMap
__del__ = lambda self : None;
ResourceMap_swigregister = _common.ResourceMap_swigregister
ResourceMap_swigregister(ResourceMap)
def ResourceMap_GetInstance():
"""ResourceMap_GetInstance() -> ResourceMapInstance"""
return _common.ResourceMap_GetInstance()
def ResourceMap_Release():
"""ResourceMap_Release()"""
return _common.ResourceMap_Release()
def ResourceMap_Initialize():
"""ResourceMap_Initialize()"""
return _common.ResourceMap_Initialize()
def ResourceMap_Get(*args):
"""ResourceMap_Get(OT::String key) -> OT::String"""
return _common.ResourceMap_Get(*args)
def ResourceMap_GetAsBool(*args):
"""ResourceMap_GetAsBool(OT::String key) -> OT::Bool"""
return _common.ResourceMap_GetAsBool(*args)
def ResourceMap_GetAsUnsignedLong(*args):
"""ResourceMap_GetAsUnsignedLong(OT::String key) -> OT::UnsignedLong"""
return _common.ResourceMap_GetAsUnsignedLong(*args)
def ResourceMap_GetAsNumericalScalar(*args):
"""ResourceMap_GetAsNumericalScalar(OT::String key) -> OT::NumericalScalar"""
return _common.ResourceMap_GetAsNumericalScalar(*args)
def ResourceMap_GetAsNewCharArray(*args):
"""ResourceMap_GetAsNewCharArray(OT::String key) -> char *"""
return _common.ResourceMap_GetAsNewCharArray(*args)
def ResourceMap_Set(*args):
"""ResourceMap_Set(OT::String key, OT::String value)"""
return _common.ResourceMap_Set(*args)
def ResourceMap_SetAsBool(*args):
"""ResourceMap_SetAsBool(OT::String key, OT::Bool value)"""
return _common.ResourceMap_SetAsBool(*args)
def ResourceMap_SetAsUnsignedLong(*args):
"""ResourceMap_SetAsUnsignedLong(OT::String key, OT::UnsignedLong value)"""
return _common.ResourceMap_SetAsUnsignedLong(*args)
def ResourceMap_SetAsNumericalScalar(*args):
"""ResourceMap_SetAsNumericalScalar(OT::String key, OT::NumericalScalar value)"""
return _common.ResourceMap_SetAsNumericalScalar(*args)
class ResourceMap_init(_object):
"""Proxy of C++ OT::ResourceMap_init class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ResourceMap_init, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ResourceMap_init, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(OT::ResourceMap_init self) -> ResourceMap_init"""
this = _common.new_ResourceMap_init()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_ResourceMap_init
__del__ = lambda self : None;
ResourceMap_init_swigregister = _common.ResourceMap_init_swigregister
ResourceMap_init_swigregister(ResourceMap_init)
def __lshift__(*args):
"""__lshift__(std::ostream & os, ResourceMapInstance obj) -> std::ostream &"""
return _common.__lshift__(*args)
class ComparisonOperatorImplementation(PersistentObject):
"""Proxy of C++ OT::ComparisonOperatorImplementation class"""
__swig_setmethods__ = {}
for _s in [PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ComparisonOperatorImplementation, name, value)
__swig_getmethods__ = {}
for _s in [PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ComparisonOperatorImplementation, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.ComparisonOperatorImplementation_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(ComparisonOperatorImplementation self) -> OT::String"""
return _common.ComparisonOperatorImplementation_getClassName(self)
def __repr__(self):
"""__repr__(ComparisonOperatorImplementation self) -> OT::String"""
return _common.ComparisonOperatorImplementation___repr__(self)
def __call__(self, *args):
"""__call__(ComparisonOperatorImplementation self, OT::NumericalScalar const a, OT::NumericalScalar const b) -> OT::Bool"""
return _common.ComparisonOperatorImplementation___call__(self, *args)
def __init__(self, *args):
"""
__init__(OT::ComparisonOperatorImplementation self) -> ComparisonOperatorImplementation
__init__(OT::ComparisonOperatorImplementation self, ComparisonOperatorImplementation other) -> ComparisonOperatorImplementation
"""
this = _common.new_ComparisonOperatorImplementation(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_ComparisonOperatorImplementation
__del__ = lambda self : None;
ComparisonOperatorImplementation_swigregister = _common.ComparisonOperatorImplementation_swigregister
ComparisonOperatorImplementation_swigregister(ComparisonOperatorImplementation)
def ComparisonOperatorImplementation_GetClassName():
"""ComparisonOperatorImplementation_GetClassName() -> OT::String"""
return _common.ComparisonOperatorImplementation_GetClassName()
class ComparisonOperatorImplementationTypedInterfaceObject(InterfaceObject):
"""Proxy of C++ OT::TypedInterfaceObject<(OT::ComparisonOperatorImplementation)> class"""
__swig_setmethods__ = {}
for _s in [InterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ComparisonOperatorImplementationTypedInterfaceObject, name, value)
__swig_getmethods__ = {}
for _s in [InterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ComparisonOperatorImplementationTypedInterfaceObject, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(OT::TypedInterfaceObject<(OT::ComparisonOperatorImplementation)> self) -> ComparisonOperatorImplementationTypedInterfaceObject
__init__(OT::TypedInterfaceObject<(OT::ComparisonOperatorImplementation)> self, ComparisonOperatorImplementationPointer impl) -> ComparisonOperatorImplementationTypedInterfaceObject
"""
this = _common.new_ComparisonOperatorImplementationTypedInterfaceObject(*args)
try: self.this.append(this)
except: self.this = this
def getImplementation(self, *args):
"""
getImplementation(ComparisonOperatorImplementationTypedInterfaceObject self) -> ComparisonOperatorImplementationPointer
getImplementation(ComparisonOperatorImplementationTypedInterfaceObject self) -> ComparisonOperatorImplementationPointer
"""
return _common.ComparisonOperatorImplementationTypedInterfaceObject_getImplementation(self, *args)
def getImplementationAsPersistentObject(self):
"""getImplementationAsPersistentObject(ComparisonOperatorImplementationTypedInterfaceObject self) -> PersistentObjectPointer"""
return _common.ComparisonOperatorImplementationTypedInterfaceObject_getImplementationAsPersistentObject(self)
def setImplementationAsPersistentObject(self, *args):
"""setImplementationAsPersistentObject(ComparisonOperatorImplementationTypedInterfaceObject self, PersistentObjectPointer obj)"""
return _common.ComparisonOperatorImplementationTypedInterfaceObject_setImplementationAsPersistentObject(self, *args)
def swap(self, *args):
"""swap(ComparisonOperatorImplementationTypedInterfaceObject self, ComparisonOperatorImplementationTypedInterfaceObject other)"""
return _common.ComparisonOperatorImplementationTypedInterfaceObject_swap(self, *args)
def setName(self, *args):
"""setName(ComparisonOperatorImplementationTypedInterfaceObject self, OT::String const & name)"""
return _common.ComparisonOperatorImplementationTypedInterfaceObject_setName(self, *args)
def getName(self):
"""getName(ComparisonOperatorImplementationTypedInterfaceObject self) -> OT::String"""
return _common.ComparisonOperatorImplementationTypedInterfaceObject_getName(self)
def __eq__(self, *args):
"""__eq__(ComparisonOperatorImplementationTypedInterfaceObject self, ComparisonOperatorImplementationTypedInterfaceObject other) -> OT::Bool"""
return _common.ComparisonOperatorImplementationTypedInterfaceObject___eq__(self, *args)
__swig_destroy__ = _common.delete_ComparisonOperatorImplementationTypedInterfaceObject
__del__ = lambda self : None;
ComparisonOperatorImplementationTypedInterfaceObject_swigregister = _common.ComparisonOperatorImplementationTypedInterfaceObject_swigregister
ComparisonOperatorImplementationTypedInterfaceObject_swigregister(ComparisonOperatorImplementationTypedInterfaceObject)
class ComparisonOperator(ComparisonOperatorImplementationTypedInterfaceObject):
"""Proxy of C++ OT::ComparisonOperator class"""
__swig_setmethods__ = {}
for _s in [ComparisonOperatorImplementationTypedInterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ComparisonOperator, name, value)
__swig_getmethods__ = {}
for _s in [ComparisonOperatorImplementationTypedInterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ComparisonOperator, name)
__repr__ = _swig_repr
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.ComparisonOperator_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(ComparisonOperator self) -> OT::String"""
return _common.ComparisonOperator_getClassName(self)
def __call__(self, *args):
"""__call__(ComparisonOperator self, OT::NumericalScalar a, OT::NumericalScalar b) -> OT::Bool"""
return _common.ComparisonOperator___call__(self, *args)
def compare(self, *args):
"""compare(ComparisonOperator self, OT::NumericalScalar const a, OT::NumericalScalar const b) -> OT::Bool"""
return _common.ComparisonOperator_compare(self, *args)
def __str__(self):
"""__str__(ComparisonOperator self) -> OT::String const"""
return _common.ComparisonOperator___str__(self)
def __init__(self, *args):
"""
__init__(OT::ComparisonOperator self) -> ComparisonOperator
__init__(OT::ComparisonOperator self, ComparisonOperatorImplementation op) -> ComparisonOperator
__init__(OT::ComparisonOperator self, ComparisonOperator other) -> ComparisonOperator
"""
this = _common.new_ComparisonOperator(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_ComparisonOperator
__del__ = lambda self : None;
ComparisonOperator_swigregister = _common.ComparisonOperator_swigregister
ComparisonOperator_swigregister(ComparisonOperator)
def ComparisonOperator_GetClassName():
"""ComparisonOperator_GetClassName() -> OT::String"""
return _common.ComparisonOperator_GetClassName()
class Equal(ComparisonOperatorImplementation):
"""Proxy of C++ OT::Equal class"""
__swig_setmethods__ = {}
for _s in [ComparisonOperatorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Equal, name, value)
__swig_getmethods__ = {}
for _s in [ComparisonOperatorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Equal, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.Equal_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(Equal self) -> OT::String"""
return _common.Equal_getClassName(self)
def __repr__(self):
"""__repr__(Equal self) -> OT::String"""
return _common.Equal___repr__(self)
def __call__(self, *args):
"""__call__(Equal self, OT::NumericalScalar const a, OT::NumericalScalar const b) -> OT::Bool"""
return _common.Equal___call__(self, *args)
def __str__(self):
"""__str__(Equal self) -> OT::String const"""
return _common.Equal___str__(self)
def __init__(self, *args):
"""
__init__(OT::Equal self) -> Equal
__init__(OT::Equal self, Equal other) -> Equal
"""
this = _common.new_Equal(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_Equal
__del__ = lambda self : None;
Equal_swigregister = _common.Equal_swigregister
Equal_swigregister(Equal)
def Equal_GetClassName():
"""Equal_GetClassName() -> OT::String"""
return _common.Equal_GetClassName()
class Greater(ComparisonOperatorImplementation):
"""Proxy of C++ OT::Greater class"""
__swig_setmethods__ = {}
for _s in [ComparisonOperatorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Greater, name, value)
__swig_getmethods__ = {}
for _s in [ComparisonOperatorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Greater, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.Greater_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(Greater self) -> OT::String"""
return _common.Greater_getClassName(self)
def __repr__(self):
"""__repr__(Greater self) -> OT::String"""
return _common.Greater___repr__(self)
def __call__(self, *args):
"""__call__(Greater self, OT::NumericalScalar const a, OT::NumericalScalar const b) -> OT::Bool"""
return _common.Greater___call__(self, *args)
def __str__(self):
"""__str__(Greater self) -> OT::String const"""
return _common.Greater___str__(self)
def __init__(self, *args):
"""
__init__(OT::Greater self) -> Greater
__init__(OT::Greater self, Greater other) -> Greater
"""
this = _common.new_Greater(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_Greater
__del__ = lambda self : None;
Greater_swigregister = _common.Greater_swigregister
Greater_swigregister(Greater)
def Greater_GetClassName():
"""Greater_GetClassName() -> OT::String"""
return _common.Greater_GetClassName()
class GreaterOrEqual(ComparisonOperatorImplementation):
"""Proxy of C++ OT::GreaterOrEqual class"""
__swig_setmethods__ = {}
for _s in [ComparisonOperatorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, GreaterOrEqual, name, value)
__swig_getmethods__ = {}
for _s in [ComparisonOperatorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, GreaterOrEqual, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.GreaterOrEqual_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(GreaterOrEqual self) -> OT::String"""
return _common.GreaterOrEqual_getClassName(self)
def __repr__(self):
"""__repr__(GreaterOrEqual self) -> OT::String"""
return _common.GreaterOrEqual___repr__(self)
def __call__(self, *args):
"""__call__(GreaterOrEqual self, OT::NumericalScalar const a, OT::NumericalScalar const b) -> OT::Bool"""
return _common.GreaterOrEqual___call__(self, *args)
def __str__(self):
"""__str__(GreaterOrEqual self) -> OT::String const"""
return _common.GreaterOrEqual___str__(self)
def __init__(self, *args):
"""
__init__(OT::GreaterOrEqual self) -> GreaterOrEqual
__init__(OT::GreaterOrEqual self, GreaterOrEqual other) -> GreaterOrEqual
"""
this = _common.new_GreaterOrEqual(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_GreaterOrEqual
__del__ = lambda self : None;
GreaterOrEqual_swigregister = _common.GreaterOrEqual_swigregister
GreaterOrEqual_swigregister(GreaterOrEqual)
def GreaterOrEqual_GetClassName():
"""GreaterOrEqual_GetClassName() -> OT::String"""
return _common.GreaterOrEqual_GetClassName()
class Less(ComparisonOperatorImplementation):
"""Proxy of C++ OT::Less class"""
__swig_setmethods__ = {}
for _s in [ComparisonOperatorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Less, name, value)
__swig_getmethods__ = {}
for _s in [ComparisonOperatorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Less, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.Less_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(Less self) -> OT::String"""
return _common.Less_getClassName(self)
def __repr__(self):
"""__repr__(Less self) -> OT::String"""
return _common.Less___repr__(self)
def __call__(self, *args):
"""__call__(Less self, OT::NumericalScalar const a, OT::NumericalScalar const b) -> OT::Bool"""
return _common.Less___call__(self, *args)
def __str__(self):
"""__str__(Less self) -> OT::String const"""
return _common.Less___str__(self)
def __init__(self, *args):
"""
__init__(OT::Less self) -> Less
__init__(OT::Less self, Less other) -> Less
"""
this = _common.new_Less(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_Less
__del__ = lambda self : None;
Less_swigregister = _common.Less_swigregister
Less_swigregister(Less)
def Less_GetClassName():
"""Less_GetClassName() -> OT::String"""
return _common.Less_GetClassName()
class LessOrEqual(ComparisonOperatorImplementation):
"""Proxy of C++ OT::LessOrEqual class"""
__swig_setmethods__ = {}
for _s in [ComparisonOperatorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, LessOrEqual, name, value)
__swig_getmethods__ = {}
for _s in [ComparisonOperatorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, LessOrEqual, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _common.LessOrEqual_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(LessOrEqual self) -> OT::String"""
return _common.LessOrEqual_getClassName(self)
def __repr__(self):
"""__repr__(LessOrEqual self) -> OT::String"""
return _common.LessOrEqual___repr__(self)
def __call__(self, *args):
"""__call__(LessOrEqual self, OT::NumericalScalar const a, OT::NumericalScalar const b) -> OT::Bool"""
return _common.LessOrEqual___call__(self, *args)
def __str__(self):
"""__str__(LessOrEqual self) -> OT::String const"""
return _common.LessOrEqual___str__(self)
def __init__(self, *args):
"""
__init__(OT::LessOrEqual self) -> LessOrEqual
__init__(OT::LessOrEqual self, LessOrEqual other) -> LessOrEqual
"""
this = _common.new_LessOrEqual(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_LessOrEqual
__del__ = lambda self : None;
LessOrEqual_swigregister = _common.LessOrEqual_swigregister
LessOrEqual_swigregister(LessOrEqual)
def LessOrEqual_GetClassName():
"""LessOrEqual_GetClassName() -> OT::String"""
return _common.LessOrEqual_GetClassName()
class PlatformInfo(_object):
"""Proxy of C++ OT::PlatformInfo class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PlatformInfo, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PlatformInfo, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
def GetVersion():
"""GetVersion() -> OT::String"""
return _common.PlatformInfo_GetVersion()
if _newclass:GetVersion = staticmethod(GetVersion)
__swig_getmethods__["GetVersion"] = lambda x: GetVersion
def GetName():
"""GetName() -> OT::String"""
return _common.PlatformInfo_GetName()
if _newclass:GetName = staticmethod(GetName)
__swig_getmethods__["GetName"] = lambda x: GetName
def GetRevision():
"""GetRevision() -> OT::String"""
return _common.PlatformInfo_GetRevision()
if _newclass:GetRevision = staticmethod(GetRevision)
__swig_getmethods__["GetRevision"] = lambda x: GetRevision
def GetDate():
"""GetDate() -> OT::String"""
return _common.PlatformInfo_GetDate()
if _newclass:GetDate = staticmethod(GetDate)
__swig_getmethods__["GetDate"] = lambda x: GetDate
def GetInstallationDirectory():
"""GetInstallationDirectory() -> OT::String"""
return _common.PlatformInfo_GetInstallationDirectory()
if _newclass:GetInstallationDirectory = staticmethod(GetInstallationDirectory)
__swig_getmethods__["GetInstallationDirectory"] = lambda x: GetInstallationDirectory
def GetModuleDirectory():
"""GetModuleDirectory() -> OT::String"""
return _common.PlatformInfo_GetModuleDirectory()
if _newclass:GetModuleDirectory = staticmethod(GetModuleDirectory)
__swig_getmethods__["GetModuleDirectory"] = lambda x: GetModuleDirectory
def GetConfigureCommandLine():
"""GetConfigureCommandLine() -> OT::String"""
return _common.PlatformInfo_GetConfigureCommandLine()
if _newclass:GetConfigureCommandLine = staticmethod(GetConfigureCommandLine)
__swig_getmethods__["GetConfigureCommandLine"] = lambda x: GetConfigureCommandLine
def GetNumericalPrecision():
"""GetNumericalPrecision() -> OT::UnsignedLong"""
return _common.PlatformInfo_GetNumericalPrecision()
if _newclass:GetNumericalPrecision = staticmethod(GetNumericalPrecision)
__swig_getmethods__["GetNumericalPrecision"] = lambda x: GetNumericalPrecision
def SetNumericalPrecision(*args):
"""SetNumericalPrecision(OT::SignedInteger precision)"""
return _common.PlatformInfo_SetNumericalPrecision(*args)
if _newclass:SetNumericalPrecision = staticmethod(SetNumericalPrecision)
__swig_getmethods__["SetNumericalPrecision"] = lambda x: SetNumericalPrecision
__swig_destroy__ = _common.delete_PlatformInfo
__del__ = lambda self : None;
PlatformInfo_swigregister = _common.PlatformInfo_swigregister
PlatformInfo_swigregister(PlatformInfo)
def PlatformInfo_GetVersion():
"""PlatformInfo_GetVersion() -> OT::String"""
return _common.PlatformInfo_GetVersion()
def PlatformInfo_GetName():
"""PlatformInfo_GetName() -> OT::String"""
return _common.PlatformInfo_GetName()
def PlatformInfo_GetRevision():
"""PlatformInfo_GetRevision() -> OT::String"""
return _common.PlatformInfo_GetRevision()
def PlatformInfo_GetDate():
"""PlatformInfo_GetDate() -> OT::String"""
return _common.PlatformInfo_GetDate()
def PlatformInfo_GetInstallationDirectory():
"""PlatformInfo_GetInstallationDirectory() -> OT::String"""
return _common.PlatformInfo_GetInstallationDirectory()
def PlatformInfo_GetModuleDirectory():
"""PlatformInfo_GetModuleDirectory() -> OT::String"""
return _common.PlatformInfo_GetModuleDirectory()
def PlatformInfo_GetConfigureCommandLine():
"""PlatformInfo_GetConfigureCommandLine() -> OT::String"""
return _common.PlatformInfo_GetConfigureCommandLine()
def PlatformInfo_GetNumericalPrecision():
"""PlatformInfo_GetNumericalPrecision() -> OT::UnsignedLong"""
return _common.PlatformInfo_GetNumericalPrecision()
def PlatformInfo_SetNumericalPrecision(*args):
"""PlatformInfo_SetNumericalPrecision(OT::SignedInteger precision)"""
return _common.PlatformInfo_SetNumericalPrecision(*args)
class MPICommunicator(_object):
"""Proxy of C++ OT::MPICommunicator class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, MPICommunicator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, MPICommunicator, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(OT::MPICommunicator self, OT::MPICommunicator::CommunicatorType const & communicator) -> MPICommunicator
__init__(OT::MPICommunicator self, MPICommunicator other) -> MPICommunicator
"""
this = _common.new_MPICommunicator(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_MPICommunicator
__del__ = lambda self : None;
def GetCommWorld():
"""GetCommWorld() -> MPICommunicator"""
return _common.MPICommunicator_GetCommWorld()
if _newclass:GetCommWorld = staticmethod(GetCommWorld)
__swig_getmethods__["GetCommWorld"] = lambda x: GetCommWorld
MPICommunicator_swigregister = _common.MPICommunicator_swigregister
MPICommunicator_swigregister(MPICommunicator)
def MPICommunicator_GetCommWorld():
"""MPICommunicator_GetCommWorld() -> MPICommunicator"""
return _common.MPICommunicator_GetCommWorld()
class MPI(_object):
"""Proxy of C++ OT::MPI class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, MPI, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, MPI, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _common.delete_MPI
__del__ = lambda self : None;
def Init(*args):
"""Init(MPICommunicator comm)"""
return _common.MPI_Init(*args)
if _newclass:Init = staticmethod(Init)
__swig_getmethods__["Init"] = lambda x: Init
def Release():
"""Release()"""
return _common.MPI_Release()
if _newclass:Release = staticmethod(Release)
__swig_getmethods__["Release"] = lambda x: Release
MPI_swigregister = _common.MPI_swigregister
MPI_swigregister(MPI)
def MPI_Init(*args):
"""MPI_Init(MPICommunicator comm)"""
return _common.MPI_Init(*args)
def MPI_Release():
"""MPI_Release()"""
return _common.MPI_Release()
class ComparisonOperatorImplementationPointer(_object):
"""Proxy of C++ OT::Pointer<(OT::ComparisonOperatorImplementation)> class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ComparisonOperatorImplementationPointer, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ComparisonOperatorImplementationPointer, name)
__swig_setmethods__["ptr_"] = _common.ComparisonOperatorImplementationPointer_ptr__set
__swig_getmethods__["ptr_"] = _common.ComparisonOperatorImplementationPointer_ptr__get
if _newclass:ptr_ = _swig_property(_common.ComparisonOperatorImplementationPointer_ptr__get, _common.ComparisonOperatorImplementationPointer_ptr__set)
def __init__(self, *args):
"""
__init__(OT::Pointer<(OT::ComparisonOperatorImplementation)> self) -> ComparisonOperatorImplementationPointer
__init__(OT::Pointer<(OT::ComparisonOperatorImplementation)> self, ComparisonOperatorImplementation ptr) -> ComparisonOperatorImplementationPointer
"""
this = _common.new_ComparisonOperatorImplementationPointer(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_ComparisonOperatorImplementationPointer
__del__ = lambda self : None;
def reset(self):
"""reset(ComparisonOperatorImplementationPointer self)"""
return _common.ComparisonOperatorImplementationPointer_reset(self)
def __ref__(self, *args):
"""
__ref__(ComparisonOperatorImplementationPointer self) -> ComparisonOperatorImplementation
__ref__(ComparisonOperatorImplementationPointer self) -> ComparisonOperatorImplementation
"""
return _common.ComparisonOperatorImplementationPointer___ref__(self, *args)
def __deref__(self):
"""__deref__(ComparisonOperatorImplementationPointer self) -> ComparisonOperatorImplementation"""
return _common.ComparisonOperatorImplementationPointer___deref__(self)
def isNull(self):
"""isNull(ComparisonOperatorImplementationPointer self) -> OT::Bool"""
return _common.ComparisonOperatorImplementationPointer_isNull(self)
def __nonzero__(self):
return _common.ComparisonOperatorImplementationPointer___nonzero__(self)
__bool__ = __nonzero__
def get(self):
"""get(ComparisonOperatorImplementationPointer self) -> ComparisonOperatorImplementation"""
return _common.ComparisonOperatorImplementationPointer_get(self)
def getImplementation(self):
"""getImplementation(ComparisonOperatorImplementationPointer self) -> OT::Pointer< OT::ComparisonOperatorImplementation >::pointer_type const &"""
return _common.ComparisonOperatorImplementationPointer_getImplementation(self)
def unique(self):
"""unique(ComparisonOperatorImplementationPointer self) -> OT::Bool"""
return _common.ComparisonOperatorImplementationPointer_unique(self)
def use_count(self):
"""use_count(ComparisonOperatorImplementationPointer self) -> OT::UnsignedLong"""
return _common.ComparisonOperatorImplementationPointer_use_count(self)
def swap(self, *args):
"""swap(ComparisonOperatorImplementationPointer self, ComparisonOperatorImplementationPointer other)"""
return _common.ComparisonOperatorImplementationPointer_swap(self, *args)
def GetClassName(self):
"""GetClassName(ComparisonOperatorImplementationPointer self) -> OT::String"""
return _common.ComparisonOperatorImplementationPointer_GetClassName(self)
def getClassName(self):
"""getClassName(ComparisonOperatorImplementationPointer self) -> OT::String"""
return _common.ComparisonOperatorImplementationPointer_getClassName(self)
def __repr__(self):
"""__repr__(ComparisonOperatorImplementationPointer self) -> OT::String"""
return _common.ComparisonOperatorImplementationPointer___repr__(self)
def __call__(self, *args):
"""__call__(ComparisonOperatorImplementationPointer self, OT::NumericalScalar const a, OT::NumericalScalar const b) -> OT::Bool"""
return _common.ComparisonOperatorImplementationPointer___call__(self, *args)
def __eq__(self, *args):
"""__eq__(ComparisonOperatorImplementationPointer self, PersistentObject other) -> OT::Bool"""
return _common.ComparisonOperatorImplementationPointer___eq__(self, *args)
def Is(self, *args):
"""Is(ComparisonOperatorImplementationPointer self, PersistentObject other) -> OT::Bool"""
return _common.ComparisonOperatorImplementationPointer_Is(self, *args)
def __str__(self, offset=""):
"""
__str__(ComparisonOperatorImplementationPointer self, OT::String const & offset="") -> OT::String
__str__(ComparisonOperatorImplementationPointer self) -> OT::String
"""
return _common.ComparisonOperatorImplementationPointer___str__(self, offset)
def getId(self):
"""getId(ComparisonOperatorImplementationPointer self) -> OT::Id"""
return _common.ComparisonOperatorImplementationPointer_getId(self)
def setShadowedId(self, *args):
"""setShadowedId(ComparisonOperatorImplementationPointer self, OT::Id id)"""
return _common.ComparisonOperatorImplementationPointer_setShadowedId(self, *args)
def getShadowedId(self):
"""getShadowedId(ComparisonOperatorImplementationPointer self) -> OT::Id"""
return _common.ComparisonOperatorImplementationPointer_getShadowedId(self)
def setVisibility(self, *args):
"""setVisibility(ComparisonOperatorImplementationPointer self, OT::Bool visible)"""
return _common.ComparisonOperatorImplementationPointer_setVisibility(self, *args)
def getVisibility(self):
"""getVisibility(ComparisonOperatorImplementationPointer self) -> OT::Bool"""
return _common.ComparisonOperatorImplementationPointer_getVisibility(self)
def hasName(self):
"""hasName(ComparisonOperatorImplementationPointer self) -> OT::Bool"""
return _common.ComparisonOperatorImplementationPointer_hasName(self)
def hasVisibleName(self):
"""hasVisibleName(ComparisonOperatorImplementationPointer self) -> OT::Bool"""
return _common.ComparisonOperatorImplementationPointer_hasVisibleName(self)
def getName(self):
"""getName(ComparisonOperatorImplementationPointer self) -> OT::String"""
return _common.ComparisonOperatorImplementationPointer_getName(self)
def setName(self, *args):
"""setName(ComparisonOperatorImplementationPointer self, OT::String const & name)"""
return _common.ComparisonOperatorImplementationPointer_setName(self, *args)
ComparisonOperatorImplementationPointer_swigregister = _common.ComparisonOperatorImplementationPointer_swigregister
ComparisonOperatorImplementationPointer_swigregister(ComparisonOperatorImplementationPointer)
class PersistentObjectPointer(_object):
"""Proxy of C++ OT::Pointer<(OT::PersistentObject)> class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PersistentObjectPointer, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PersistentObjectPointer, name)
__swig_setmethods__["ptr_"] = _common.PersistentObjectPointer_ptr__set
__swig_getmethods__["ptr_"] = _common.PersistentObjectPointer_ptr__get
if _newclass:ptr_ = _swig_property(_common.PersistentObjectPointer_ptr__get, _common.PersistentObjectPointer_ptr__set)
def __init__(self, *args):
"""
__init__(OT::Pointer<(OT::PersistentObject)> self) -> PersistentObjectPointer
__init__(OT::Pointer<(OT::PersistentObject)> self, PersistentObject ptr) -> PersistentObjectPointer
"""
this = _common.new_PersistentObjectPointer(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_PersistentObjectPointer
__del__ = lambda self : None;
def reset(self):
"""reset(PersistentObjectPointer self)"""
return _common.PersistentObjectPointer_reset(self)
def __ref__(self, *args):
"""
__ref__(PersistentObjectPointer self) -> PersistentObject
__ref__(PersistentObjectPointer self) -> PersistentObject
"""
return _common.PersistentObjectPointer___ref__(self, *args)
def __deref__(self):
"""__deref__(PersistentObjectPointer self) -> PersistentObject"""
return _common.PersistentObjectPointer___deref__(self)
def isNull(self):
"""isNull(PersistentObjectPointer self) -> OT::Bool"""
return _common.PersistentObjectPointer_isNull(self)
def __nonzero__(self):
return _common.PersistentObjectPointer___nonzero__(self)
__bool__ = __nonzero__
def get(self):
"""get(PersistentObjectPointer self) -> PersistentObject"""
return _common.PersistentObjectPointer_get(self)
def getImplementation(self):
"""getImplementation(PersistentObjectPointer self) -> OT::Pointer< OT::PersistentObject >::pointer_type const &"""
return _common.PersistentObjectPointer_getImplementation(self)
def unique(self):
"""unique(PersistentObjectPointer self) -> OT::Bool"""
return _common.PersistentObjectPointer_unique(self)
def use_count(self):
"""use_count(PersistentObjectPointer self) -> OT::UnsignedLong"""
return _common.PersistentObjectPointer_use_count(self)
def swap(self, *args):
"""swap(PersistentObjectPointer self, PersistentObjectPointer other)"""
return _common.PersistentObjectPointer_swap(self, *args)
def GetClassName(self):
"""GetClassName(PersistentObjectPointer self) -> OT::String"""
return _common.PersistentObjectPointer_GetClassName(self)
def getClassName(self):
"""getClassName(PersistentObjectPointer self) -> OT::String"""
return _common.PersistentObjectPointer_getClassName(self)
def __eq__(self, *args):
"""__eq__(PersistentObjectPointer self, PersistentObject other) -> OT::Bool"""
return _common.PersistentObjectPointer___eq__(self, *args)
def Is(self, *args):
"""Is(PersistentObjectPointer self, PersistentObject other) -> OT::Bool"""
return _common.PersistentObjectPointer_Is(self, *args)
def __repr__(self):
"""__repr__(PersistentObjectPointer self) -> OT::String"""
return _common.PersistentObjectPointer___repr__(self)
def __str__(self, offset=""):
"""
__str__(PersistentObjectPointer self, OT::String const & offset="") -> OT::String
__str__(PersistentObjectPointer self) -> OT::String
"""
return _common.PersistentObjectPointer___str__(self, offset)
def getId(self):
"""getId(PersistentObjectPointer self) -> OT::Id"""
return _common.PersistentObjectPointer_getId(self)
def setShadowedId(self, *args):
"""setShadowedId(PersistentObjectPointer self, OT::Id id)"""
return _common.PersistentObjectPointer_setShadowedId(self, *args)
def getShadowedId(self):
"""getShadowedId(PersistentObjectPointer self) -> OT::Id"""
return _common.PersistentObjectPointer_getShadowedId(self)
def setVisibility(self, *args):
"""setVisibility(PersistentObjectPointer self, OT::Bool visible)"""
return _common.PersistentObjectPointer_setVisibility(self, *args)
def getVisibility(self):
"""getVisibility(PersistentObjectPointer self) -> OT::Bool"""
return _common.PersistentObjectPointer_getVisibility(self)
def hasName(self):
"""hasName(PersistentObjectPointer self) -> OT::Bool"""
return _common.PersistentObjectPointer_hasName(self)
def hasVisibleName(self):
"""hasVisibleName(PersistentObjectPointer self) -> OT::Bool"""
return _common.PersistentObjectPointer_hasVisibleName(self)
def getName(self):
"""getName(PersistentObjectPointer self) -> OT::String"""
return _common.PersistentObjectPointer_getName(self)
def setName(self, *args):
"""setName(PersistentObjectPointer self, OT::String const & name)"""
return _common.PersistentObjectPointer_setName(self, *args)
PersistentObjectPointer_swigregister = _common.PersistentObjectPointer_swigregister
PersistentObjectPointer_swigregister(PersistentObjectPointer)
class StorageManagerPointer(_object):
"""Proxy of C++ OT::Pointer<(OT::StorageManager)> class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StorageManagerPointer, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StorageManagerPointer, name)
__swig_setmethods__["ptr_"] = _common.StorageManagerPointer_ptr__set
__swig_getmethods__["ptr_"] = _common.StorageManagerPointer_ptr__get
if _newclass:ptr_ = _swig_property(_common.StorageManagerPointer_ptr__get, _common.StorageManagerPointer_ptr__set)
def __init__(self, *args):
"""
__init__(OT::Pointer<(OT::StorageManager)> self) -> StorageManagerPointer
__init__(OT::Pointer<(OT::StorageManager)> self, StorageManager ptr) -> StorageManagerPointer
"""
this = _common.new_StorageManagerPointer(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _common.delete_StorageManagerPointer
__del__ = lambda self : None;
def reset(self):
"""reset(StorageManagerPointer self)"""
return _common.StorageManagerPointer_reset(self)
def __ref__(self, *args):
"""
__ref__(StorageManagerPointer self) -> StorageManager
__ref__(StorageManagerPointer self) -> StorageManager
"""
return _common.StorageManagerPointer___ref__(self, *args)
def __deref__(self):
"""__deref__(StorageManagerPointer self) -> StorageManager"""
return _common.StorageManagerPointer___deref__(self)
def isNull(self):
"""isNull(StorageManagerPointer self) -> OT::Bool"""
return _common.StorageManagerPointer_isNull(self)
def __nonzero__(self):
return _common.StorageManagerPointer___nonzero__(self)
__bool__ = __nonzero__
def get(self):
"""get(StorageManagerPointer self) -> StorageManager"""
return _common.StorageManagerPointer_get(self)
def getImplementation(self):
"""getImplementation(StorageManagerPointer self) -> OT::Pointer< OT::StorageManager >::pointer_type const &"""
return _common.StorageManagerPointer_getImplementation(self)
def unique(self):
"""unique(StorageManagerPointer self) -> OT::Bool"""
return _common.StorageManagerPointer_unique(self)
def use_count(self):
"""use_count(StorageManagerPointer self) -> OT::UnsignedLong"""
return _common.StorageManagerPointer_use_count(self)
def swap(self, *args):
"""swap(StorageManagerPointer self, StorageManagerPointer other)"""
return _common.StorageManagerPointer_swap(self, *args)
def GetClassName(self):
"""GetClassName(StorageManagerPointer self) -> OT::String"""
return _common.StorageManagerPointer_GetClassName(self)
def getClassName(self):
"""getClassName(StorageManagerPointer self) -> OT::String"""
return _common.StorageManagerPointer_getClassName(self)
def __repr__(self):
"""__repr__(StorageManagerPointer self) -> OT::String"""
return _common.StorageManagerPointer___repr__(self)
def save(self, *args):
"""
save(StorageManagerPointer self, PersistentObject obj, OT::String const & label, bool fromStudy=False)
save(StorageManagerPointer self, PersistentObject obj, OT::String const & label)
"""
return _common.StorageManagerPointer_save(self, *args)
def load(self, *args):
"""load(StorageManagerPointer self, Study study)"""
return _common.StorageManagerPointer_load(self, *args)
def getStudy(self):
"""getStudy(StorageManagerPointer self) -> Study"""
return _common.StorageManagerPointer_getStudy(self)
def setStudy(self, *args):
"""setStudy(StorageManagerPointer self, Study p_study)"""
return _common.StorageManagerPointer_setStudy(self, *args)
def getDefaultStudyVersion(self):
"""getDefaultStudyVersion(StorageManagerPointer self) -> OT::UnsignedLong"""
return _common.StorageManagerPointer_getDefaultStudyVersion(self)
def getStudyVersion(self):
"""getStudyVersion(StorageManagerPointer self) -> OT::UnsignedLong"""
return _common.StorageManagerPointer_getStudyVersion(self)
def setStudyVersion(self, *args):
"""setStudyVersion(StorageManagerPointer self, OT::UnsignedLong version)"""
return _common.StorageManagerPointer_setStudyVersion(self, *args)
def initialize(self, *args):
"""
initialize(StorageManagerPointer self, SaveAction caller)
initialize(StorageManagerPointer self, LoadAction caller)
"""
return _common.StorageManagerPointer_initialize(self, *args)
def finalize(self, *args):
"""
finalize(StorageManagerPointer self, SaveAction caller)
finalize(StorageManagerPointer self, LoadAction caller)
"""
return _common.StorageManagerPointer_finalize(self, *args)
def read(self):
"""read(StorageManagerPointer self)"""
return _common.StorageManagerPointer_read(self)
def write(self):
"""write(StorageManagerPointer self)"""
return _common.StorageManagerPointer_write(self)
def isSavedObject(self, *args):
"""isSavedObject(StorageManagerPointer self, OT::Id id) -> OT::Bool"""
return _common.StorageManagerPointer_isSavedObject(self, *args)
def markObjectAsSaved(self, *args):
"""markObjectAsSaved(StorageManagerPointer self, OT::Id id)"""
return _common.StorageManagerPointer_markObjectAsSaved(self, *args)
def __str__(self, offset=""):
"""
__str__(StorageManagerPointer self, OT::String const & offset="") -> OT::String
__str__(StorageManagerPointer self) -> OT::String
"""
return _common.StorageManagerPointer___str__(self, offset)
StorageManagerPointer_swigregister = _common.StorageManagerPointer_swigregister
StorageManagerPointer_swigregister(StorageManagerPointer)
# This file is compatible with both classic and new-style classes.
|