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
|
// std lib related includes
#include <tuple>
// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
// Standard Handle
#include <Standard_Handle.hxx>
// includes to resolve forward declarations
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Interface_InterfaceModel.hxx>
#include <Interface_Protocol.hxx>
#include <Transfer_TransientProcess.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_ProcessForFinder.hxx>
#include <Transfer_FinderProcess.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_ProcessForFinder.hxx>
#include <Transfer_IteratorOfProcessForFinder.hxx>
#include <Transfer_SimpleBinderOfTransient.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_ProcessForTransient.hxx>
#include <Transfer_IteratorOfProcessForTransient.hxx>
#include <Transfer_SimpleBinderOfTransient.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_ProcessForTransient.hxx>
#include <Transfer_TransientProcess.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Interface_Check.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_TransientProcess.hxx>
#include <Interface_InterfaceModel.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_TransientMapper.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_FindHasher.hxx>
#include <Transfer_ProcessForFinder.hxx>
#include <Transfer_ActorOfProcessForFinder.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_ProcessForTransient.hxx>
#include <Transfer_ActorOfProcessForTransient.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_ActorOfProcessForFinder.hxx>
#include <Interface_InterfaceError.hxx>
#include <Transfer_TransferFailure.hxx>
#include <Transfer_IteratorOfProcessForFinder.hxx>
#include <Message_Msg.hxx>
#include <Interface_Check.hxx>
#include <Interface_CheckIterator.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Message_Messenger.hxx>
#include <Transfer_ActorOfProcessForTransient.hxx>
#include <Interface_InterfaceError.hxx>
#include <Transfer_TransferFailure.hxx>
#include <Transfer_IteratorOfProcessForTransient.hxx>
#include <Message_Msg.hxx>
#include <Interface_Check.hxx>
#include <Interface_CheckIterator.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Interface_InterfaceModel.hxx>
#include <Transfer_ResultFromTransient.hxx>
#include <Transfer_TransientProcess.hxx>
#include <Interface_CheckIterator.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_Binder.hxx>
#include <Interface_Check.hxx>
#include <Transfer_TransientProcess.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Interface_InterfaceModel.hxx>
#include <Interface_Protocol.hxx>
#include <Transfer_TransientProcess.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Interface_EntityIterator.hxx>
#include <Transfer_TransferIterator.hxx>
#include <Transfer_TransientProcess.hxx>
#include <Interface_InterfaceModel.hxx>
#include <Interface_Protocol.hxx>
#include <Transfer_FinderProcess.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Interface_Check.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_TransientProcess.hxx>
#include <Interface_InterfaceModel.hxx>
#include <Transfer_ActorOfTransientProcess.hxx>
#include <Interface_Protocol.hxx>
#include <Interface_Graph.hxx>
#include <Interface_EntityIterator.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Transfer_DataInfo.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Interface_InterfaceModel.hxx>
#include <Interface_HGraph.hxx>
#include <Interface_Graph.hxx>
#include <Interface_EntityIterator.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
// module includes
#include <Transfer_ActorDispatch.hxx>
#include <Transfer_ActorOfFinderProcess.hxx>
#include <Transfer_ActorOfProcessForFinder.hxx>
#include <Transfer_ActorOfProcessForTransient.hxx>
#include <Transfer_ActorOfTransientProcess.hxx>
#include <Transfer_Binder.hxx>
#include <Transfer_BinderOfTransientInteger.hxx>
#include <Transfer_DataInfo.hxx>
#include <Transfer_DispatchControl.hxx>
#include <Transfer_Finder.hxx>
#include <Transfer_FinderProcess.hxx>
#include <Transfer_FindHasher.hxx>
#include <Transfer_HSequenceOfBinder.hxx>
#include <Transfer_HSequenceOfFinder.hxx>
#include <Transfer_IteratorOfProcessForFinder.hxx>
#include <Transfer_IteratorOfProcessForTransient.hxx>
#include <Transfer_MapContainer.hxx>
#include <Transfer_MultipleBinder.hxx>
#include <Transfer_ProcessForFinder.hxx>
#include <Transfer_ProcessForTransient.hxx>
#include <Transfer_ResultFromModel.hxx>
#include <Transfer_ResultFromTransient.hxx>
#include <Transfer_SequenceOfBinder.hxx>
#include <Transfer_SequenceOfFinder.hxx>
#include <Transfer_SimpleBinderOfTransient.hxx>
#include <Transfer_StatusExec.hxx>
#include <Transfer_StatusResult.hxx>
#include <Transfer_TransferDeadLoop.hxx>
#include <Transfer_TransferDispatch.hxx>
#include <Transfer_TransferFailure.hxx>
#include <Transfer_TransferInput.hxx>
#include <Transfer_TransferIterator.hxx>
#include <Transfer_TransferMapOfProcessForFinder.hxx>
#include <Transfer_TransferMapOfProcessForTransient.hxx>
#include <Transfer_TransferOutput.hxx>
#include <Transfer_TransientListBinder.hxx>
#include <Transfer_TransientMapper.hxx>
#include <Transfer_TransientProcess.hxx>
#include <Transfer_UndefMode.hxx>
#include <Transfer_VoidBinder.hxx>
// template related includes
// ./opencascade/Transfer_SequenceOfBinder.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Transfer_SequenceOfFinder.hxx
#include "NCollection_tmpl.hxx"
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
// Module definiiton
void register_Transfer(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("Transfer"));
py::object klass;
//Python trampoline classes
class Py_Transfer_Binder : public Transfer_Binder{
public:
using Transfer_Binder::Transfer_Binder;
// public pure virtual
opencascade::handle<Standard_Type> ResultType() const override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Standard_Type>,Transfer_Binder,ResultType,) };
Standard_CString ResultTypeName() const override { PYBIND11_OVERLOAD_PURE(Standard_CString,Transfer_Binder,ResultTypeName,) };
// protected pure virtual
// private pure virtual
};
class Py_Transfer_Finder : public Transfer_Finder{
public:
using Transfer_Finder::Transfer_Finder;
// public pure virtual
Standard_Boolean Equates(const opencascade::handle<Transfer_Finder> & other) const override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,Transfer_Finder,Equates,other) };
// protected pure virtual
// private pure virtual
};
// classes
// Class Transfer_ActorOfProcessForFinder from ./opencascade/Transfer_ActorOfProcessForFinder.hxx
klass = m.attr("Transfer_ActorOfProcessForFinder");
// nested enums
static_cast<py::class_<Transfer_ActorOfProcessForFinder ,opencascade::handle<Transfer_ActorOfProcessForFinder> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Recognize",
(Standard_Boolean (Transfer_ActorOfProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) ) static_cast<Standard_Boolean (Transfer_ActorOfProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) >(&Transfer_ActorOfProcessForFinder::Recognize),
R"#(Prerequesite for Transfer : the method Transfer is called on a starting object only if Recognize has returned True on it This allows to define a list of Actors, each one processing a definite kind of data TransferProcess calls Recognize on each one before calling Transfer. But even if Recognize has returned True, Transfer can reject by returning a Null Binder (afterwards rejection), the next actor is then invoked)#" , py::arg("start")
)
.def("Transferring",
(opencascade::handle<Transfer_Binder> (Transfer_ActorOfProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_ProcessForFinder> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ActorOfProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_ProcessForFinder> & , const Message_ProgressRange & ) >(&Transfer_ActorOfProcessForFinder::Transferring),
R"#(Specific action of Transfer. The Result is stored in the returned Binder, or a Null Handle for "No result" (Default defined as doing nothing; should be deferred) "mutable" allows the Actor to record intermediate information, in addition to those of TransferProcess)#" , py::arg("start"), py::arg("TP"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("TransientResult",
(opencascade::handle<Transfer_SimpleBinderOfTransient> (Transfer_ActorOfProcessForFinder::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<opencascade::handle<Transfer_SimpleBinderOfTransient> (Transfer_ActorOfProcessForFinder::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ActorOfProcessForFinder::TransientResult),
R"#(Prepares and Returns a Binder for a Transient Result Returns a Null Handle if <res> is itself Null)#" , py::arg("res")
)
.def("NullResult",
(opencascade::handle<Transfer_Binder> (Transfer_ActorOfProcessForFinder::*)() const) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ActorOfProcessForFinder::*)() const>(&Transfer_ActorOfProcessForFinder::NullResult),
R"#(Returns a Binder for No Result, i.e. a Null Handle)#"
)
.def("SetLast",
(void (Transfer_ActorOfProcessForFinder::*)( const Standard_Boolean ) ) static_cast<void (Transfer_ActorOfProcessForFinder::*)( const Standard_Boolean ) >(&Transfer_ActorOfProcessForFinder::SetLast),
R"#(If <mode> is True, commands an Actor to be set at the end of the list of Actors (see SetNext) If it is False (creation default), each add Actor is set at the beginning of the list This allows to define default Actors (which are Last))#" , py::arg("mode")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("IsLast",
(Standard_Boolean (Transfer_ActorOfProcessForFinder::*)() const) static_cast<Standard_Boolean (Transfer_ActorOfProcessForFinder::*)() const>(&Transfer_ActorOfProcessForFinder::IsLast),
R"#(Returns the Last status (see SetLast).)#"
)
.def("SetNext",
(void (Transfer_ActorOfProcessForFinder::*)( const opencascade::handle<Transfer_ActorOfProcessForFinder> & ) ) static_cast<void (Transfer_ActorOfProcessForFinder::*)( const opencascade::handle<Transfer_ActorOfProcessForFinder> & ) >(&Transfer_ActorOfProcessForFinder::SetNext),
R"#(Defines a Next Actor : it can then be asked to work if <me> produces no result for a given type of Object. If Next is already set and is not "Last", calls SetNext on it. If Next defined and "Last", the new actor is added before it in the list)#" , py::arg("next")
)
.def("Next",
(opencascade::handle<Transfer_ActorOfProcessForFinder> (Transfer_ActorOfProcessForFinder::*)() const) static_cast<opencascade::handle<Transfer_ActorOfProcessForFinder> (Transfer_ActorOfProcessForFinder::*)() const>(&Transfer_ActorOfProcessForFinder::Next),
R"#(Returns the Actor defined as Next, or a Null Handle)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_ActorOfProcessForFinder::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_ActorOfProcessForFinder::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_ActorOfProcessForFinder::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_ActorOfProcessForFinder::*)() const>(&Transfer_ActorOfProcessForFinder::DynamicType),
R"#(None)#"
)
;
// Class Transfer_ActorOfProcessForTransient from ./opencascade/Transfer_ActorOfProcessForTransient.hxx
klass = m.attr("Transfer_ActorOfProcessForTransient");
// nested enums
static_cast<py::class_<Transfer_ActorOfProcessForTransient ,opencascade::handle<Transfer_ActorOfProcessForTransient> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Recognize",
(Standard_Boolean (Transfer_ActorOfProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<Standard_Boolean (Transfer_ActorOfProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_ActorOfProcessForTransient::Recognize),
R"#(Prerequesite for Transfer : the method Transfer is called on a starting object only if Recognize has returned True on it This allows to define a list of Actors, each one processing a definite kind of data TransferProcess calls Recognize on each one before calling Transfer. But even if Recognize has returned True, Transfer can reject by returning a Null Binder (afterwards rejection), the next actor is then invoked)#" , py::arg("start")
)
.def("Transferring",
(opencascade::handle<Transfer_Binder> (Transfer_ActorOfProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_ProcessForTransient> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ActorOfProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_ProcessForTransient> & , const Message_ProgressRange & ) >(&Transfer_ActorOfProcessForTransient::Transferring),
R"#(Specific action of Transfer. The Result is stored in the returned Binder, or a Null Handle for "No result" (Default defined as doing nothing; should be deferred) "mutable" allows the Actor to record intermediate information, in addition to those of TransferProcess)#" , py::arg("start"), py::arg("TP"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("TransientResult",
(opencascade::handle<Transfer_SimpleBinderOfTransient> (Transfer_ActorOfProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<opencascade::handle<Transfer_SimpleBinderOfTransient> (Transfer_ActorOfProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ActorOfProcessForTransient::TransientResult),
R"#(Prepares and Returns a Binder for a Transient Result Returns a Null Handle if <res> is itself Null)#" , py::arg("res")
)
.def("NullResult",
(opencascade::handle<Transfer_Binder> (Transfer_ActorOfProcessForTransient::*)() const) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ActorOfProcessForTransient::*)() const>(&Transfer_ActorOfProcessForTransient::NullResult),
R"#(Returns a Binder for No Result, i.e. a Null Handle)#"
)
.def("SetLast",
(void (Transfer_ActorOfProcessForTransient::*)( const Standard_Boolean ) ) static_cast<void (Transfer_ActorOfProcessForTransient::*)( const Standard_Boolean ) >(&Transfer_ActorOfProcessForTransient::SetLast),
R"#(If <mode> is True, commands an Actor to be set at the end of the list of Actors (see SetNext) If it is False (creation default), each add Actor is set at the beginning of the list This allows to define default Actors (which are Last))#" , py::arg("mode")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("IsLast",
(Standard_Boolean (Transfer_ActorOfProcessForTransient::*)() const) static_cast<Standard_Boolean (Transfer_ActorOfProcessForTransient::*)() const>(&Transfer_ActorOfProcessForTransient::IsLast),
R"#(Returns the Last status (see SetLast).)#"
)
.def("SetNext",
(void (Transfer_ActorOfProcessForTransient::*)( const opencascade::handle<Transfer_ActorOfProcessForTransient> & ) ) static_cast<void (Transfer_ActorOfProcessForTransient::*)( const opencascade::handle<Transfer_ActorOfProcessForTransient> & ) >(&Transfer_ActorOfProcessForTransient::SetNext),
R"#(Defines a Next Actor : it can then be asked to work if <me> produces no result for a given type of Object. If Next is already set and is not "Last", calls SetNext on it. If Next defined and "Last", the new actor is added before it in the list)#" , py::arg("next")
)
.def("Next",
(opencascade::handle<Transfer_ActorOfProcessForTransient> (Transfer_ActorOfProcessForTransient::*)() const) static_cast<opencascade::handle<Transfer_ActorOfProcessForTransient> (Transfer_ActorOfProcessForTransient::*)() const>(&Transfer_ActorOfProcessForTransient::Next),
R"#(Returns the Actor defined as Next, or a Null Handle)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_ActorOfProcessForTransient::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_ActorOfProcessForTransient::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_ActorOfProcessForTransient::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_ActorOfProcessForTransient::*)() const>(&Transfer_ActorOfProcessForTransient::DynamicType),
R"#(None)#"
)
;
// Class Transfer_Binder from ./opencascade/Transfer_Binder.hxx
klass = m.attr("Transfer_Binder");
// nested enums
static_cast<py::class_<Transfer_Binder ,opencascade::handle<Transfer_Binder> ,Py_Transfer_Binder , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("Merge",
(void (Transfer_Binder::*)( const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_Binder::*)( const opencascade::handle<Transfer_Binder> & ) >(&Transfer_Binder::Merge),
R"#(Merges basic data (Check, ExecStatus) from another Binder but keeps its result. Used when a binder is replaced by another one, this allows to keep messages)#" , py::arg("other")
)
.def("IsMultiple",
(Standard_Boolean (Transfer_Binder::*)() const) static_cast<Standard_Boolean (Transfer_Binder::*)() const>(&Transfer_Binder::IsMultiple),
R"#(Returns True if a Binder has several results, either by itself or because it has next results Can be defined by sub-classes.)#"
)
.def("ResultType",
(opencascade::handle<Standard_Type> (Transfer_Binder::*)() const) static_cast<opencascade::handle<Standard_Type> (Transfer_Binder::*)() const>(&Transfer_Binder::ResultType),
R"#(Returns the Type which characterizes the Result (if known))#"
)
.def("ResultTypeName",
(Standard_CString (Transfer_Binder::*)() const) static_cast<Standard_CString (Transfer_Binder::*)() const>(&Transfer_Binder::ResultTypeName),
R"#(Returns the Name of the Type which characterizes the Result Can be returned even if ResultType itself is unknown)#"
)
.def("AddResult",
(void (Transfer_Binder::*)( const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_Binder::*)( const opencascade::handle<Transfer_Binder> & ) >(&Transfer_Binder::AddResult),
R"#(Adds a next result (at the end of the list) Remark : this information is not processed by Merge)#" , py::arg("next")
)
.def("NextResult",
(opencascade::handle<Transfer_Binder> (Transfer_Binder::*)() const) static_cast<opencascade::handle<Transfer_Binder> (Transfer_Binder::*)() const>(&Transfer_Binder::NextResult),
R"#(Returns the next result, Null if none)#"
)
.def("HasResult",
(Standard_Boolean (Transfer_Binder::*)() const) static_cast<Standard_Boolean (Transfer_Binder::*)() const>(&Transfer_Binder::HasResult),
R"#(Returns True if a Result is available (StatusResult = Defined) A Unique Result will be gotten by Result (which must be defined in each sub-class according to result type) For a Multiple Result, see class MultipleBinder For other case, specific access has to be forecast)#"
)
.def("SetAlreadyUsed",
(void (Transfer_Binder::*)() ) static_cast<void (Transfer_Binder::*)() >(&Transfer_Binder::SetAlreadyUsed),
R"#(Declares that result is now used by another one, it means that it cannot be modified (by Rebind))#"
)
.def("Status",
(Transfer_StatusResult (Transfer_Binder::*)() const) static_cast<Transfer_StatusResult (Transfer_Binder::*)() const>(&Transfer_Binder::Status),
R"#(Returns status, which can be Initial (not yet done), Made (a result is recorded, not yet shared), Used (it is shared and cannot be modified))#"
)
.def("StatusExec",
(Transfer_StatusExec (Transfer_Binder::*)() const) static_cast<Transfer_StatusExec (Transfer_Binder::*)() const>(&Transfer_Binder::StatusExec),
R"#(Returns execution status)#"
)
.def("SetStatusExec",
(void (Transfer_Binder::*)( const Transfer_StatusExec ) ) static_cast<void (Transfer_Binder::*)( const Transfer_StatusExec ) >(&Transfer_Binder::SetStatusExec),
R"#(Modifies execution status; called by TransferProcess only (for StatusError, rather use SetError, below))#" , py::arg("stat")
)
.def("AddFail",
(void (Transfer_Binder::*)( const Standard_CString , const Standard_CString ) ) static_cast<void (Transfer_Binder::*)( const Standard_CString , const Standard_CString ) >(&Transfer_Binder::AddFail),
R"#(Used to declare an individual transfer as being erroneous (Status is set to Void, StatusExec is set to Error, <errmess> is added to Check's list of Fails) It is possible to record several messages of error)#" , py::arg("mess"), py::arg("orig")=static_cast<const Standard_CString>("")
)
.def("AddWarning",
(void (Transfer_Binder::*)( const Standard_CString , const Standard_CString ) ) static_cast<void (Transfer_Binder::*)( const Standard_CString , const Standard_CString ) >(&Transfer_Binder::AddWarning),
R"#(Used to attach a Warning Message to an individual Transfer It has no effect on the Status)#" , py::arg("mess"), py::arg("orig")=static_cast<const Standard_CString>("")
)
.def("Check",
(const opencascade::handle<Interface_Check> (Transfer_Binder::*)() const) static_cast<const opencascade::handle<Interface_Check> (Transfer_Binder::*)() const>(&Transfer_Binder::Check),
R"#(Returns Check which stores Fail messages Note that no Entity is associated in this Check)#"
)
.def("CCheck",
(opencascade::handle<Interface_Check> (Transfer_Binder::*)() ) static_cast<opencascade::handle<Interface_Check> (Transfer_Binder::*)() >(&Transfer_Binder::CCheck),
R"#(Returns Check which stores Fail messages, in order to modify it (adding messages, or replacing it))#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_Binder::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_Binder::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_Binder::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_Binder::*)() const>(&Transfer_Binder::DynamicType),
R"#(None)#"
)
;
// Class Transfer_DataInfo from ./opencascade/Transfer_DataInfo.hxx
klass = m.attr("Transfer_DataInfo");
// default constructor
register_default_constructor<Transfer_DataInfo , shared_ptr<Transfer_DataInfo>>(m,"Transfer_DataInfo");
// nested enums
static_cast<py::class_<Transfer_DataInfo , shared_ptr<Transfer_DataInfo> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("Type_s",
(opencascade::handle<Standard_Type> (*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<opencascade::handle<Standard_Type> (*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_DataInfo::Type),
R"#(Returns the Type attached to an object Here, the Dynamic Type of a Transient. Null Type if unknown)#" , py::arg("ent")
)
.def_static("TypeName_s",
(Standard_CString (*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<Standard_CString (*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_DataInfo::TypeName),
R"#(Returns Type Name (string) Allows to name type of non-handled objects)#" , py::arg("ent")
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Transfer_DispatchControl from ./opencascade/Transfer_DispatchControl.hxx
klass = m.attr("Transfer_DispatchControl");
// nested enums
static_cast<py::class_<Transfer_DispatchControl ,opencascade::handle<Transfer_DispatchControl> , Interface_CopyControl >>(klass)
// constructors
.def(py::init< const opencascade::handle<Interface_InterfaceModel> &,const opencascade::handle<Transfer_TransientProcess> & >() , py::arg("model"), py::arg("TP") )
// custom constructors
// methods
.def("Clear",
(void (Transfer_DispatchControl::*)() ) static_cast<void (Transfer_DispatchControl::*)() >(&Transfer_DispatchControl::Clear),
R"#(Clears the List of Copied Results)#"
)
.def("Bind",
(void (Transfer_DispatchControl::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_DispatchControl::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Standard_Transient> & ) >(&Transfer_DispatchControl::Bind),
R"#(Binds a (Transient) Result to a (Transient) Starting Entity)#" , py::arg("ent"), py::arg("res")
)
.def("Search",
(Standard_Boolean (Transfer_DispatchControl::*)( const opencascade::handle<Standard_Transient> & , opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_DispatchControl::*)( const opencascade::handle<Standard_Transient> & , opencascade::handle<Standard_Transient> & ) const>(&Transfer_DispatchControl::Search),
R"#(Searches for the Result bound to a Starting Entity If Found, returns True and fills <res> Else, returns False and nullifies <res>)#" , py::arg("ent"), py::arg("res")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_DispatchControl::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_DispatchControl::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("TransientProcess",
(const opencascade::handle<Transfer_TransientProcess> & (Transfer_DispatchControl::*)() const) static_cast<const opencascade::handle<Transfer_TransientProcess> & (Transfer_DispatchControl::*)() const>(&Transfer_DispatchControl::TransientProcess),
R"#(Returns the content of the DispatchControl : it can be used for a direct call, if the basic methods do not suffice)#"
)
.def("StartingModel",
(const opencascade::handle<Interface_InterfaceModel> & (Transfer_DispatchControl::*)() const) static_cast<const opencascade::handle<Interface_InterfaceModel> & (Transfer_DispatchControl::*)() const>(&Transfer_DispatchControl::StartingModel),
R"#(Returns the Model from which the transfer is to be done)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_DispatchControl::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_DispatchControl::*)() const>(&Transfer_DispatchControl::DynamicType),
R"#(None)#"
)
;
// Class Transfer_FindHasher from ./opencascade/Transfer_FindHasher.hxx
klass = m.attr("Transfer_FindHasher");
// default constructor
register_default_constructor<Transfer_FindHasher , shared_ptr<Transfer_FindHasher>>(m,"Transfer_FindHasher");
// nested enums
static_cast<py::class_<Transfer_FindHasher , shared_ptr<Transfer_FindHasher> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (Transfer_FindHasher::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<size_t (Transfer_FindHasher::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_FindHasher::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theFinder")
)
.def("__call__",
(bool (Transfer_FindHasher::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_Finder> & ) const) static_cast<bool (Transfer_FindHasher::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_FindHasher::operator()),
py::is_operator(),
R"#(Returns True if two keys are the same. The test does not work on the Finders themselves but by calling their methods Equates)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Transfer_Finder from ./opencascade/Transfer_Finder.hxx
klass = m.attr("Transfer_Finder");
// nested enums
static_cast<py::class_<Transfer_Finder ,opencascade::handle<Transfer_Finder> ,Py_Transfer_Finder , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("GetHashCode",
(size_t (Transfer_Finder::*)() const) static_cast<size_t (Transfer_Finder::*)() const>(&Transfer_Finder::GetHashCode),
R"#(Returns the HashCode which has been stored by SetHashCode (remark that HashCode could be deferred then be defined by sub-classes, the result is the same))#"
)
.def("Equates",
(Standard_Boolean (Transfer_Finder::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<Standard_Boolean (Transfer_Finder::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_Finder::Equates),
R"#(Specific testof equality : to be defined by each sub-class, must be False if Finders have not the same true Type, else their contents must be compared)#" , py::arg("other")
)
.def("ValueType",
(opencascade::handle<Standard_Type> (Transfer_Finder::*)() const) static_cast<opencascade::handle<Standard_Type> (Transfer_Finder::*)() const>(&Transfer_Finder::ValueType),
R"#(Returns the Type of the Value. By default, returns the DynamicType of <me>, but can be redefined)#"
)
.def("ValueTypeName",
(Standard_CString (Transfer_Finder::*)() const) static_cast<Standard_CString (Transfer_Finder::*)() const>(&Transfer_Finder::ValueTypeName),
R"#(Returns the name of the Type of the Value. Default is name of ValueType, unless it is for a non-handled object)#"
)
.def("SetAttribute",
(void (Transfer_Finder::*)( const Standard_CString , const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_Finder::*)( const Standard_CString , const opencascade::handle<Standard_Transient> & ) >(&Transfer_Finder::SetAttribute),
R"#(Adds an attribute with a given name (replaces the former one with the same name if already exists))#" , py::arg("name"), py::arg("val")
)
.def("RemoveAttribute",
(Standard_Boolean (Transfer_Finder::*)( const Standard_CString ) ) static_cast<Standard_Boolean (Transfer_Finder::*)( const Standard_CString ) >(&Transfer_Finder::RemoveAttribute),
R"#(Removes an attribute Returns True when done, False if this attribute did not exist)#" , py::arg("name")
)
.def("GetAttribute",
(Standard_Boolean (Transfer_Finder::*)( const Standard_CString , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_Finder::*)( const Standard_CString , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const>(&Transfer_Finder::GetAttribute),
R"#(Returns an attribute from its name, filtered by a type If no attribute has this name, or if it is not kind of this type, <val> is Null and returned value is False Else, it is True)#" , py::arg("name"), py::arg("type"), py::arg("val")
)
.def("Attribute",
(opencascade::handle<Standard_Transient> (Transfer_Finder::*)( const Standard_CString ) const) static_cast<opencascade::handle<Standard_Transient> (Transfer_Finder::*)( const Standard_CString ) const>(&Transfer_Finder::Attribute),
R"#(Returns an attribute from its name. Null Handle if not recorded (whatever Transient, Integer, Real ...))#" , py::arg("name")
)
.def("AttributeType",
(Interface_ParamType (Transfer_Finder::*)( const Standard_CString ) const) static_cast<Interface_ParamType (Transfer_Finder::*)( const Standard_CString ) const>(&Transfer_Finder::AttributeType),
R"#(Returns the type of an attribute : ParamInt , ParamReal , ParamText (String) , ParamIdent (any) or ParamVoid (not recorded))#" , py::arg("name")
)
.def("SetIntegerAttribute",
(void (Transfer_Finder::*)( const Standard_CString , const Standard_Integer ) ) static_cast<void (Transfer_Finder::*)( const Standard_CString , const Standard_Integer ) >(&Transfer_Finder::SetIntegerAttribute),
R"#(Adds an integer value for an attribute)#" , py::arg("name"), py::arg("val")
)
.def("GetIntegerAttribute",
(Standard_Boolean (Transfer_Finder::*)( const Standard_CString , Standard_Integer & ) const) static_cast<Standard_Boolean (Transfer_Finder::*)( const Standard_CString , Standard_Integer & ) const>(&Transfer_Finder::GetIntegerAttribute),
R"#(Returns an attribute from its name, as integer If no attribute has this name, or not an integer, <val> is 0 and returned value is False Else, it is True)#" , py::arg("name"), py::arg("val")
)
.def("IntegerAttribute",
(Standard_Integer (Transfer_Finder::*)( const Standard_CString ) const) static_cast<Standard_Integer (Transfer_Finder::*)( const Standard_CString ) const>(&Transfer_Finder::IntegerAttribute),
R"#(Returns an integer attribute from its name. 0 if not recorded)#" , py::arg("name")
)
.def("SetRealAttribute",
(void (Transfer_Finder::*)( const Standard_CString , const Standard_Real ) ) static_cast<void (Transfer_Finder::*)( const Standard_CString , const Standard_Real ) >(&Transfer_Finder::SetRealAttribute),
R"#(Adds a real value for an attribute)#" , py::arg("name"), py::arg("val")
)
.def("GetRealAttribute",
(Standard_Boolean (Transfer_Finder::*)( const Standard_CString , Standard_Real & ) const) static_cast<Standard_Boolean (Transfer_Finder::*)( const Standard_CString , Standard_Real & ) const>(&Transfer_Finder::GetRealAttribute),
R"#(Returns an attribute from its name, as real If no attribute has this name, or not a real <val> is 0.0 and returned value is False Else, it is True)#" , py::arg("name"), py::arg("val")
)
.def("RealAttribute",
(Standard_Real (Transfer_Finder::*)( const Standard_CString ) const) static_cast<Standard_Real (Transfer_Finder::*)( const Standard_CString ) const>(&Transfer_Finder::RealAttribute),
R"#(Returns a real attribute from its name. 0.0 if not recorded)#" , py::arg("name")
)
.def("SetStringAttribute",
(void (Transfer_Finder::*)( const Standard_CString , const Standard_CString ) ) static_cast<void (Transfer_Finder::*)( const Standard_CString , const Standard_CString ) >(&Transfer_Finder::SetStringAttribute),
R"#(Adds a String value for an attribute)#" , py::arg("name"), py::arg("val")
)
.def("StringAttribute",
(Standard_CString (Transfer_Finder::*)( const Standard_CString ) const) static_cast<Standard_CString (Transfer_Finder::*)( const Standard_CString ) const>(&Transfer_Finder::StringAttribute),
R"#(Returns a String attribute from its name. "" if not recorded)#" , py::arg("name")
)
.def("SameAttributes",
(void (Transfer_Finder::*)( const opencascade::handle<Transfer_Finder> & ) ) static_cast<void (Transfer_Finder::*)( const opencascade::handle<Transfer_Finder> & ) >(&Transfer_Finder::SameAttributes),
R"#(Gets the list of attributes from <other>, as such, i.e. not copied : attributes are shared, any attribute edited, added, or removed in <other> is also in <me> and vice versa The former list of attributes of <me> is dropped)#" , py::arg("other")
)
.def("GetAttributes",
(void (Transfer_Finder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_CString , const Standard_Boolean ) ) static_cast<void (Transfer_Finder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_CString , const Standard_Boolean ) >(&Transfer_Finder::GetAttributes),
R"#(Gets the list of attributes from <other>, by copying it By default, considers all the attributes from <other> If <fromname> is given, considers only the attributes with name beginning by <fromname>)#" , py::arg("other"), py::arg("fromname")=static_cast<const Standard_CString>(""), py::arg("copied")=static_cast<const Standard_Boolean>(Standard_True)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_Finder::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_Finder::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("AttrList",
(NCollection_DataMap<TCollection_AsciiString, opencascade::handle<Standard_Transient>> & (Transfer_Finder::*)() ) static_cast<NCollection_DataMap<TCollection_AsciiString, opencascade::handle<Standard_Transient>> & (Transfer_Finder::*)() >(&Transfer_Finder::AttrList),
R"#(Returns the exhaustive list of attributes)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_Finder::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_Finder::*)() const>(&Transfer_Finder::DynamicType),
R"#(None)#"
)
;
// Class Transfer_HSequenceOfBinder from ./opencascade/Transfer_HSequenceOfBinder.hxx
klass = m.attr("Transfer_HSequenceOfBinder");
// nested enums
static_cast<py::class_<Transfer_HSequenceOfBinder ,opencascade::handle<Transfer_HSequenceOfBinder> , Transfer_SequenceOfBinder , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const NCollection_Sequence<opencascade::handle<Transfer_Binder>> & >() , py::arg("theOther") )
// custom constructors
// methods
.def("Append",
(void (Transfer_HSequenceOfBinder::*)( const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_HSequenceOfBinder::*)( const opencascade::handle<Transfer_Binder> & ) >(&Transfer_HSequenceOfBinder::Append),
R"#(None)#" , py::arg("theItem")
)
.def("Append",
(void (Transfer_HSequenceOfBinder::*)( NCollection_Sequence<opencascade::handle<Transfer_Binder>> & ) ) static_cast<void (Transfer_HSequenceOfBinder::*)( NCollection_Sequence<opencascade::handle<Transfer_Binder>> & ) >(&Transfer_HSequenceOfBinder::Append),
R"#(None)#" , py::arg("theSequence")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_HSequenceOfBinder::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_HSequenceOfBinder::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Sequence",
(const Transfer_SequenceOfBinder & (Transfer_HSequenceOfBinder::*)() const) static_cast<const Transfer_SequenceOfBinder & (Transfer_HSequenceOfBinder::*)() const>(&Transfer_HSequenceOfBinder::Sequence),
R"#(None)#"
)
.def("ChangeSequence",
(Transfer_SequenceOfBinder & (Transfer_HSequenceOfBinder::*)() ) static_cast<Transfer_SequenceOfBinder & (Transfer_HSequenceOfBinder::*)() >(&Transfer_HSequenceOfBinder::ChangeSequence),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_HSequenceOfBinder::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_HSequenceOfBinder::*)() const>(&Transfer_HSequenceOfBinder::DynamicType),
R"#(None)#"
)
;
// Class Transfer_HSequenceOfFinder from ./opencascade/Transfer_HSequenceOfFinder.hxx
klass = m.attr("Transfer_HSequenceOfFinder");
// nested enums
static_cast<py::class_<Transfer_HSequenceOfFinder ,opencascade::handle<Transfer_HSequenceOfFinder> , Transfer_SequenceOfFinder , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const NCollection_Sequence<opencascade::handle<Transfer_Finder>> & >() , py::arg("theOther") )
// custom constructors
// methods
.def("Append",
(void (Transfer_HSequenceOfFinder::*)( const opencascade::handle<Transfer_Finder> & ) ) static_cast<void (Transfer_HSequenceOfFinder::*)( const opencascade::handle<Transfer_Finder> & ) >(&Transfer_HSequenceOfFinder::Append),
R"#(None)#" , py::arg("theItem")
)
.def("Append",
(void (Transfer_HSequenceOfFinder::*)( NCollection_Sequence<opencascade::handle<Transfer_Finder>> & ) ) static_cast<void (Transfer_HSequenceOfFinder::*)( NCollection_Sequence<opencascade::handle<Transfer_Finder>> & ) >(&Transfer_HSequenceOfFinder::Append),
R"#(None)#" , py::arg("theSequence")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_HSequenceOfFinder::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_HSequenceOfFinder::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Sequence",
(const Transfer_SequenceOfFinder & (Transfer_HSequenceOfFinder::*)() const) static_cast<const Transfer_SequenceOfFinder & (Transfer_HSequenceOfFinder::*)() const>(&Transfer_HSequenceOfFinder::Sequence),
R"#(None)#"
)
.def("ChangeSequence",
(Transfer_SequenceOfFinder & (Transfer_HSequenceOfFinder::*)() ) static_cast<Transfer_SequenceOfFinder & (Transfer_HSequenceOfFinder::*)() >(&Transfer_HSequenceOfFinder::ChangeSequence),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_HSequenceOfFinder::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_HSequenceOfFinder::*)() const>(&Transfer_HSequenceOfFinder::DynamicType),
R"#(None)#"
)
;
// Class Transfer_MapContainer from ./opencascade/Transfer_MapContainer.hxx
klass = m.attr("Transfer_MapContainer");
// nested enums
static_cast<py::class_<Transfer_MapContainer ,opencascade::handle<Transfer_MapContainer> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetMapObjects",
(void (Transfer_MapContainer::*)( NCollection_DataMap<opencascade::handle<Standard_Transient>, opencascade::handle<Standard_Transient>> & ) ) static_cast<void (Transfer_MapContainer::*)( NCollection_DataMap<opencascade::handle<Standard_Transient>, opencascade::handle<Standard_Transient>> & ) >(&Transfer_MapContainer::SetMapObjects),
R"#(Set map already translated geometry objects.)#" , py::arg("theMapObjects")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_MapContainer::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_MapContainer::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("GetMapObjects",
(TColStd_DataMapOfTransientTransient & (Transfer_MapContainer::*)() ) static_cast<TColStd_DataMapOfTransientTransient & (Transfer_MapContainer::*)() >(&Transfer_MapContainer::GetMapObjects),
R"#(Get map already translated geometry objects.)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_MapContainer::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_MapContainer::*)() const>(&Transfer_MapContainer::DynamicType),
R"#(None)#"
)
;
// Class Transfer_ProcessForFinder from ./opencascade/Transfer_ProcessForFinder.hxx
klass = m.attr("Transfer_ProcessForFinder");
// nested enums
static_cast<py::class_<Transfer_ProcessForFinder ,opencascade::handle<Transfer_ProcessForFinder> , Standard_Transient >>(klass)
// constructors
.def(py::init< const Standard_Integer >() , py::arg("nb")=static_cast<const Standard_Integer>(10000) )
.def(py::init< const opencascade::handle<Message_Messenger> &,const Standard_Integer >() , py::arg("printer"), py::arg("nb")=static_cast<const Standard_Integer>(10000) )
// custom constructors
// methods
.def("Clear",
(void (Transfer_ProcessForFinder::*)() ) static_cast<void (Transfer_ProcessForFinder::*)() >(&Transfer_ProcessForFinder::Clear),
R"#(Resets a TransferProcess as ready for a completely new work. Clears general data (roots) and the Map)#"
)
.def("Clean",
(void (Transfer_ProcessForFinder::*)() ) static_cast<void (Transfer_ProcessForFinder::*)() >(&Transfer_ProcessForFinder::Clean),
R"#(Rebuilds the Map and the roots to really remove Unbound items Because Unbind keeps the entity in place, even if not bound Hence, working by checking new items is meaningless if a formerly unbound item is rebound)#"
)
.def("Resize",
(void (Transfer_ProcessForFinder::*)( const Standard_Integer ) ) static_cast<void (Transfer_ProcessForFinder::*)( const Standard_Integer ) >(&Transfer_ProcessForFinder::Resize),
R"#(Resizes the Map as required (if a new reliable value has been determined). Acts only if <nb> is greater than actual NbMapped)#" , py::arg("nb")
)
.def("SetActor",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_ActorOfProcessForFinder> & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_ActorOfProcessForFinder> & ) >(&Transfer_ProcessForFinder::SetActor),
R"#(Defines an Actor, which is used for automatic Transfer If already defined, the new Actor is cumulated (see SetNext from Actor))#" , py::arg("actor")
)
.def("Actor",
(opencascade::handle<Transfer_ActorOfProcessForFinder> (Transfer_ProcessForFinder::*)() const) static_cast<opencascade::handle<Transfer_ActorOfProcessForFinder> (Transfer_ProcessForFinder::*)() const>(&Transfer_ProcessForFinder::Actor),
R"#(Returns the defined Actor. Returns a Null Handle if not set.)#"
)
.def("Find",
(opencascade::handle<Transfer_Binder> (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_ProcessForFinder::Find),
R"#(Returns the Binder which is linked with a starting Object It can either bring a Result (Transfer done) or none (for a pre-binding). If no Binder is linked with <start>, returns a Null Handle Considers a category number, by default 0)#" , py::arg("start")
)
.def("IsBound",
(Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_ProcessForFinder::IsBound),
R"#(Returns True if a Result (whatever its form) is Bound with a starting Object. I.e., if a Binder with a Result set, is linked with it Considers a category number, by default 0)#" , py::arg("start")
)
.def("IsAlreadyUsed",
(Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_ProcessForFinder::IsAlreadyUsed),
R"#(Returns True if the result of the transfer of an object is already used in other ones. If it is, Rebind cannot change it. Considers a category number, by default 0)#" , py::arg("start")
)
.def("Bind",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_Binder> & ) >(&Transfer_ProcessForFinder::Bind),
R"#(Creates a Link a starting Object with a Binder. This Binder can either bring a Result (effective Binding) or none (it can be set later : pre-binding). Considers a category number, by default 0)#" , py::arg("start"), py::arg("binder")
)
.def("Rebind",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_Binder> & ) >(&Transfer_ProcessForFinder::Rebind),
R"#(Changes the Binder linked with a starting Object for its unitary transfer. This it can be useful when the exact form of the result is known once the transfer is widely engaged. This can be done only on first transfer. Considers a category number, by default 0)#" , py::arg("start"), py::arg("binder")
)
.def("Unbind",
(Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) ) static_cast<Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) >(&Transfer_ProcessForFinder::Unbind),
R"#(Removes the Binder linked with a starting object If this Binder brings a non-empty Check, it is replaced by a VoidBinder. Also removes from the list of Roots as required. Returns True if done, False if <start> was not bound Considers a category number, by default 0)#" , py::arg("start")
)
.def("FindElseBind",
(opencascade::handle<Transfer_Binder> (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) >(&Transfer_ProcessForFinder::FindElseBind),
R"#(Returns a Binder for a starting entity, as follows : Tries to Find the already bound one If none found, creates a VoidBinder and Binds it)#" , py::arg("start")
)
.def("SetMessenger",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Message_Messenger> & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Message_Messenger> & ) >(&Transfer_ProcessForFinder::SetMessenger),
R"#(Sets Messenger used for outputting messages.)#" , py::arg("messenger")
)
.def("Messenger",
(opencascade::handle<Message_Messenger> (Transfer_ProcessForFinder::*)() const) static_cast<opencascade::handle<Message_Messenger> (Transfer_ProcessForFinder::*)() const>(&Transfer_ProcessForFinder::Messenger),
R"#(Returns Messenger used for outputting messages. The returned object is guaranteed to be non-null; default is Message::Messenger().)#"
)
.def("SetTraceLevel",
(void (Transfer_ProcessForFinder::*)( const Standard_Integer ) ) static_cast<void (Transfer_ProcessForFinder::*)( const Standard_Integer ) >(&Transfer_ProcessForFinder::SetTraceLevel),
R"#(Sets trace level used for outputting messages: <trace> = 0 : no trace at all <trace> = 1 : handled exceptions and calls to AddError <trace> = 2 : also calls to AddWarning <trace> = 3 : also traces new Roots (uses method ErrorTrace). Default is 1 : Errors traced)#" , py::arg("tracelev")
)
.def("TraceLevel",
(Standard_Integer (Transfer_ProcessForFinder::*)() const) static_cast<Standard_Integer (Transfer_ProcessForFinder::*)() const>(&Transfer_ProcessForFinder::TraceLevel),
R"#(Returns trace level used for outputting messages.)#"
)
.def("SendFail",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_Msg & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_Msg & ) >(&Transfer_ProcessForFinder::SendFail),
R"#(New name for AddFail (Msg))#" , py::arg("start"), py::arg("amsg")
)
.def("SendWarning",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_Msg & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_Msg & ) >(&Transfer_ProcessForFinder::SendWarning),
R"#(New name for AddWarning (Msg))#" , py::arg("start"), py::arg("amsg")
)
.def("SendMsg",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_Msg & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_Msg & ) >(&Transfer_ProcessForFinder::SendMsg),
R"#(Adds an information message Trace is filled if trace level is at least 3)#" , py::arg("start"), py::arg("amsg")
)
.def("AddFail",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_CString , const Standard_CString ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_CString , const Standard_CString ) >(&Transfer_ProcessForFinder::AddFail),
R"#(Adds an Error message to a starting entity (to the check of its Binder of category 0, as a Fail))#" , py::arg("start"), py::arg("mess"), py::arg("orig")=static_cast<const Standard_CString>("")
)
.def("AddError",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_CString , const Standard_CString ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_CString , const Standard_CString ) >(&Transfer_ProcessForFinder::AddError),
R"#((other name of AddFail, maintained for compatibility))#" , py::arg("start"), py::arg("mess"), py::arg("orig")=static_cast<const Standard_CString>("")
)
.def("AddFail",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_Msg & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_Msg & ) >(&Transfer_ProcessForFinder::AddFail),
R"#(Adds an Error Message to a starting entity from the definition of a Msg (Original+Value))#" , py::arg("start"), py::arg("amsg")
)
.def("AddWarning",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_CString , const Standard_CString ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_CString , const Standard_CString ) >(&Transfer_ProcessForFinder::AddWarning),
R"#(Adds a Warning message to a starting entity (to the check of its Binder of category 0))#" , py::arg("start"), py::arg("mess"), py::arg("orig")=static_cast<const Standard_CString>("")
)
.def("AddWarning",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_Msg & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_Msg & ) >(&Transfer_ProcessForFinder::AddWarning),
R"#(Adds a Warning Message to a starting entity from the definition of a Msg (Original+Value))#" , py::arg("start"), py::arg("amsg")
)
.def("Mend",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_CString ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_CString ) >(&Transfer_ProcessForFinder::Mend),
R"#(None)#" , py::arg("start"), py::arg("pref")=static_cast<const Standard_CString>("")
)
.def("Check",
(opencascade::handle<Interface_Check> (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<opencascade::handle<Interface_Check> (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_ProcessForFinder::Check),
R"#(Returns the Check attached to a starting entity. If <start> is unknown, returns an empty Check Adds a case name to a starting entity Adds a case value to a starting entity Returns the complete case list for an entity. Null Handle if empty In the list of mapped items (between 1 and NbMapped), searches for the first item which follows <num0>(not included) and which has an attribute named <name> Attributes are brought by Binders Hence, allows such an iteration)#" , py::arg("start")
)
.def("BindTransient",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Standard_Transient> & ) >(&Transfer_ProcessForFinder::BindTransient),
R"#(Binds a starting object with a Transient Result. Uses a SimpleBinderOfTransient to work. If there is already one but with no Result set, sets its Result. Considers a category number, by default 0)#" , py::arg("start"), py::arg("res")
)
.def("FindTransient",
(const opencascade::handle<Standard_Transient> & (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<const opencascade::handle<Standard_Transient> & (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_ProcessForFinder::FindTransient),
R"#(Returns the Result of the Transfer of an object <start> as a Transient Result. Returns a Null Handle if there is no Transient Result Considers a category number, by default 0 Warning : Supposes that Binding is done with a SimpleBinderOfTransient)#" , py::arg("start")
)
.def("BindMultiple",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) >(&Transfer_ProcessForFinder::BindMultiple),
R"#(Prepares an object <start> to be bound with several results. If no Binder is yet attached to <obj>, a MultipleBinder is created, empty. If a Binder is already set, it must accept Multiple Binding. Considers a category number, by default 0)#" , py::arg("start")
)
.def("AddMultiple",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Standard_Transient> & ) >(&Transfer_ProcessForFinder::AddMultiple),
R"#(Adds an item to a list of results bound to a starting object. Considers a category number, by default 0, for all results)#" , py::arg("start"), py::arg("res")
)
.def("FindTypedTransient",
(Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForFinder::FindTypedTransient),
R"#(Searches for a transient result attached to a starting object, according to its type, by criterium IsKind(atype))#" , py::arg("start"), py::arg("atype"), py::arg("val")
)
.def("GetTypedTransient",
(Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForFinder::GetTypedTransient),
R"#(Searches for a transient result recorded in a Binder, whatever this Binder is recorded or not in <me>)#" , py::arg("binder"), py::arg("atype"), py::arg("val")
)
.def("NbMapped",
(Standard_Integer (Transfer_ProcessForFinder::*)() const) static_cast<Standard_Integer (Transfer_ProcessForFinder::*)() const>(&Transfer_ProcessForFinder::NbMapped),
R"#(Returns the maximum possible value for Map Index (no result can be bound with a value greater than it))#"
)
.def("Mapped",
(const opencascade::handle<Transfer_Finder> & (Transfer_ProcessForFinder::*)( const Standard_Integer ) const) static_cast<const opencascade::handle<Transfer_Finder> & (Transfer_ProcessForFinder::*)( const Standard_Integer ) const>(&Transfer_ProcessForFinder::Mapped),
R"#(Returns the Starting Object bound to an Index,)#" , py::arg("num")
)
.def("MapIndex",
(Standard_Integer (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<Standard_Integer (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_ProcessForFinder::MapIndex),
R"#(Returns the Index value bound to a Starting Object, 0 if none)#" , py::arg("start")
)
.def("MapItem",
(opencascade::handle<Transfer_Binder> (Transfer_ProcessForFinder::*)( const Standard_Integer ) const) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ProcessForFinder::*)( const Standard_Integer ) const>(&Transfer_ProcessForFinder::MapItem),
R"#(Returns the Binder bound to an Index Considers a category number, by default 0)#" , py::arg("num")
)
.def("SetRoot",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) >(&Transfer_ProcessForFinder::SetRoot),
R"#(Declares <obj> (and its Result) as Root. This status will be later exploited by RootResult, see below (Result can be produced at any time))#" , py::arg("start")
)
.def("SetRootManagement",
(void (Transfer_ProcessForFinder::*)( const Standard_Boolean ) ) static_cast<void (Transfer_ProcessForFinder::*)( const Standard_Boolean ) >(&Transfer_ProcessForFinder::SetRootManagement),
R"#(Enable (if <stat> True) or Disables (if <stat> False) Root Management. If it is set, Transfers are considered as stacked (a first Transfer commands other Transfers, and so on) and the Transfers commanded by an external caller are "Root". Remark : SetRoot can be called whatever this status, on every object. Default is set to True.)#" , py::arg("stat")
)
.def("NbRoots",
(Standard_Integer (Transfer_ProcessForFinder::*)() const) static_cast<Standard_Integer (Transfer_ProcessForFinder::*)() const>(&Transfer_ProcessForFinder::NbRoots),
R"#(Returns the count of recorded Roots)#"
)
.def("Root",
(const opencascade::handle<Transfer_Finder> & (Transfer_ProcessForFinder::*)( const Standard_Integer ) const) static_cast<const opencascade::handle<Transfer_Finder> & (Transfer_ProcessForFinder::*)( const Standard_Integer ) const>(&Transfer_ProcessForFinder::Root),
R"#(Returns a Root Entity given its number in the list (1-NbRoots))#" , py::arg("num")
)
.def("RootItem",
(opencascade::handle<Transfer_Binder> (Transfer_ProcessForFinder::*)( const Standard_Integer ) const) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ProcessForFinder::*)( const Standard_Integer ) const>(&Transfer_ProcessForFinder::RootItem),
R"#(Returns the Binder bound with a Root Entity given its number Considers a category number, by default 0)#" , py::arg("num")
)
.def("RootIndex",
(Standard_Integer (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<Standard_Integer (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_ProcessForFinder::RootIndex),
R"#(Returns the index in the list of roots for a starting item, or 0 if it is not recorded as a root)#" , py::arg("start")
)
.def("NestingLevel",
(Standard_Integer (Transfer_ProcessForFinder::*)() const) static_cast<Standard_Integer (Transfer_ProcessForFinder::*)() const>(&Transfer_ProcessForFinder::NestingLevel),
R"#(Returns Nesting Level of Transfers (managed by methods TranscriptWith & Co). Starts to zero. If no automatic Transfer is used, it remains to zero. Zero means Root Level.)#"
)
.def("ResetNestingLevel",
(void (Transfer_ProcessForFinder::*)() ) static_cast<void (Transfer_ProcessForFinder::*)() >(&Transfer_ProcessForFinder::ResetNestingLevel),
R"#(Resets Nesting Level of Transfers to Zero (Root Level), whatever its current value.)#"
)
.def("Recognize",
(Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_ProcessForFinder::Recognize),
R"#(Tells if <start> has been recognized as good candidate for Transfer. i.e. queries the Actor and its Nexts)#" , py::arg("start")
)
.def("Transferring",
(opencascade::handle<Transfer_Binder> (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_ProgressRange & ) >(&Transfer_ProcessForFinder::Transferring),
R"#(Performs the Transfer of a Starting Object, by calling the method TransferProduct (see below). Mapping and Roots are managed : nothing is done if a Result is already Bound, an exception is raised in case of error.)#" , py::arg("start"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("Transfer",
(Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_ProgressRange & ) ) static_cast<Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Message_ProgressRange & ) >(&Transfer_ProcessForFinder::Transfer),
R"#(Same as Transferring but does not return the Binder. Simply returns True in case of success (for user call))#" , py::arg("start"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("SetErrorHandle",
(void (Transfer_ProcessForFinder::*)( const Standard_Boolean ) ) static_cast<void (Transfer_ProcessForFinder::*)( const Standard_Boolean ) >(&Transfer_ProcessForFinder::SetErrorHandle),
R"#(Allows controls if exceptions will be handled Transfer Operations <err> False : they are not handled with try {} catch {} <err> True : they are Default is False: no handling performed)#" , py::arg("err")
)
.def("ErrorHandle",
(Standard_Boolean (Transfer_ProcessForFinder::*)() const) static_cast<Standard_Boolean (Transfer_ProcessForFinder::*)() const>(&Transfer_ProcessForFinder::ErrorHandle),
R"#(Returns error handling flag)#"
)
.def("StartTrace",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Transfer_Finder> & , const Standard_Integer , const Standard_Integer ) const) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Transfer_Finder> & , const Standard_Integer , const Standard_Integer ) const>(&Transfer_ProcessForFinder::StartTrace),
R"#(Method called when trace is asked Calls PrintTrace to display information relevant for starting objects (which can be redefined) <level> is Nesting Level of Transfer (0 = root) <mode> controls the way the trace is done : 0 neutral, 1 for Error, 2 for Warning message, 3 for new Root)#" , py::arg("binder"), py::arg("start"), py::arg("level"), py::arg("mode")
)
.def("PrintTrace",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , std::ostream & ) const) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , std::ostream & ) const>(&Transfer_ProcessForFinder::PrintTrace),
R"#(Prints a short information on a starting object. By default prints its Dynamic Type. Can be redefined)#" , py::arg("start"), py::arg("S")
)
.def("IsLooping",
(Standard_Boolean (Transfer_ProcessForFinder::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (Transfer_ProcessForFinder::*)( const Standard_Integer ) const>(&Transfer_ProcessForFinder::IsLooping),
R"#(Returns True if we are surely in a DeadLoop. Evaluation is not exact, it is a "majorant" which must be computed fast. This "majorant" is : <alevel> greater than NbMapped.)#" , py::arg("alevel")
)
.def("RootResult",
(Transfer_IteratorOfProcessForFinder (Transfer_ProcessForFinder::*)( const Standard_Boolean ) const) static_cast<Transfer_IteratorOfProcessForFinder (Transfer_ProcessForFinder::*)( const Standard_Boolean ) const>(&Transfer_ProcessForFinder::RootResult),
R"#(Returns, as an iterator, the log of root transfer, i.e. the created objects and Binders bound to starting roots If withstart is given True, Starting Objects are also returned)#" , py::arg("withstart")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("CompleteResult",
(Transfer_IteratorOfProcessForFinder (Transfer_ProcessForFinder::*)( const Standard_Boolean ) const) static_cast<Transfer_IteratorOfProcessForFinder (Transfer_ProcessForFinder::*)( const Standard_Boolean ) const>(&Transfer_ProcessForFinder::CompleteResult),
R"#(Returns, as an Iterator, the entire log of transfer (list of created objects and Binders which can bring errors) If withstart is given True, Starting Objects are also returned)#" , py::arg("withstart")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("AbnormalResult",
(Transfer_IteratorOfProcessForFinder (Transfer_ProcessForFinder::*)() const) static_cast<Transfer_IteratorOfProcessForFinder (Transfer_ProcessForFinder::*)() const>(&Transfer_ProcessForFinder::AbnormalResult),
R"#(Returns Binders which are neither "Done" nor "Initial", that is Error,Loop or Run (abnormal states at end of Transfer) Starting Objects are given in correspondence in the iterator)#"
)
.def("CheckList",
(Interface_CheckIterator (Transfer_ProcessForFinder::*)( const Standard_Boolean ) const) static_cast<Interface_CheckIterator (Transfer_ProcessForFinder::*)( const Standard_Boolean ) const>(&Transfer_ProcessForFinder::CheckList),
R"#(Returns a CheckList as a list of Check : each one is for a starting entity which have either check (warning or fail) messages are attached, or are in abnormal state : that case gives a specific message If <erronly> is True, checks with Warnings only are ignored)#" , py::arg("erronly")
)
.def("ResultOne",
(Transfer_IteratorOfProcessForFinder (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_Integer , const Standard_Boolean ) const) static_cast<Transfer_IteratorOfProcessForFinder (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_Integer , const Standard_Boolean ) const>(&Transfer_ProcessForFinder::ResultOne),
R"#(Returns, as an Iterator, the log of transfer for one object <level> = 0 : this object only and if <start> is a scope owner (else, <level> is ignored) : <level> = 1 : object plus its immediate scoped ones <level> = 2 : object plus all its scoped ones)#" , py::arg("start"), py::arg("level"), py::arg("withstart")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("CheckListOne",
(Interface_CheckIterator (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_Integer , const Standard_Boolean ) const) static_cast<Interface_CheckIterator (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_Integer , const Standard_Boolean ) const>(&Transfer_ProcessForFinder::CheckListOne),
R"#(Returns a CheckList for one starting object <level> interpreted as by ResultOne If <erronly> is True, checks with Warnings only are ignored)#" , py::arg("start"), py::arg("level"), py::arg("erronly")
)
.def("IsCheckListEmpty",
(Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_Integer , const Standard_Boolean ) const) static_cast<Standard_Boolean (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_Integer , const Standard_Boolean ) const>(&Transfer_ProcessForFinder::IsCheckListEmpty),
R"#(Returns True if no check message is attached to a starting object. <level> interpreted as by ResultOne If <erronly> is True, checks with Warnings only are ignored)#" , py::arg("start"), py::arg("level"), py::arg("erronly")
)
.def("RemoveResult",
(void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_Integer , const Standard_Boolean ) ) static_cast<void (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & , const Standard_Integer , const Standard_Boolean ) >(&Transfer_ProcessForFinder::RemoveResult),
R"#(Removes Results attached to (== Unbinds) a given object and, according <level> : <level> = 0 : only it <level> = 1 : it plus its immediately owned sub-results(scope) <level> = 2 : it plus all its owned sub-results(scope))#" , py::arg("start"), py::arg("level"), py::arg("compute")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("CheckNum",
(Standard_Integer (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<Standard_Integer (Transfer_ProcessForFinder::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_ProcessForFinder::CheckNum),
R"#(Computes a number to be associated to a starting object in a check or a check-list By default, returns 0; can be redefined)#" , py::arg("start")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_ProcessForFinder::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_ProcessForFinder::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_ProcessForFinder::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_ProcessForFinder::*)() const>(&Transfer_ProcessForFinder::DynamicType),
R"#(None)#"
)
;
// Class Transfer_ProcessForTransient from ./opencascade/Transfer_ProcessForTransient.hxx
klass = m.attr("Transfer_ProcessForTransient");
// nested enums
static_cast<py::class_<Transfer_ProcessForTransient ,opencascade::handle<Transfer_ProcessForTransient> , Standard_Transient >>(klass)
// constructors
.def(py::init< const Standard_Integer >() , py::arg("nb")=static_cast<const Standard_Integer>(10000) )
.def(py::init< const opencascade::handle<Message_Messenger> &,const Standard_Integer >() , py::arg("printer"), py::arg("nb")=static_cast<const Standard_Integer>(10000) )
// custom constructors
// methods
.def("Clear",
(void (Transfer_ProcessForTransient::*)() ) static_cast<void (Transfer_ProcessForTransient::*)() >(&Transfer_ProcessForTransient::Clear),
R"#(Resets a TransferProcess as ready for a completely new work. Clears general data (roots) and the Map)#"
)
.def("Clean",
(void (Transfer_ProcessForTransient::*)() ) static_cast<void (Transfer_ProcessForTransient::*)() >(&Transfer_ProcessForTransient::Clean),
R"#(Rebuilds the Map and the roots to really remove Unbound items Because Unbind keeps the entity in place, even if not bound Hence, working by checking new items is meaningless if a formerly unbound item is rebound)#"
)
.def("Resize",
(void (Transfer_ProcessForTransient::*)( const Standard_Integer ) ) static_cast<void (Transfer_ProcessForTransient::*)( const Standard_Integer ) >(&Transfer_ProcessForTransient::Resize),
R"#(Resizes the Map as required (if a new reliable value has been determined). Acts only if <nb> is greater than actual NbMapped)#" , py::arg("nb")
)
.def("SetActor",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Transfer_ActorOfProcessForTransient> & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Transfer_ActorOfProcessForTransient> & ) >(&Transfer_ProcessForTransient::SetActor),
R"#(Defines an Actor, which is used for automatic Transfer If already defined, the new Actor is cumulated (see SetNext from Actor))#" , py::arg("actor")
)
.def("Actor",
(opencascade::handle<Transfer_ActorOfProcessForTransient> (Transfer_ProcessForTransient::*)() const) static_cast<opencascade::handle<Transfer_ActorOfProcessForTransient> (Transfer_ProcessForTransient::*)() const>(&Transfer_ProcessForTransient::Actor),
R"#(Returns the defined Actor. Returns a Null Handle if not set.)#"
)
.def("Find",
(opencascade::handle<Transfer_Binder> (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::Find),
R"#(Returns the Binder which is linked with a starting Object It can either bring a Result (Transfer done) or none (for a pre-binding). If no Binder is linked with <start>, returns a Null Handle Considers a category number, by default 0)#" , py::arg("start")
)
.def("IsBound",
(Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::IsBound),
R"#(Returns True if a Result (whatever its form) is Bound with a starting Object. I.e., if a Binder with a Result set, is linked with it Considers a category number, by default 0)#" , py::arg("start")
)
.def("IsAlreadyUsed",
(Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::IsAlreadyUsed),
R"#(Returns True if the result of the transfer of an object is already used in other ones. If it is, Rebind cannot change it. Considers a category number, by default 0)#" , py::arg("start")
)
.def("Bind",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_Binder> & ) >(&Transfer_ProcessForTransient::Bind),
R"#(Creates a Link a starting Object with a Binder. This Binder can either bring a Result (effective Binding) or none (it can be set later : pre-binding). Considers a category number, by default 0)#" , py::arg("start"), py::arg("binder")
)
.def("Rebind",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_Binder> & ) >(&Transfer_ProcessForTransient::Rebind),
R"#(Changes the Binder linked with a starting Object for its unitary transfer. This it can be useful when the exact form of the result is known once the transfer is widely engaged. This can be done only on first transfer. Considers a category number, by default 0)#" , py::arg("start"), py::arg("binder")
)
.def("Unbind",
(Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_ProcessForTransient::Unbind),
R"#(Removes the Binder linked with a starting object If this Binder brings a non-empty Check, it is replaced by a VoidBinder. Also removes from the list of Roots as required. Returns True if done, False if <start> was not bound Considers a category number, by default 0)#" , py::arg("start")
)
.def("FindElseBind",
(opencascade::handle<Transfer_Binder> (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_ProcessForTransient::FindElseBind),
R"#(Returns a Binder for a starting entity, as follows : Tries to Find the already bound one If none found, creates a VoidBinder and Binds it)#" , py::arg("start")
)
.def("SetMessenger",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Message_Messenger> & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Message_Messenger> & ) >(&Transfer_ProcessForTransient::SetMessenger),
R"#(Sets Messenger used for outputting messages.)#" , py::arg("messenger")
)
.def("Messenger",
(opencascade::handle<Message_Messenger> (Transfer_ProcessForTransient::*)() const) static_cast<opencascade::handle<Message_Messenger> (Transfer_ProcessForTransient::*)() const>(&Transfer_ProcessForTransient::Messenger),
R"#(Returns Messenger used for outputting messages. The returned object is guaranteed to be non-null; default is Message::Messenger().)#"
)
.def("SetTraceLevel",
(void (Transfer_ProcessForTransient::*)( const Standard_Integer ) ) static_cast<void (Transfer_ProcessForTransient::*)( const Standard_Integer ) >(&Transfer_ProcessForTransient::SetTraceLevel),
R"#(Sets trace level used for outputting messages: <trace> = 0 : no trace at all <trace> = 1 : handled exceptions and calls to AddError <trace> = 2 : also calls to AddWarning <trace> = 3 : also traces new Roots (uses method ErrorTrace). Default is 1 : Errors traced)#" , py::arg("tracelev")
)
.def("TraceLevel",
(Standard_Integer (Transfer_ProcessForTransient::*)() const) static_cast<Standard_Integer (Transfer_ProcessForTransient::*)() const>(&Transfer_ProcessForTransient::TraceLevel),
R"#(Returns trace level used for outputting messages.)#"
)
.def("SendFail",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_Msg & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_Msg & ) >(&Transfer_ProcessForTransient::SendFail),
R"#(New name for AddFail (Msg))#" , py::arg("start"), py::arg("amsg")
)
.def("SendWarning",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_Msg & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_Msg & ) >(&Transfer_ProcessForTransient::SendWarning),
R"#(New name for AddWarning (Msg))#" , py::arg("start"), py::arg("amsg")
)
.def("SendMsg",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_Msg & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_Msg & ) >(&Transfer_ProcessForTransient::SendMsg),
R"#(Adds an information message Trace is filled if trace level is at least 3)#" , py::arg("start"), py::arg("amsg")
)
.def("AddFail",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_CString , const Standard_CString ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_CString , const Standard_CString ) >(&Transfer_ProcessForTransient::AddFail),
R"#(Adds an Error message to a starting entity (to the check of its Binder of category 0, as a Fail))#" , py::arg("start"), py::arg("mess"), py::arg("orig")=static_cast<const Standard_CString>("")
)
.def("AddError",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_CString , const Standard_CString ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_CString , const Standard_CString ) >(&Transfer_ProcessForTransient::AddError),
R"#((other name of AddFail, maintained for compatibility))#" , py::arg("start"), py::arg("mess"), py::arg("orig")=static_cast<const Standard_CString>("")
)
.def("AddFail",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_Msg & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_Msg & ) >(&Transfer_ProcessForTransient::AddFail),
R"#(Adds an Error Message to a starting entity from the definition of a Msg (Original+Value))#" , py::arg("start"), py::arg("amsg")
)
.def("AddWarning",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_CString , const Standard_CString ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_CString , const Standard_CString ) >(&Transfer_ProcessForTransient::AddWarning),
R"#(Adds a Warning message to a starting entity (to the check of its Binder of category 0))#" , py::arg("start"), py::arg("mess"), py::arg("orig")=static_cast<const Standard_CString>("")
)
.def("AddWarning",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_Msg & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_Msg & ) >(&Transfer_ProcessForTransient::AddWarning),
R"#(Adds a Warning Message to a starting entity from the definition of a Msg (Original+Value))#" , py::arg("start"), py::arg("amsg")
)
.def("Mend",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_CString ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_CString ) >(&Transfer_ProcessForTransient::Mend),
R"#(None)#" , py::arg("start"), py::arg("pref")=static_cast<const Standard_CString>("")
)
.def("Check",
(opencascade::handle<Interface_Check> (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<opencascade::handle<Interface_Check> (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::Check),
R"#(Returns the Check attached to a starting entity. If <start> is unknown, returns an empty Check Adds a case name to a starting entity Adds a case value to a starting entity Returns the complete case list for an entity. Null Handle if empty In the list of mapped items (between 1 and NbMapped), searches for the first item which follows <num0>(not included) and which has an attribute named <name> Attributes are brought by Binders Hence, allows such an iteration)#" , py::arg("start")
)
.def("BindTransient",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Standard_Transient> & ) >(&Transfer_ProcessForTransient::BindTransient),
R"#(Binds a starting object with a Transient Result. Uses a SimpleBinderOfTransient to work. If there is already one but with no Result set, sets its Result. Considers a category number, by default 0)#" , py::arg("start"), py::arg("res")
)
.def("FindTransient",
(const opencascade::handle<Standard_Transient> & (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<const opencascade::handle<Standard_Transient> & (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::FindTransient),
R"#(Returns the Result of the Transfer of an object <start> as a Transient Result. Returns a Null Handle if there is no Transient Result Considers a category number, by default 0 Warning : Supposes that Binding is done with a SimpleBinderOfTransient)#" , py::arg("start")
)
.def("BindMultiple",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_ProcessForTransient::BindMultiple),
R"#(Prepares an object <start> to be bound with several results. If no Binder is yet attached to <obj>, a MultipleBinder is created, empty. If a Binder is already set, it must accept Multiple Binding. Considers a category number, by default 0)#" , py::arg("start")
)
.def("AddMultiple",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Standard_Transient> & ) >(&Transfer_ProcessForTransient::AddMultiple),
R"#(Adds an item to a list of results bound to a starting object. Considers a category number, by default 0, for all results)#" , py::arg("start"), py::arg("res")
)
.def("FindTypedTransient",
(Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::FindTypedTransient),
R"#(Searches for a transient result attached to a starting object, according to its type, by criterium IsKind(atype))#" , py::arg("start"), py::arg("atype"), py::arg("val")
)
.def("GetTypedTransient",
(Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::GetTypedTransient),
R"#(Searches for a transient result recorded in a Binder, whatever this Binder is recorded or not in <me>)#" , py::arg("binder"), py::arg("atype"), py::arg("val")
)
.def("NbMapped",
(Standard_Integer (Transfer_ProcessForTransient::*)() const) static_cast<Standard_Integer (Transfer_ProcessForTransient::*)() const>(&Transfer_ProcessForTransient::NbMapped),
R"#(Returns the maximum possible value for Map Index (no result can be bound with a value greater than it))#"
)
.def("Mapped",
(const opencascade::handle<Standard_Transient> & (Transfer_ProcessForTransient::*)( const Standard_Integer ) const) static_cast<const opencascade::handle<Standard_Transient> & (Transfer_ProcessForTransient::*)( const Standard_Integer ) const>(&Transfer_ProcessForTransient::Mapped),
R"#(Returns the Starting Object bound to an Index,)#" , py::arg("num")
)
.def("MapIndex",
(Standard_Integer (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Integer (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::MapIndex),
R"#(Returns the Index value bound to a Starting Object, 0 if none)#" , py::arg("start")
)
.def("MapItem",
(opencascade::handle<Transfer_Binder> (Transfer_ProcessForTransient::*)( const Standard_Integer ) const) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ProcessForTransient::*)( const Standard_Integer ) const>(&Transfer_ProcessForTransient::MapItem),
R"#(Returns the Binder bound to an Index Considers a category number, by default 0)#" , py::arg("num")
)
.def("SetRoot",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_ProcessForTransient::SetRoot),
R"#(Declares <obj> (and its Result) as Root. This status will be later exploited by RootResult, see below (Result can be produced at any time))#" , py::arg("start")
)
.def("SetRootManagement",
(void (Transfer_ProcessForTransient::*)( const Standard_Boolean ) ) static_cast<void (Transfer_ProcessForTransient::*)( const Standard_Boolean ) >(&Transfer_ProcessForTransient::SetRootManagement),
R"#(Enable (if <stat> True) or Disables (if <stat> False) Root Management. If it is set, Transfers are considered as stacked (a first Transfer commands other Transfers, and so on) and the Transfers commanded by an external caller are "Root". Remark : SetRoot can be called whatever this status, on every object. Default is set to True.)#" , py::arg("stat")
)
.def("NbRoots",
(Standard_Integer (Transfer_ProcessForTransient::*)() const) static_cast<Standard_Integer (Transfer_ProcessForTransient::*)() const>(&Transfer_ProcessForTransient::NbRoots),
R"#(Returns the count of recorded Roots)#"
)
.def("Root",
(const opencascade::handle<Standard_Transient> & (Transfer_ProcessForTransient::*)( const Standard_Integer ) const) static_cast<const opencascade::handle<Standard_Transient> & (Transfer_ProcessForTransient::*)( const Standard_Integer ) const>(&Transfer_ProcessForTransient::Root),
R"#(Returns a Root Entity given its number in the list (1-NbRoots))#" , py::arg("num")
)
.def("RootItem",
(opencascade::handle<Transfer_Binder> (Transfer_ProcessForTransient::*)( const Standard_Integer ) const) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ProcessForTransient::*)( const Standard_Integer ) const>(&Transfer_ProcessForTransient::RootItem),
R"#(Returns the Binder bound with a Root Entity given its number Considers a category number, by default 0)#" , py::arg("num")
)
.def("RootIndex",
(Standard_Integer (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Integer (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::RootIndex),
R"#(Returns the index in the list of roots for a starting item, or 0 if it is not recorded as a root)#" , py::arg("start")
)
.def("NestingLevel",
(Standard_Integer (Transfer_ProcessForTransient::*)() const) static_cast<Standard_Integer (Transfer_ProcessForTransient::*)() const>(&Transfer_ProcessForTransient::NestingLevel),
R"#(Returns Nesting Level of Transfers (managed by methods TranscriptWith & Co). Starts to zero. If no automatic Transfer is used, it remains to zero. Zero means Root Level.)#"
)
.def("ResetNestingLevel",
(void (Transfer_ProcessForTransient::*)() ) static_cast<void (Transfer_ProcessForTransient::*)() >(&Transfer_ProcessForTransient::ResetNestingLevel),
R"#(Resets Nesting Level of Transfers to Zero (Root Level), whatever its current value.)#"
)
.def("Recognize",
(Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::Recognize),
R"#(Tells if <start> has been recognized as good candidate for Transfer. i.e. queries the Actor and its Nexts)#" , py::arg("start")
)
.def("Transferring",
(opencascade::handle<Transfer_Binder> (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_ProgressRange & ) >(&Transfer_ProcessForTransient::Transferring),
R"#(Performs the Transfer of a Starting Object, by calling the method TransferProduct (see below). Mapping and Roots are managed : nothing is done if a Result is already Bound, an exception is raised in case of error.)#" , py::arg("start"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("Transfer",
(Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_ProgressRange & ) ) static_cast<Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Message_ProgressRange & ) >(&Transfer_ProcessForTransient::Transfer),
R"#(Same as Transferring but does not return the Binder. Simply returns True in case of success (for user call))#" , py::arg("start"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("SetErrorHandle",
(void (Transfer_ProcessForTransient::*)( const Standard_Boolean ) ) static_cast<void (Transfer_ProcessForTransient::*)( const Standard_Boolean ) >(&Transfer_ProcessForTransient::SetErrorHandle),
R"#(Allows controls if exceptions will be handled Transfer Operations <err> False : they are not handled with try {} catch {} <err> True : they are Default is False: no handling performed)#" , py::arg("err")
)
.def("ErrorHandle",
(Standard_Boolean (Transfer_ProcessForTransient::*)() const) static_cast<Standard_Boolean (Transfer_ProcessForTransient::*)() const>(&Transfer_ProcessForTransient::ErrorHandle),
R"#(Returns error handling flag)#"
)
.def("StartTrace",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Integer ) const) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Integer ) const>(&Transfer_ProcessForTransient::StartTrace),
R"#(Method called when trace is asked Calls PrintTrace to display information relevant for starting objects (which can be redefined) <level> is Nesting Level of Transfer (0 = root) <mode> controls the way the trace is done : 0 neutral, 1 for Error, 2 for Warning message, 3 for new Root)#" , py::arg("binder"), py::arg("start"), py::arg("level"), py::arg("mode")
)
.def("PrintTrace",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , std::ostream & ) const) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , std::ostream & ) const>(&Transfer_ProcessForTransient::PrintTrace),
R"#(Prints a short information on a starting object. By default prints its Dynamic Type. Can be redefined)#" , py::arg("start"), py::arg("S")
)
.def("IsLooping",
(Standard_Boolean (Transfer_ProcessForTransient::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (Transfer_ProcessForTransient::*)( const Standard_Integer ) const>(&Transfer_ProcessForTransient::IsLooping),
R"#(Returns True if we are surely in a DeadLoop. Evaluation is not exact, it is a "majorant" which must be computed fast. This "majorant" is : <alevel> greater than NbMapped.)#" , py::arg("alevel")
)
.def("RootResult",
(Transfer_IteratorOfProcessForTransient (Transfer_ProcessForTransient::*)( const Standard_Boolean ) const) static_cast<Transfer_IteratorOfProcessForTransient (Transfer_ProcessForTransient::*)( const Standard_Boolean ) const>(&Transfer_ProcessForTransient::RootResult),
R"#(Returns, as an iterator, the log of root transfer, i.e. the created objects and Binders bound to starting roots If withstart is given True, Starting Objects are also returned)#" , py::arg("withstart")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("CompleteResult",
(Transfer_IteratorOfProcessForTransient (Transfer_ProcessForTransient::*)( const Standard_Boolean ) const) static_cast<Transfer_IteratorOfProcessForTransient (Transfer_ProcessForTransient::*)( const Standard_Boolean ) const>(&Transfer_ProcessForTransient::CompleteResult),
R"#(Returns, as an Iterator, the entire log of transfer (list of created objects and Binders which can bring errors) If withstart is given True, Starting Objects are also returned)#" , py::arg("withstart")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("AbnormalResult",
(Transfer_IteratorOfProcessForTransient (Transfer_ProcessForTransient::*)() const) static_cast<Transfer_IteratorOfProcessForTransient (Transfer_ProcessForTransient::*)() const>(&Transfer_ProcessForTransient::AbnormalResult),
R"#(Returns Binders which are neither "Done" nor "Initial", that is Error,Loop or Run (abnormal states at end of Transfer) Starting Objects are given in correspondence in the iterator)#"
)
.def("CheckList",
(Interface_CheckIterator (Transfer_ProcessForTransient::*)( const Standard_Boolean ) const) static_cast<Interface_CheckIterator (Transfer_ProcessForTransient::*)( const Standard_Boolean ) const>(&Transfer_ProcessForTransient::CheckList),
R"#(Returns a CheckList as a list of Check : each one is for a starting entity which have either check (warning or fail) messages are attached, or are in abnormal state : that case gives a specific message If <erronly> is True, checks with Warnings only are ignored)#" , py::arg("erronly")
)
.def("ResultOne",
(Transfer_IteratorOfProcessForTransient (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Boolean ) const) static_cast<Transfer_IteratorOfProcessForTransient (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Boolean ) const>(&Transfer_ProcessForTransient::ResultOne),
R"#(Returns, as an Iterator, the log of transfer for one object <level> = 0 : this object only and if <start> is a scope owner (else, <level> is ignored) : <level> = 1 : object plus its immediate scoped ones <level> = 2 : object plus all its scoped ones)#" , py::arg("start"), py::arg("level"), py::arg("withstart")=static_cast<const Standard_Boolean>(Standard_False)
)
.def("CheckListOne",
(Interface_CheckIterator (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Boolean ) const) static_cast<Interface_CheckIterator (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Boolean ) const>(&Transfer_ProcessForTransient::CheckListOne),
R"#(Returns a CheckList for one starting object <level> interpreted as by ResultOne If <erronly> is True, checks with Warnings only are ignored)#" , py::arg("start"), py::arg("level"), py::arg("erronly")
)
.def("IsCheckListEmpty",
(Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Boolean ) const) static_cast<Standard_Boolean (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Boolean ) const>(&Transfer_ProcessForTransient::IsCheckListEmpty),
R"#(Returns True if no check message is attached to a starting object. <level> interpreted as by ResultOne If <erronly> is True, checks with Warnings only are ignored)#" , py::arg("start"), py::arg("level"), py::arg("erronly")
)
.def("RemoveResult",
(void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Boolean ) ) static_cast<void (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & , const Standard_Integer , const Standard_Boolean ) >(&Transfer_ProcessForTransient::RemoveResult),
R"#(Removes Results attached to (== Unbinds) a given object and, according <level> : <level> = 0 : only it <level> = 1 : it plus its immediately owned sub-results(scope) <level> = 2 : it plus all its owned sub-results(scope))#" , py::arg("start"), py::arg("level"), py::arg("compute")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("CheckNum",
(Standard_Integer (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Integer (Transfer_ProcessForTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ProcessForTransient::CheckNum),
R"#(Computes a number to be associated to a starting object in a check or a check-list By default, returns 0; can be redefined)#" , py::arg("start")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_ProcessForTransient::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_ProcessForTransient::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_ProcessForTransient::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_ProcessForTransient::*)() const>(&Transfer_ProcessForTransient::DynamicType),
R"#(None)#"
)
;
// Class Transfer_ResultFromModel from ./opencascade/Transfer_ResultFromModel.hxx
klass = m.attr("Transfer_ResultFromModel");
// nested enums
static_cast<py::class_<Transfer_ResultFromModel ,opencascade::handle<Transfer_ResultFromModel> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetModel",
(void (Transfer_ResultFromModel::*)( const opencascade::handle<Interface_InterfaceModel> & ) ) static_cast<void (Transfer_ResultFromModel::*)( const opencascade::handle<Interface_InterfaceModel> & ) >(&Transfer_ResultFromModel::SetModel),
R"#(Sets starting Model)#" , py::arg("model")
)
.def("SetFileName",
(void (Transfer_ResultFromModel::*)( const Standard_CString ) ) static_cast<void (Transfer_ResultFromModel::*)( const Standard_CString ) >(&Transfer_ResultFromModel::SetFileName),
R"#(Sets starting File Name)#" , py::arg("filename")
)
.def("Model",
(opencascade::handle<Interface_InterfaceModel> (Transfer_ResultFromModel::*)() const) static_cast<opencascade::handle<Interface_InterfaceModel> (Transfer_ResultFromModel::*)() const>(&Transfer_ResultFromModel::Model),
R"#(Returns starting Model (null if not set))#"
)
.def("FileName",
(Standard_CString (Transfer_ResultFromModel::*)() const) static_cast<Standard_CString (Transfer_ResultFromModel::*)() const>(&Transfer_ResultFromModel::FileName),
R"#(Returns starting File Name (empty if not set))#"
)
.def("Fill",
(Standard_Boolean (Transfer_ResultFromModel::*)( const opencascade::handle<Transfer_TransientProcess> & , const opencascade::handle<Standard_Transient> & ) ) static_cast<Standard_Boolean (Transfer_ResultFromModel::*)( const opencascade::handle<Transfer_TransientProcess> & , const opencascade::handle<Standard_Transient> & ) >(&Transfer_ResultFromModel::Fill),
R"#(Fills from a TransientProcess, with the result attached to a starting entity. Considers its Model if it is set. This action produces a structured set of ResultFromTransient, considering scopes, starting by that of <ent>. If <ent> has no recorded result, it remains empty Returns True if a result is recorded, False else)#" , py::arg("TP"), py::arg("ent")
)
.def("Strip",
(void (Transfer_ResultFromModel::*)( const Standard_Integer ) ) static_cast<void (Transfer_ResultFromModel::*)( const Standard_Integer ) >(&Transfer_ResultFromModel::Strip),
R"#(Clears some data attached to binders used by TransientProcess, which become useless once the transfer has been done, by calling Strip on its ResultFromTransient)#" , py::arg("mode")
)
.def("FillBack",
(void (Transfer_ResultFromModel::*)( const opencascade::handle<Transfer_TransientProcess> & ) const) static_cast<void (Transfer_ResultFromModel::*)( const opencascade::handle<Transfer_TransientProcess> & ) const>(&Transfer_ResultFromModel::FillBack),
R"#(Fills back a TransientProcess from the structured set of binders. Also sets the Model.)#" , py::arg("TP")
)
.def("HasResult",
(Standard_Boolean (Transfer_ResultFromModel::*)() const) static_cast<Standard_Boolean (Transfer_ResultFromModel::*)() const>(&Transfer_ResultFromModel::HasResult),
R"#(Returns True if a Result is recorded)#"
)
.def("MainResult",
(opencascade::handle<Transfer_ResultFromTransient> (Transfer_ResultFromModel::*)() const) static_cast<opencascade::handle<Transfer_ResultFromTransient> (Transfer_ResultFromModel::*)() const>(&Transfer_ResultFromModel::MainResult),
R"#(Returns the main recorded ResultFromTransient, or a null)#"
)
.def("SetMainResult",
(void (Transfer_ResultFromModel::*)( const opencascade::handle<Transfer_ResultFromTransient> & ) ) static_cast<void (Transfer_ResultFromModel::*)( const opencascade::handle<Transfer_ResultFromTransient> & ) >(&Transfer_ResultFromModel::SetMainResult),
R"#(Sets a new value for the main recorded ResultFromTransient)#" , py::arg("amain")
)
.def("MainLabel",
(Standard_CString (Transfer_ResultFromModel::*)() const) static_cast<Standard_CString (Transfer_ResultFromModel::*)() const>(&Transfer_ResultFromModel::MainLabel),
R"#(Returns the label in starting model attached to main entity (updated by Fill or SetMainResult, if Model is known))#"
)
.def("MainNumber",
(Standard_Integer (Transfer_ResultFromModel::*)() const) static_cast<Standard_Integer (Transfer_ResultFromModel::*)() const>(&Transfer_ResultFromModel::MainNumber),
R"#(Returns the label in starting model attached to main entity)#"
)
.def("ResultFromKey",
(opencascade::handle<Transfer_ResultFromTransient> (Transfer_ResultFromModel::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<opencascade::handle<Transfer_ResultFromTransient> (Transfer_ResultFromModel::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ResultFromModel::ResultFromKey),
R"#(Searches for a key (starting entity) and returns its result Returns a null handle if not found)#" , py::arg("start")
)
.def("Results",
(opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_ResultFromModel::*)( const Standard_Integer ) const) static_cast<opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_ResultFromModel::*)( const Standard_Integer ) const>(&Transfer_ResultFromModel::Results),
R"#(Internal method which returns the list of ResultFromTransient, according level (2:complete; 1:sub-level 1; 0:main only))#" , py::arg("level")
)
.def("TransferredList",
(opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_ResultFromModel::*)( const Standard_Integer ) const) static_cast<opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_ResultFromModel::*)( const Standard_Integer ) const>(&Transfer_ResultFromModel::TransferredList),
R"#(Returns the list of recorded starting entities, ending by the root. Entities with check but no transfer result are ignored <level> = 2 (D), considers the complete list <level> = 1 considers the main result plus immediate subs <level> = 0 just the main result)#" , py::arg("level")=static_cast<const Standard_Integer>(2)
)
.def("CheckedList",
(opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_ResultFromModel::*)( const Interface_CheckStatus , const Standard_Boolean ) const) static_cast<opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_ResultFromModel::*)( const Interface_CheckStatus , const Standard_Boolean ) const>(&Transfer_ResultFromModel::CheckedList),
R"#(Returns the list of starting entities to which a check status is attached. <check> = -2 , all entities whatever the check (see result) <check> = -1 , entities with no fail (warning allowed) <check> = 0 , entities with no check at all <check> = 1 , entities with warning but no fail <check> = 2 , entities with fail <result> : if True, only entities with an attached result Remark : result True and check=0 will give an empty list)#" , py::arg("check"), py::arg("result")
)
.def("CheckList",
(Interface_CheckIterator (Transfer_ResultFromModel::*)( const Standard_Boolean , const Standard_Integer ) const) static_cast<Interface_CheckIterator (Transfer_ResultFromModel::*)( const Standard_Boolean , const Standard_Integer ) const>(&Transfer_ResultFromModel::CheckList),
R"#(Returns the check-list of this set of results <erronly> true : only fails are considered <level> = 0 : considers only main binder <level> = 1 : considers main binder plus immediate subs <level> = 2 (D) : considers all checks)#" , py::arg("erronly"), py::arg("level")=static_cast<const Standard_Integer>(2)
)
.def("CheckStatus",
(Interface_CheckStatus (Transfer_ResultFromModel::*)() const) static_cast<Interface_CheckStatus (Transfer_ResultFromModel::*)() const>(&Transfer_ResultFromModel::CheckStatus),
R"#(Returns the check status with corresponds to the content of this ResultFromModel; considers all levels of transfer (worst status). Returns CheckAny if not yet computed Reads it from recorded status if already computed, else recomputes one)#"
)
.def("ComputeCheckStatus",
(Interface_CheckStatus (Transfer_ResultFromModel::*)( const Standard_Boolean ) ) static_cast<Interface_CheckStatus (Transfer_ResultFromModel::*)( const Standard_Boolean ) >(&Transfer_ResultFromModel::ComputeCheckStatus),
R"#(Computes and records check status (see CheckStatus) Does not computes it if already done and <enforce> False)#" , py::arg("enforce")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_ResultFromModel::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_ResultFromModel::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_ResultFromModel::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_ResultFromModel::*)() const>(&Transfer_ResultFromModel::DynamicType),
R"#(None)#"
)
;
// Class Transfer_ResultFromTransient from ./opencascade/Transfer_ResultFromTransient.hxx
klass = m.attr("Transfer_ResultFromTransient");
// nested enums
static_cast<py::class_<Transfer_ResultFromTransient ,opencascade::handle<Transfer_ResultFromTransient> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetStart",
(void (Transfer_ResultFromTransient::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_ResultFromTransient::*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_ResultFromTransient::SetStart),
R"#(Sets starting entity)#" , py::arg("start")
)
.def("SetBinder",
(void (Transfer_ResultFromTransient::*)( const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_ResultFromTransient::*)( const opencascade::handle<Transfer_Binder> & ) >(&Transfer_ResultFromTransient::SetBinder),
R"#(Sets Binder (for result plus individual check))#" , py::arg("binder")
)
.def("Start",
(opencascade::handle<Standard_Transient> (Transfer_ResultFromTransient::*)() const) static_cast<opencascade::handle<Standard_Transient> (Transfer_ResultFromTransient::*)() const>(&Transfer_ResultFromTransient::Start),
R"#(Returns the starting entity)#"
)
.def("Binder",
(opencascade::handle<Transfer_Binder> (Transfer_ResultFromTransient::*)() const) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ResultFromTransient::*)() const>(&Transfer_ResultFromTransient::Binder),
R"#(Returns the binder)#"
)
.def("HasResult",
(Standard_Boolean (Transfer_ResultFromTransient::*)() const) static_cast<Standard_Boolean (Transfer_ResultFromTransient::*)() const>(&Transfer_ResultFromTransient::HasResult),
R"#(Returns True if a result is recorded)#"
)
.def("Check",
(const opencascade::handle<Interface_Check> (Transfer_ResultFromTransient::*)() const) static_cast<const opencascade::handle<Interface_Check> (Transfer_ResultFromTransient::*)() const>(&Transfer_ResultFromTransient::Check),
R"#(Returns the check (or an empty one if no binder))#"
)
.def("CheckStatus",
(Interface_CheckStatus (Transfer_ResultFromTransient::*)() const) static_cast<Interface_CheckStatus (Transfer_ResultFromTransient::*)() const>(&Transfer_ResultFromTransient::CheckStatus),
R"#(Returns the check status)#"
)
.def("ClearSubs",
(void (Transfer_ResultFromTransient::*)() ) static_cast<void (Transfer_ResultFromTransient::*)() >(&Transfer_ResultFromTransient::ClearSubs),
R"#(Clears the list of (immediate) sub-results)#"
)
.def("AddSubResult",
(void (Transfer_ResultFromTransient::*)( const opencascade::handle<Transfer_ResultFromTransient> & ) ) static_cast<void (Transfer_ResultFromTransient::*)( const opencascade::handle<Transfer_ResultFromTransient> & ) >(&Transfer_ResultFromTransient::AddSubResult),
R"#(Adds a sub-result)#" , py::arg("sub")
)
.def("NbSubResults",
(Standard_Integer (Transfer_ResultFromTransient::*)() const) static_cast<Standard_Integer (Transfer_ResultFromTransient::*)() const>(&Transfer_ResultFromTransient::NbSubResults),
R"#(Returns the count of recorded sub-results)#"
)
.def("SubResult",
(opencascade::handle<Transfer_ResultFromTransient> (Transfer_ResultFromTransient::*)( const Standard_Integer ) const) static_cast<opencascade::handle<Transfer_ResultFromTransient> (Transfer_ResultFromTransient::*)( const Standard_Integer ) const>(&Transfer_ResultFromTransient::SubResult),
R"#(Returns a sub-result, given its rank)#" , py::arg("num")
)
.def("ResultFromKey",
(opencascade::handle<Transfer_ResultFromTransient> (Transfer_ResultFromTransient::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<opencascade::handle<Transfer_ResultFromTransient> (Transfer_ResultFromTransient::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_ResultFromTransient::ResultFromKey),
R"#(Returns the ResultFromTransient attached to a given starting entity (the key). Returns a null handle if not found)#" , py::arg("key")
)
.def("FillMap",
(void (Transfer_ResultFromTransient::*)( NCollection_IndexedMap<opencascade::handle<Standard_Transient>> & ) const) static_cast<void (Transfer_ResultFromTransient::*)( NCollection_IndexedMap<opencascade::handle<Standard_Transient>> & ) const>(&Transfer_ResultFromTransient::FillMap),
R"#(This method is used by ResultFromModel to collate the list of ResultFromTransient, avoiding duplications with a map Remark : <me> is already in the map and has not to be bound)#" , py::arg("map")
)
.def("Fill",
(void (Transfer_ResultFromTransient::*)( const opencascade::handle<Transfer_TransientProcess> & ) ) static_cast<void (Transfer_ResultFromTransient::*)( const opencascade::handle<Transfer_TransientProcess> & ) >(&Transfer_ResultFromTransient::Fill),
R"#(Fills from a TransientProcess, with the starting entity which must have been set before. It works with scopes, calls Fill on each of its sub-results)#" , py::arg("TP")
)
.def("Strip",
(void (Transfer_ResultFromTransient::*)() ) static_cast<void (Transfer_ResultFromTransient::*)() >(&Transfer_ResultFromTransient::Strip),
R"#(Clears some data attached to binders used by TransientProcess, which become useless once the transfer has been done : the list of sub-scoped binders, which is now recorded as sub-results)#"
)
.def("FillBack",
(void (Transfer_ResultFromTransient::*)( const opencascade::handle<Transfer_TransientProcess> & ) const) static_cast<void (Transfer_ResultFromTransient::*)( const opencascade::handle<Transfer_TransientProcess> & ) const>(&Transfer_ResultFromTransient::FillBack),
R"#(Fills back a TransientProcess with definition of a ResultFromTransient, respectfully to its structuration in scopes)#" , py::arg("TP")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_ResultFromTransient::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_ResultFromTransient::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_ResultFromTransient::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_ResultFromTransient::*)() const>(&Transfer_ResultFromTransient::DynamicType),
R"#(None)#"
)
;
// Class Transfer_TransferDispatch from ./opencascade/Transfer_TransferDispatch.hxx
klass = m.attr("Transfer_TransferDispatch");
// nested enums
static_cast<py::class_<Transfer_TransferDispatch , shared_ptr<Transfer_TransferDispatch> , Interface_CopyTool >>(klass)
// constructors
.def(py::init< const opencascade::handle<Interface_InterfaceModel> &,const Interface_GeneralLib & >() , py::arg("amodel"), py::arg("lib") )
.def(py::init< const opencascade::handle<Interface_InterfaceModel> &,const opencascade::handle<Interface_Protocol> & >() , py::arg("amodel"), py::arg("protocol") )
.def(py::init< const opencascade::handle<Interface_InterfaceModel> & >() , py::arg("amodel") )
// custom constructors
// methods
.def("TransientProcess",
(opencascade::handle<Transfer_TransientProcess> (Transfer_TransferDispatch::*)() const) static_cast<opencascade::handle<Transfer_TransientProcess> (Transfer_TransferDispatch::*)() const>(&Transfer_TransferDispatch::TransientProcess),
R"#(Returns the content of Control Object, as a TransientProcess)#"
)
.def("Copy",
(Standard_Boolean (Transfer_TransferDispatch::*)( const opencascade::handle<Standard_Transient> & , opencascade::handle<Standard_Transient> & , const Standard_Boolean , const Standard_Boolean ) ) static_cast<Standard_Boolean (Transfer_TransferDispatch::*)( const opencascade::handle<Standard_Transient> & , opencascade::handle<Standard_Transient> & , const Standard_Boolean , const Standard_Boolean ) >(&Transfer_TransferDispatch::Copy),
R"#(Copies an Entity by calling the method Transferring from the TransferProcess. If this called produces a Null Binder, then the standard, inherited Copy is called)#" , py::arg("entfrom"), py::arg("entto"), py::arg("mapped"), py::arg("errstat")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Transfer_TransferInput from ./opencascade/Transfer_TransferInput.hxx
klass = m.attr("Transfer_TransferInput");
// nested enums
static_cast<py::class_<Transfer_TransferInput , shared_ptr<Transfer_TransferInput> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Entities",
(Interface_EntityIterator (Transfer_TransferInput::*)( Transfer_TransferIterator & ) const) static_cast<Interface_EntityIterator (Transfer_TransferInput::*)( Transfer_TransferIterator & ) const>(&Transfer_TransferInput::Entities),
R"#(Takes the transient items stored in a TransferIterator)#" , py::arg("list")
)
.def("FillModel",
(void (Transfer_TransferInput::*)( const opencascade::handle<Transfer_TransientProcess> & , const opencascade::handle<Interface_InterfaceModel> & ) const) static_cast<void (Transfer_TransferInput::*)( const opencascade::handle<Transfer_TransientProcess> & , const opencascade::handle<Interface_InterfaceModel> & ) const>(&Transfer_TransferInput::FillModel),
R"#(Fills an InterfaceModel with the Complete Result of a Transfer stored in a TransientProcess (Starting Objects are Transient) The complete result is exactly added to the model)#" , py::arg("proc"), py::arg("amodel")
)
.def("FillModel",
(void (Transfer_TransferInput::*)( const opencascade::handle<Transfer_TransientProcess> & , const opencascade::handle<Interface_InterfaceModel> & , const opencascade::handle<Interface_Protocol> & , const Standard_Boolean ) const) static_cast<void (Transfer_TransferInput::*)( const opencascade::handle<Transfer_TransientProcess> & , const opencascade::handle<Interface_InterfaceModel> & , const opencascade::handle<Interface_Protocol> & , const Standard_Boolean ) const>(&Transfer_TransferInput::FillModel),
R"#(Fills an InterfaceModel with results of the Transfer recorded in a TransientProcess (Starting Objects are Transient) : Root Result if <roots> is True (Default), Complete Result else The entities added to the model are determined from the result by by adding the referenced entities)#" , py::arg("proc"), py::arg("amodel"), py::arg("proto"), py::arg("roots")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("FillModel",
(void (Transfer_TransferInput::*)( const opencascade::handle<Transfer_FinderProcess> & , const opencascade::handle<Interface_InterfaceModel> & ) const) static_cast<void (Transfer_TransferInput::*)( const opencascade::handle<Transfer_FinderProcess> & , const opencascade::handle<Interface_InterfaceModel> & ) const>(&Transfer_TransferInput::FillModel),
R"#(Fills an InterfaceModel with the Complete Result of a Transfer stored in a TransientProcess (Starting Objects are Transient) The complete result is exactly added to the model)#" , py::arg("proc"), py::arg("amodel")
)
.def("FillModel",
(void (Transfer_TransferInput::*)( const opencascade::handle<Transfer_FinderProcess> & , const opencascade::handle<Interface_InterfaceModel> & , const opencascade::handle<Interface_Protocol> & , const Standard_Boolean ) const) static_cast<void (Transfer_TransferInput::*)( const opencascade::handle<Transfer_FinderProcess> & , const opencascade::handle<Interface_InterfaceModel> & , const opencascade::handle<Interface_Protocol> & , const Standard_Boolean ) const>(&Transfer_TransferInput::FillModel),
R"#(Fills an InterfaceModel with results of the Transfer recorded in a TransientProcess (Starting Objects are Transient) : Root Result if <roots> is True (Default), Complete Result else The entities added to the model are determined from the result by by adding the referenced entities)#" , py::arg("proc"), py::arg("amodel"), py::arg("proto"), py::arg("roots")=static_cast<const Standard_Boolean>(Standard_True)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Transfer_TransferIterator from ./opencascade/Transfer_TransferIterator.hxx
klass = m.attr("Transfer_TransferIterator");
// nested enums
static_cast<py::class_<Transfer_TransferIterator , shared_ptr<Transfer_TransferIterator> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("AddItem",
(void (Transfer_TransferIterator::*)( const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_TransferIterator::*)( const opencascade::handle<Transfer_Binder> & ) >(&Transfer_TransferIterator::AddItem),
R"#(Adds a Binder to the iteration list (construction))#" , py::arg("atr")
)
.def("SelectBinder",
(void (Transfer_TransferIterator::*)( const opencascade::handle<Standard_Type> & , const Standard_Boolean ) ) static_cast<void (Transfer_TransferIterator::*)( const opencascade::handle<Standard_Type> & , const Standard_Boolean ) >(&Transfer_TransferIterator::SelectBinder),
R"#(Selects Items on the Type of Binder : keep only Binders which are of a given Type (if keep is True) or reject only them (if keep is False))#" , py::arg("atype"), py::arg("keep")
)
.def("SelectResult",
(void (Transfer_TransferIterator::*)( const opencascade::handle<Standard_Type> & , const Standard_Boolean ) ) static_cast<void (Transfer_TransferIterator::*)( const opencascade::handle<Standard_Type> & , const Standard_Boolean ) >(&Transfer_TransferIterator::SelectResult),
R"#(Selects Items on the Type of Result. Considers only Unique Results. Considers Dynamic Type for Transient Result, Static Type (the one given to define the Binder) else.)#" , py::arg("atype"), py::arg("keep")
)
.def("SelectUnique",
(void (Transfer_TransferIterator::*)( const Standard_Boolean ) ) static_cast<void (Transfer_TransferIterator::*)( const Standard_Boolean ) >(&Transfer_TransferIterator::SelectUnique),
R"#(Select Items according Unicity : keep only Unique Results (if keep is True) or keep only Multiple Results (if keep is False))#" , py::arg("keep")
)
.def("SelectItem",
(void (Transfer_TransferIterator::*)( const Standard_Integer , const Standard_Boolean ) ) static_cast<void (Transfer_TransferIterator::*)( const Standard_Integer , const Standard_Boolean ) >(&Transfer_TransferIterator::SelectItem),
R"#(Selects/Unselect (according to <keep> an item designated by its rank <num> in the list Used by sub-classes which have specific criteria)#" , py::arg("num"), py::arg("keep")
)
.def("Number",
(Standard_Integer (Transfer_TransferIterator::*)() const) static_cast<Standard_Integer (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::Number),
R"#(Returns count of Binders to be iterated)#"
)
.def("Start",
(void (Transfer_TransferIterator::*)() ) static_cast<void (Transfer_TransferIterator::*)() >(&Transfer_TransferIterator::Start),
R"#(Clears Iteration in progress, to allow it to be restarted)#"
)
.def("More",
(Standard_Boolean (Transfer_TransferIterator::*)() ) static_cast<Standard_Boolean (Transfer_TransferIterator::*)() >(&Transfer_TransferIterator::More),
R"#(Returns True if there are other Items to iterate)#"
)
.def("Next",
(void (Transfer_TransferIterator::*)() ) static_cast<void (Transfer_TransferIterator::*)() >(&Transfer_TransferIterator::Next),
R"#(Sets Iteration to the next Item)#"
)
.def("HasResult",
(Standard_Boolean (Transfer_TransferIterator::*)() const) static_cast<Standard_Boolean (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::HasResult),
R"#(Returns True if current Item brings a Result, Transient (Handle) or not or Multiple. That is to say, if it corresponds to a normally achieved Transfer, Transient Result is read by specific TransientResult below. Other kind of Result must be read specifically from its Binder)#"
)
.def("HasUniqueResult",
(Standard_Boolean (Transfer_TransferIterator::*)() const) static_cast<Standard_Boolean (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::HasUniqueResult),
R"#(Returns True if Current Item has a Unique Result)#"
)
.def("ResultType",
(opencascade::handle<Standard_Type> (Transfer_TransferIterator::*)() const) static_cast<opencascade::handle<Standard_Type> (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::ResultType),
R"#(Returns the Type of the Result of the current Item, if Unique. If No Unique Result (Error Transfer or Multiple Result), returns a Null Handle The Type is : the Dynamic Type for a Transient Result, the Type defined by the Binder Class else)#"
)
.def("HasTransientResult",
(Standard_Boolean (Transfer_TransferIterator::*)() const) static_cast<Standard_Boolean (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::HasTransientResult),
R"#(Returns True if the current Item has a Transient Unique Result (if yes, use TransientResult to get it))#"
)
.def("Status",
(Transfer_StatusExec (Transfer_TransferIterator::*)() const) static_cast<Transfer_StatusExec (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::Status),
R"#(Returns Execution Status of current Binder Normal transfer corresponds to StatusDone)#"
)
.def("HasFails",
(Standard_Boolean (Transfer_TransferIterator::*)() const) static_cast<Standard_Boolean (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::HasFails),
R"#(Returns True if Fail Messages are recorded with the current Binder. They can then be read through Check (see below))#"
)
.def("HasWarnings",
(Standard_Boolean (Transfer_TransferIterator::*)() const) static_cast<Standard_Boolean (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::HasWarnings),
R"#(Returns True if Warning Messages are recorded with the current Binder. They can then be read through Check (see below))#"
)
.def("Check",
(const opencascade::handle<Interface_Check> (Transfer_TransferIterator::*)() const) static_cast<const opencascade::handle<Interface_Check> (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::Check),
R"#(Returns Check associated to current Binder (in case of error, it brings Fail messages) (in case of warnings, it brings Warning messages))#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Value",
(const opencascade::handle<Transfer_Binder> & (Transfer_TransferIterator::*)() const) static_cast<const opencascade::handle<Transfer_Binder> & (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::Value),
R"#(Returns the current Binder)#"
)
.def("TransientResult",
(const opencascade::handle<Standard_Transient> & (Transfer_TransferIterator::*)() const) static_cast<const opencascade::handle<Standard_Transient> & (Transfer_TransferIterator::*)() const>(&Transfer_TransferIterator::TransientResult),
R"#(Returns the Transient Result of the current Item if there is (else, returns a null Handle) Supposes that Binding is done by a SimpleBinderOfTransient)#"
)
;
// Class Transfer_TransferOutput from ./opencascade/Transfer_TransferOutput.hxx
klass = m.attr("Transfer_TransferOutput");
// nested enums
static_cast<py::class_<Transfer_TransferOutput , shared_ptr<Transfer_TransferOutput> >>(klass)
// constructors
.def(py::init< const opencascade::handle<Transfer_ActorOfTransientProcess> &,const opencascade::handle<Interface_InterfaceModel> & >() , py::arg("actor"), py::arg("amodel") )
.def(py::init< const opencascade::handle<Transfer_TransientProcess> &,const opencascade::handle<Interface_InterfaceModel> & >() , py::arg("proc"), py::arg("amodel") )
// custom constructors
// methods
.def("Model",
(opencascade::handle<Interface_InterfaceModel> (Transfer_TransferOutput::*)() const) static_cast<opencascade::handle<Interface_InterfaceModel> (Transfer_TransferOutput::*)() const>(&Transfer_TransferOutput::Model),
R"#(Returns the Starting Model)#"
)
.def("TransientProcess",
(opencascade::handle<Transfer_TransientProcess> (Transfer_TransferOutput::*)() const) static_cast<opencascade::handle<Transfer_TransientProcess> (Transfer_TransferOutput::*)() const>(&Transfer_TransferOutput::TransientProcess),
R"#(Returns the TransientProcess used to work)#"
)
.def("Transfer",
(void (Transfer_TransferOutput::*)( const opencascade::handle<Standard_Transient> & , const Message_ProgressRange & ) ) static_cast<void (Transfer_TransferOutput::*)( const opencascade::handle<Standard_Transient> & , const Message_ProgressRange & ) >(&Transfer_TransferOutput::Transfer),
R"#(Transfer checks that all taken Entities come from the same Model, then calls Transfer from TransientProcess)#" , py::arg("obj"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("TransferRoots",
(void (Transfer_TransferOutput::*)( const opencascade::handle<Interface_Protocol> & , const Message_ProgressRange & ) ) static_cast<void (Transfer_TransferOutput::*)( const opencascade::handle<Interface_Protocol> & , const Message_ProgressRange & ) >(&Transfer_TransferOutput::TransferRoots),
R"#(Runs transfer on the roots of the Interface Model The Roots are computed with a ShareFlags created from a Protocol given as Argument)#" , py::arg("protocol"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("TransferRoots",
(void (Transfer_TransferOutput::*)( const Interface_Graph & , const Message_ProgressRange & ) ) static_cast<void (Transfer_TransferOutput::*)( const Interface_Graph & , const Message_ProgressRange & ) >(&Transfer_TransferOutput::TransferRoots),
R"#(Runs transfer on the roots defined by a Graph of dependences (which detains also a Model and its Entities) Roots are computed with a ShareFlags created from the Graph)#" , py::arg("G"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("TransferRoots",
(void (Transfer_TransferOutput::*)( const Message_ProgressRange & ) ) static_cast<void (Transfer_TransferOutput::*)( const Message_ProgressRange & ) >(&Transfer_TransferOutput::TransferRoots),
R"#(Runs transfer on the roots of the Interface Model Remark : the Roots are computed with a ShareFlags created from the Active Protocol)#" , py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("ListForStatus",
(Interface_EntityIterator (Transfer_TransferOutput::*)( const Standard_Boolean , const Standard_Boolean ) const) static_cast<Interface_EntityIterator (Transfer_TransferOutput::*)( const Standard_Boolean , const Standard_Boolean ) const>(&Transfer_TransferOutput::ListForStatus),
R"#(Returns the list of Starting Entities with these criteria : - <normal> False, gives the entities bound with ABNORMAL STATUS (e.g. : Fail recorded, Exception raised during Transfer) - <normal> True, gives Entities with or without a Result, but with no Fail, no Exception (Warnings are not counted) - <roots> False, considers all entities recorded (either for Result, or for at least one Fail or Warning message) - <roots> True (Default), considers only roots of Transfer (the Entities recorded at highest level) This method is based on AbnormalResult from TransferProcess)#" , py::arg("normal"), py::arg("roots")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("ModelForStatus",
(opencascade::handle<Interface_InterfaceModel> (Transfer_TransferOutput::*)( const opencascade::handle<Interface_Protocol> & , const Standard_Boolean , const Standard_Boolean ) const) static_cast<opencascade::handle<Interface_InterfaceModel> (Transfer_TransferOutput::*)( const opencascade::handle<Interface_Protocol> & , const Standard_Boolean , const Standard_Boolean ) const>(&Transfer_TransferOutput::ModelForStatus),
R"#(Fills a Model with the list determined by ListForStatus This model starts from scratch (made by NewEmptyModel from the current Model), then is filled by AddWithRefs)#" , py::arg("protocol"), py::arg("normal"), py::arg("roots")=static_cast<const Standard_Boolean>(Standard_True)
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class Transfer_ActorOfFinderProcess from ./opencascade/Transfer_ActorOfFinderProcess.hxx
klass = m.attr("Transfer_ActorOfFinderProcess");
// nested enums
static_cast<py::class_<Transfer_ActorOfFinderProcess ,opencascade::handle<Transfer_ActorOfFinderProcess> , Transfer_ActorOfProcessForFinder >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Transferring",
(opencascade::handle<Transfer_Binder> (Transfer_ActorOfFinderProcess::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_ProcessForFinder> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ActorOfFinderProcess::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_ProcessForFinder> & , const Message_ProgressRange & ) >(&Transfer_ActorOfFinderProcess::Transferring),
R"#(None)#" , py::arg("start"), py::arg("TP"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("Transfer",
(opencascade::handle<Transfer_Binder> (Transfer_ActorOfFinderProcess::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_FinderProcess> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ActorOfFinderProcess::*)( const opencascade::handle<Transfer_Finder> & , const opencascade::handle<Transfer_FinderProcess> & , const Message_ProgressRange & ) >(&Transfer_ActorOfFinderProcess::Transfer),
R"#(None)#" , py::arg("start"), py::arg("TP"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("TransferTransient",
(opencascade::handle<Standard_Transient> (Transfer_ActorOfFinderProcess::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_FinderProcess> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Standard_Transient> (Transfer_ActorOfFinderProcess::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_FinderProcess> & , const Message_ProgressRange & ) >(&Transfer_ActorOfFinderProcess::TransferTransient),
R"#(None)#" , py::arg("start"), py::arg("TP"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_ActorOfFinderProcess::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_ActorOfFinderProcess::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def_property("ModeTrans",
[](Transfer_ActorOfFinderProcess& self){return self.ModeTrans();} ,
[](Transfer_ActorOfFinderProcess& self, Standard_Integer val){self.ModeTrans() = val;}, R"#(Returns the Transfer Mode, modifiable)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_ActorOfFinderProcess::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_ActorOfFinderProcess::*)() const>(&Transfer_ActorOfFinderProcess::DynamicType),
R"#(None)#"
)
;
// Class Transfer_ActorOfTransientProcess from ./opencascade/Transfer_ActorOfTransientProcess.hxx
klass = m.attr("Transfer_ActorOfTransientProcess");
// nested enums
static_cast<py::class_<Transfer_ActorOfTransientProcess ,opencascade::handle<Transfer_ActorOfTransientProcess> , Transfer_ActorOfProcessForTransient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Transferring",
(opencascade::handle<Transfer_Binder> (Transfer_ActorOfTransientProcess::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_ProcessForTransient> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ActorOfTransientProcess::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_ProcessForTransient> & , const Message_ProgressRange & ) >(&Transfer_ActorOfTransientProcess::Transferring),
R"#(None)#" , py::arg("start"), py::arg("TP"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("Transfer",
(opencascade::handle<Transfer_Binder> (Transfer_ActorOfTransientProcess::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_TransientProcess> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ActorOfTransientProcess::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_TransientProcess> & , const Message_ProgressRange & ) >(&Transfer_ActorOfTransientProcess::Transfer),
R"#(None)#" , py::arg("start"), py::arg("TP"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
.def("TransferTransient",
(opencascade::handle<Standard_Transient> (Transfer_ActorOfTransientProcess::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_TransientProcess> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Standard_Transient> (Transfer_ActorOfTransientProcess::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_TransientProcess> & , const Message_ProgressRange & ) >(&Transfer_ActorOfTransientProcess::TransferTransient),
R"#(None)#" , py::arg("start"), py::arg("TP"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_ActorOfTransientProcess::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_ActorOfTransientProcess::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_ActorOfTransientProcess::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_ActorOfTransientProcess::*)() const>(&Transfer_ActorOfTransientProcess::DynamicType),
R"#(None)#"
)
;
// Class Transfer_FinderProcess from ./opencascade/Transfer_FinderProcess.hxx
klass = m.attr("Transfer_FinderProcess");
// nested enums
static_cast<py::class_<Transfer_FinderProcess ,opencascade::handle<Transfer_FinderProcess> , Transfer_ProcessForFinder >>(klass)
// constructors
.def(py::init< const Standard_Integer >() , py::arg("nb")=static_cast<const Standard_Integer>(10000) )
// custom constructors
// methods
.def("SetModel",
(void (Transfer_FinderProcess::*)( const opencascade::handle<Interface_InterfaceModel> & ) ) static_cast<void (Transfer_FinderProcess::*)( const opencascade::handle<Interface_InterfaceModel> & ) >(&Transfer_FinderProcess::SetModel),
R"#(Sets an InterfaceModel, which can be used during transfer for instance if a context must be managed, it is in the Model)#" , py::arg("model")
)
.def("Model",
(opencascade::handle<Interface_InterfaceModel> (Transfer_FinderProcess::*)() const) static_cast<opencascade::handle<Interface_InterfaceModel> (Transfer_FinderProcess::*)() const>(&Transfer_FinderProcess::Model),
R"#(Returns the Model which can be used for context)#"
)
.def("NextMappedWithAttribute",
(Standard_Integer (Transfer_FinderProcess::*)( const Standard_CString , const Standard_Integer ) const) static_cast<Standard_Integer (Transfer_FinderProcess::*)( const Standard_CString , const Standard_Integer ) const>(&Transfer_FinderProcess::NextMappedWithAttribute),
R"#(In the list of mapped items (between 1 and NbMapped), searches for the first mapped item which follows <num0> (not included) and which has an attribute named <name> The considered Attributes are those brought by Finders,i.e. by Input data. While NextItemWithAttribute works on Result data (Binders))#" , py::arg("name"), py::arg("num0")
)
.def("TransientMapper",
(opencascade::handle<Transfer_TransientMapper> (Transfer_FinderProcess::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<opencascade::handle<Transfer_TransientMapper> (Transfer_FinderProcess::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_FinderProcess::TransientMapper),
R"#(Returns a TransientMapper for a given Transient Object Either <obj> is already mapped, then its Mapper is returned Or it is not, then a new one is created then returned, BUT it is not mapped here (use Bind or FindElseBind to do this))#" , py::arg("obj")
)
.def("PrintTrace",
(void (Transfer_FinderProcess::*)( const opencascade::handle<Transfer_Finder> & , std::ostream & ) const) static_cast<void (Transfer_FinderProcess::*)( const opencascade::handle<Transfer_Finder> & , std::ostream & ) const>(&Transfer_FinderProcess::PrintTrace),
R"#(Specific printing to trace a Finder (by its method ValueType))#" , py::arg("start"), py::arg("S")
)
.def("PrintStats",
(void (Transfer_FinderProcess::*)( const Standard_Integer , std::ostream & ) const) static_cast<void (Transfer_FinderProcess::*)( const Standard_Integer , std::ostream & ) const>(&Transfer_FinderProcess::PrintStats),
R"#(Prints statistics on a given output, according mode)#" , py::arg("mode"), py::arg("S")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_FinderProcess::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_FinderProcess::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_FinderProcess::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_FinderProcess::*)() const>(&Transfer_FinderProcess::DynamicType),
R"#(None)#"
)
;
// Class Transfer_IteratorOfProcessForFinder from ./opencascade/Transfer_IteratorOfProcessForFinder.hxx
klass = m.attr("Transfer_IteratorOfProcessForFinder");
// nested enums
static_cast<py::class_<Transfer_IteratorOfProcessForFinder , shared_ptr<Transfer_IteratorOfProcessForFinder> , Transfer_TransferIterator >>(klass)
// constructors
.def(py::init< const Standard_Boolean >() , py::arg("withstarts") )
// custom constructors
// methods
.def("Add",
(void (Transfer_IteratorOfProcessForFinder::*)( const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_IteratorOfProcessForFinder::*)( const opencascade::handle<Transfer_Binder> & ) >(&Transfer_IteratorOfProcessForFinder::Add),
R"#(Adds a Binder to the iteration list (construction) with no corresponding Starting Object (note that Result is brought by Binder))#" , py::arg("binder")
)
.def("Add",
(void (Transfer_IteratorOfProcessForFinder::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Transfer_Finder> & ) ) static_cast<void (Transfer_IteratorOfProcessForFinder::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Transfer_Finder> & ) >(&Transfer_IteratorOfProcessForFinder::Add),
R"#(Adds a Binder to the iteration list, associated with its corresponding Starting Object "start" Starting Object is ignored if not required at Creation time)#" , py::arg("binder"), py::arg("start")
)
.def("Filter",
(void (Transfer_IteratorOfProcessForFinder::*)( const opencascade::handle<Transfer_HSequenceOfFinder> & , const Standard_Boolean ) ) static_cast<void (Transfer_IteratorOfProcessForFinder::*)( const opencascade::handle<Transfer_HSequenceOfFinder> & , const Standard_Boolean ) >(&Transfer_IteratorOfProcessForFinder::Filter),
R"#(After having added all items, keeps or rejects items which are attached to starting data given by <only> <keep> = True (D) : keeps. <keep> = False : rejects Does nothing if <withstarts> was False)#" , py::arg("list"), py::arg("keep")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("HasStarting",
(Standard_Boolean (Transfer_IteratorOfProcessForFinder::*)() const) static_cast<Standard_Boolean (Transfer_IteratorOfProcessForFinder::*)() const>(&Transfer_IteratorOfProcessForFinder::HasStarting),
R"#(Returns True if Starting Object is available (defined at Creation Time))#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Starting",
(const opencascade::handle<Transfer_Finder> & (Transfer_IteratorOfProcessForFinder::*)() const) static_cast<const opencascade::handle<Transfer_Finder> & (Transfer_IteratorOfProcessForFinder::*)() const>(&Transfer_IteratorOfProcessForFinder::Starting),
R"#(Returns corresponding Starting Object)#"
)
;
// Class Transfer_IteratorOfProcessForTransient from ./opencascade/Transfer_IteratorOfProcessForTransient.hxx
klass = m.attr("Transfer_IteratorOfProcessForTransient");
// nested enums
static_cast<py::class_<Transfer_IteratorOfProcessForTransient , shared_ptr<Transfer_IteratorOfProcessForTransient> , Transfer_TransferIterator >>(klass)
// constructors
.def(py::init< const Standard_Boolean >() , py::arg("withstarts") )
// custom constructors
// methods
.def("Add",
(void (Transfer_IteratorOfProcessForTransient::*)( const opencascade::handle<Transfer_Binder> & ) ) static_cast<void (Transfer_IteratorOfProcessForTransient::*)( const opencascade::handle<Transfer_Binder> & ) >(&Transfer_IteratorOfProcessForTransient::Add),
R"#(Adds a Binder to the iteration list (construction) with no corresponding Starting Object (note that Result is brought by Binder))#" , py::arg("binder")
)
.def("Add",
(void (Transfer_IteratorOfProcessForTransient::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_IteratorOfProcessForTransient::*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Standard_Transient> & ) >(&Transfer_IteratorOfProcessForTransient::Add),
R"#(Adds a Binder to the iteration list, associated with its corresponding Starting Object "start" Starting Object is ignored if not required at Creation time)#" , py::arg("binder"), py::arg("start")
)
.def("Filter",
(void (Transfer_IteratorOfProcessForTransient::*)( const opencascade::handle<TColStd_HSequenceOfTransient> & , const Standard_Boolean ) ) static_cast<void (Transfer_IteratorOfProcessForTransient::*)( const opencascade::handle<TColStd_HSequenceOfTransient> & , const Standard_Boolean ) >(&Transfer_IteratorOfProcessForTransient::Filter),
R"#(After having added all items, keeps or rejects items which are attached to starting data given by <only> <keep> = True (D) : keeps. <keep> = False : rejects Does nothing if <withstarts> was False)#" , py::arg("list"), py::arg("keep")=static_cast<const Standard_Boolean>(Standard_True)
)
.def("HasStarting",
(Standard_Boolean (Transfer_IteratorOfProcessForTransient::*)() const) static_cast<Standard_Boolean (Transfer_IteratorOfProcessForTransient::*)() const>(&Transfer_IteratorOfProcessForTransient::HasStarting),
R"#(Returns True if Starting Object is available (defined at Creation Time))#"
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Starting",
(const opencascade::handle<Standard_Transient> & (Transfer_IteratorOfProcessForTransient::*)() const) static_cast<const opencascade::handle<Standard_Transient> & (Transfer_IteratorOfProcessForTransient::*)() const>(&Transfer_IteratorOfProcessForTransient::Starting),
R"#(Returns corresponding Starting Object)#"
)
;
// Class Transfer_MultipleBinder from ./opencascade/Transfer_MultipleBinder.hxx
klass = m.attr("Transfer_MultipleBinder");
// nested enums
static_cast<py::class_<Transfer_MultipleBinder ,opencascade::handle<Transfer_MultipleBinder> , Transfer_Binder >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("IsMultiple",
(Standard_Boolean (Transfer_MultipleBinder::*)() const) static_cast<Standard_Boolean (Transfer_MultipleBinder::*)() const>(&Transfer_MultipleBinder::IsMultiple),
R"#(Returns True if a starting object is bound with SEVERAL results : Here, returns always True)#"
)
.def("ResultType",
(opencascade::handle<Standard_Type> (Transfer_MultipleBinder::*)() const) static_cast<opencascade::handle<Standard_Type> (Transfer_MultipleBinder::*)() const>(&Transfer_MultipleBinder::ResultType),
R"#(Returns the Type permitted for Results, i.e. here Transient)#"
)
.def("ResultTypeName",
(Standard_CString (Transfer_MultipleBinder::*)() const) static_cast<Standard_CString (Transfer_MultipleBinder::*)() const>(&Transfer_MultipleBinder::ResultTypeName),
R"#(Returns the Name of the Type which characterizes the Result Here, returns "(list)")#"
)
.def("AddResult",
(void (Transfer_MultipleBinder::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_MultipleBinder::*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_MultipleBinder::AddResult),
R"#(Adds a new Item to the Multiple Result)#" , py::arg("res")
)
.def("NbResults",
(Standard_Integer (Transfer_MultipleBinder::*)() const) static_cast<Standard_Integer (Transfer_MultipleBinder::*)() const>(&Transfer_MultipleBinder::NbResults),
R"#(Returns the actual count of recorded (Transient) results)#"
)
.def("ResultValue",
(opencascade::handle<Standard_Transient> (Transfer_MultipleBinder::*)( const Standard_Integer ) const) static_cast<opencascade::handle<Standard_Transient> (Transfer_MultipleBinder::*)( const Standard_Integer ) const>(&Transfer_MultipleBinder::ResultValue),
R"#(Returns the value of the recorded result n0 <num>)#" , py::arg("num")
)
.def("MultipleResult",
(opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_MultipleBinder::*)() const) static_cast<opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_MultipleBinder::*)() const>(&Transfer_MultipleBinder::MultipleResult),
R"#(Returns the Multiple Result, if it is defined (at least one Item). Else, returns a Null Handle)#"
)
.def("SetMultipleResult",
(void (Transfer_MultipleBinder::*)( const opencascade::handle<TColStd_HSequenceOfTransient> & ) ) static_cast<void (Transfer_MultipleBinder::*)( const opencascade::handle<TColStd_HSequenceOfTransient> & ) >(&Transfer_MultipleBinder::SetMultipleResult),
R"#(Defines a Binding with a Multiple Result, given as a Sequence Error if a Unique Result has yet been defined)#" , py::arg("mulres")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_MultipleBinder::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_MultipleBinder::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_MultipleBinder::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_MultipleBinder::*)() const>(&Transfer_MultipleBinder::DynamicType),
R"#(None)#"
)
;
// Class Transfer_SimpleBinderOfTransient from ./opencascade/Transfer_SimpleBinderOfTransient.hxx
klass = m.attr("Transfer_SimpleBinderOfTransient");
// nested enums
static_cast<py::class_<Transfer_SimpleBinderOfTransient ,opencascade::handle<Transfer_SimpleBinderOfTransient> , Transfer_Binder >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("ResultType",
(opencascade::handle<Standard_Type> (Transfer_SimpleBinderOfTransient::*)() const) static_cast<opencascade::handle<Standard_Type> (Transfer_SimpleBinderOfTransient::*)() const>(&Transfer_SimpleBinderOfTransient::ResultType),
R"#(Returns the Effective (Dynamic) Type of the Result (Standard_Transient if no Result is defined))#"
)
.def("ResultTypeName",
(Standard_CString (Transfer_SimpleBinderOfTransient::*)() const) static_cast<Standard_CString (Transfer_SimpleBinderOfTransient::*)() const>(&Transfer_SimpleBinderOfTransient::ResultTypeName),
R"#(Returns the Effective Name of (Dynamic) Type of the Result (void) if no result is defined)#"
)
.def("SetResult",
(void (Transfer_SimpleBinderOfTransient::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_SimpleBinderOfTransient::*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_SimpleBinderOfTransient::SetResult),
R"#(Defines the Result)#" , py::arg("res")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("GetTypedResult_s",
(Standard_Boolean (*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) ) static_cast<Standard_Boolean (*)( const opencascade::handle<Transfer_Binder> & , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) >(&Transfer_SimpleBinderOfTransient::GetTypedResult),
R"#(Returns a transient result according to its type (IsKind) i.e. the result itself if IsKind(atype), else searches in NextResult, until first found, then returns True If not found, returns False (res is NOT touched))#" , py::arg("bnd"), py::arg("atype"), py::arg("res")
)
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_SimpleBinderOfTransient::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_SimpleBinderOfTransient::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Result",
(const opencascade::handle<Standard_Transient> & (Transfer_SimpleBinderOfTransient::*)() const) static_cast<const opencascade::handle<Standard_Transient> & (Transfer_SimpleBinderOfTransient::*)() const>(&Transfer_SimpleBinderOfTransient::Result),
R"#(Returns the defined Result, if there is one)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_SimpleBinderOfTransient::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_SimpleBinderOfTransient::*)() const>(&Transfer_SimpleBinderOfTransient::DynamicType),
R"#(None)#"
)
;
// Class Transfer_TransientListBinder from ./opencascade/Transfer_TransientListBinder.hxx
klass = m.attr("Transfer_TransientListBinder");
// nested enums
static_cast<py::class_<Transfer_TransientListBinder ,opencascade::handle<Transfer_TransientListBinder> , Transfer_Binder >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const opencascade::handle<TColStd_HSequenceOfTransient> & >() , py::arg("list") )
// custom constructors
// methods
.def("IsMultiple",
(Standard_Boolean (Transfer_TransientListBinder::*)() const) static_cast<Standard_Boolean (Transfer_TransientListBinder::*)() const>(&Transfer_TransientListBinder::IsMultiple),
R"#(None)#"
)
.def("ResultType",
(opencascade::handle<Standard_Type> (Transfer_TransientListBinder::*)() const) static_cast<opencascade::handle<Standard_Type> (Transfer_TransientListBinder::*)() const>(&Transfer_TransientListBinder::ResultType),
R"#(None)#"
)
.def("ResultTypeName",
(Standard_CString (Transfer_TransientListBinder::*)() const) static_cast<Standard_CString (Transfer_TransientListBinder::*)() const>(&Transfer_TransientListBinder::ResultTypeName),
R"#(None)#"
)
.def("AddResult",
(void (Transfer_TransientListBinder::*)( const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_TransientListBinder::*)( const opencascade::handle<Standard_Transient> & ) >(&Transfer_TransientListBinder::AddResult),
R"#(Adds an item to the result list)#" , py::arg("res")
)
.def("Result",
(opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_TransientListBinder::*)() const) static_cast<opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_TransientListBinder::*)() const>(&Transfer_TransientListBinder::Result),
R"#(None)#"
)
.def("SetResult",
(void (Transfer_TransientListBinder::*)( const Standard_Integer , const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_TransientListBinder::*)( const Standard_Integer , const opencascade::handle<Standard_Transient> & ) >(&Transfer_TransientListBinder::SetResult),
R"#(Changes an already defined sub-result)#" , py::arg("num"), py::arg("res")
)
.def("NbTransients",
(Standard_Integer (Transfer_TransientListBinder::*)() const) static_cast<Standard_Integer (Transfer_TransientListBinder::*)() const>(&Transfer_TransientListBinder::NbTransients),
R"#(None)#"
)
.def("Transient",
(const opencascade::handle<Standard_Transient> & (Transfer_TransientListBinder::*)( const Standard_Integer ) const) static_cast<const opencascade::handle<Standard_Transient> & (Transfer_TransientListBinder::*)( const Standard_Integer ) const>(&Transfer_TransientListBinder::Transient),
R"#(None)#" , py::arg("num")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_TransientListBinder::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_TransientListBinder::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_TransientListBinder::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_TransientListBinder::*)() const>(&Transfer_TransientListBinder::DynamicType),
R"#(None)#"
)
;
// Class Transfer_TransientMapper from ./opencascade/Transfer_TransientMapper.hxx
klass = m.attr("Transfer_TransientMapper");
// nested enums
static_cast<py::class_<Transfer_TransientMapper ,opencascade::handle<Transfer_TransientMapper> , Transfer_Finder >>(klass)
// constructors
.def(py::init< const opencascade::handle<Standard_Transient> & >() , py::arg("akey") )
// custom constructors
// methods
.def("Equates",
(Standard_Boolean (Transfer_TransientMapper::*)( const opencascade::handle<Transfer_Finder> & ) const) static_cast<Standard_Boolean (Transfer_TransientMapper::*)( const opencascade::handle<Transfer_Finder> & ) const>(&Transfer_TransientMapper::Equates),
R"#(Specific testof equality : defined as False if <other> has not the same true Type, else contents are compared (by C++ operator ==))#" , py::arg("other")
)
.def("ValueType",
(opencascade::handle<Standard_Type> (Transfer_TransientMapper::*)() const) static_cast<opencascade::handle<Standard_Type> (Transfer_TransientMapper::*)() const>(&Transfer_TransientMapper::ValueType),
R"#(Returns the Type of the Value. By default, returns the DynamicType of <me>, but can be redefined)#"
)
.def("ValueTypeName",
(Standard_CString (Transfer_TransientMapper::*)() const) static_cast<Standard_CString (Transfer_TransientMapper::*)() const>(&Transfer_TransientMapper::ValueTypeName),
R"#(Returns the name of the Type of the Value. Default is name of ValueType, unless it is for a non-handled object)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_TransientMapper::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_TransientMapper::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Value",
(const opencascade::handle<Standard_Transient> & (Transfer_TransientMapper::*)() const) static_cast<const opencascade::handle<Standard_Transient> & (Transfer_TransientMapper::*)() const>(&Transfer_TransientMapper::Value),
R"#(Returns the contained value)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_TransientMapper::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_TransientMapper::*)() const>(&Transfer_TransientMapper::DynamicType),
R"#(None)#"
)
;
// Class Transfer_TransientProcess from ./opencascade/Transfer_TransientProcess.hxx
klass = m.attr("Transfer_TransientProcess");
// nested enums
static_cast<py::class_<Transfer_TransientProcess ,opencascade::handle<Transfer_TransientProcess> , Transfer_ProcessForTransient >>(klass)
// constructors
.def(py::init< const Standard_Integer >() , py::arg("nb")=static_cast<const Standard_Integer>(10000) )
// custom constructors
// methods
.def("SetModel",
(void (Transfer_TransientProcess::*)( const opencascade::handle<Interface_InterfaceModel> & ) ) static_cast<void (Transfer_TransientProcess::*)( const opencascade::handle<Interface_InterfaceModel> & ) >(&Transfer_TransientProcess::SetModel),
R"#(Sets an InterfaceModel, used by StartTrace, CheckList, queries on Integrity, to give information significant for each norm.)#" , py::arg("model")
)
.def("Model",
(opencascade::handle<Interface_InterfaceModel> (Transfer_TransientProcess::*)() const) static_cast<opencascade::handle<Interface_InterfaceModel> (Transfer_TransientProcess::*)() const>(&Transfer_TransientProcess::Model),
R"#(Returns the Model used for StartTrace)#"
)
.def("SetGraph",
(void (Transfer_TransientProcess::*)( const opencascade::handle<Interface_HGraph> & ) ) static_cast<void (Transfer_TransientProcess::*)( const opencascade::handle<Interface_HGraph> & ) >(&Transfer_TransientProcess::SetGraph),
R"#(Sets a Graph : superseedes SetModel if already done)#" , py::arg("HG")
)
.def("HasGraph",
(Standard_Boolean (Transfer_TransientProcess::*)() const) static_cast<Standard_Boolean (Transfer_TransientProcess::*)() const>(&Transfer_TransientProcess::HasGraph),
R"#(None)#"
)
.def("HGraph",
(opencascade::handle<Interface_HGraph> (Transfer_TransientProcess::*)() const) static_cast<opencascade::handle<Interface_HGraph> (Transfer_TransientProcess::*)() const>(&Transfer_TransientProcess::HGraph),
R"#(None)#"
)
.def("SetContext",
(void (Transfer_TransientProcess::*)( const Standard_CString , const opencascade::handle<Standard_Transient> & ) ) static_cast<void (Transfer_TransientProcess::*)( const Standard_CString , const opencascade::handle<Standard_Transient> & ) >(&Transfer_TransientProcess::SetContext),
R"#(Sets a Context : according to receiving appli, to be interpreted by the Actor)#" , py::arg("name"), py::arg("ctx")
)
.def("GetContext",
(Standard_Boolean (Transfer_TransientProcess::*)( const Standard_CString , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_TransientProcess::*)( const Standard_CString , const opencascade::handle<Standard_Type> & , opencascade::handle<Standard_Transient> & ) const>(&Transfer_TransientProcess::GetContext),
R"#(Returns the Context attached to a name, if set and if it is Kind of the type, else a Null Handle Returns True if OK, False if no Context)#" , py::arg("name"), py::arg("type"), py::arg("ctx")
)
.def("PrintTrace",
(void (Transfer_TransientProcess::*)( const opencascade::handle<Standard_Transient> & , std::ostream & ) const) static_cast<void (Transfer_TransientProcess::*)( const opencascade::handle<Standard_Transient> & , std::ostream & ) const>(&Transfer_TransientProcess::PrintTrace),
R"#(Specific printing to trace an entity : prints label and type (if model is set))#" , py::arg("start"), py::arg("S")
)
.def("CheckNum",
(Standard_Integer (Transfer_TransientProcess::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Integer (Transfer_TransientProcess::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_TransientProcess::CheckNum),
R"#(Specific number of a starting object for check-list : Number in model)#" , py::arg("ent")
)
.def("TypedSharings",
(Interface_EntityIterator (Transfer_TransientProcess::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Standard_Type> & ) const) static_cast<Interface_EntityIterator (Transfer_TransientProcess::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Standard_Type> & ) const>(&Transfer_TransientProcess::TypedSharings),
R"#(Returns the list of sharings entities, AT ANY LEVEL, which are kind of a given type. Calls TypedSharings from Graph Returns an empty list if the Graph has not been aknowledged)#" , py::arg("start"), py::arg("type")
)
.def("IsDataLoaded",
(Standard_Boolean (Transfer_TransientProcess::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_TransientProcess::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_TransientProcess::IsDataLoaded),
R"#(Tells if an entity is well loaded from file (even if its data fail on checking, they are present). Mostly often, answers True. Else, there was a syntactic error in the file. A non-loaded entity MAY NOT BE transferred, unless its Report (in the model) is interpreted)#" , py::arg("ent")
)
.def("IsDataFail",
(Standard_Boolean (Transfer_TransientProcess::*)( const opencascade::handle<Standard_Transient> & ) const) static_cast<Standard_Boolean (Transfer_TransientProcess::*)( const opencascade::handle<Standard_Transient> & ) const>(&Transfer_TransientProcess::IsDataFail),
R"#(Tells if an entity fails on data checking (load time, syntactic, or semantic check). Normally, should answer False. It is not prudent to try transferring an entity which fails on data checking)#" , py::arg("ent")
)
.def("PrintStats",
(void (Transfer_TransientProcess::*)( const Standard_Integer , std::ostream & ) const) static_cast<void (Transfer_TransientProcess::*)( const Standard_Integer , std::ostream & ) const>(&Transfer_TransientProcess::PrintStats),
R"#(Prints statistics on a given output, according mode)#" , py::arg("mode"), py::arg("S")
)
.def("RootsForTransfer",
(opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_TransientProcess::*)() ) static_cast<opencascade::handle<TColStd_HSequenceOfTransient> (Transfer_TransientProcess::*)() >(&Transfer_TransientProcess::RootsForTransfer),
R"#(None)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_TransientProcess::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_TransientProcess::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Graph",
(const Interface_Graph & (Transfer_TransientProcess::*)() const) static_cast<const Interface_Graph & (Transfer_TransientProcess::*)() const>(&Transfer_TransientProcess::Graph),
R"#(None)#"
)
.def("Context",
(NCollection_DataMap<TCollection_AsciiString, opencascade::handle<Standard_Transient>> & (Transfer_TransientProcess::*)() ) static_cast<NCollection_DataMap<TCollection_AsciiString, opencascade::handle<Standard_Transient>> & (Transfer_TransientProcess::*)() >(&Transfer_TransientProcess::Context),
R"#(Returns (modifiable) the whole definition of Context Rather for internal use (ex.: preparing and setting in once))#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_TransientProcess::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_TransientProcess::*)() const>(&Transfer_TransientProcess::DynamicType),
R"#(None)#"
)
;
// Class Transfer_VoidBinder from ./opencascade/Transfer_VoidBinder.hxx
klass = m.attr("Transfer_VoidBinder");
// nested enums
static_cast<py::class_<Transfer_VoidBinder ,opencascade::handle<Transfer_VoidBinder> , Transfer_Binder >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("ResultType",
(opencascade::handle<Standard_Type> (Transfer_VoidBinder::*)() const) static_cast<opencascade::handle<Standard_Type> (Transfer_VoidBinder::*)() const>(&Transfer_VoidBinder::ResultType),
R"#(while a VoidBinder admits no Result, its ResultType returns the type of <me>)#"
)
.def("ResultTypeName",
(Standard_CString (Transfer_VoidBinder::*)() const) static_cast<Standard_CString (Transfer_VoidBinder::*)() const>(&Transfer_VoidBinder::ResultTypeName),
R"#(Returns "(void)")#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_VoidBinder::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_VoidBinder::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_VoidBinder::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_VoidBinder::*)() const>(&Transfer_VoidBinder::DynamicType),
R"#(None)#"
)
;
// Class Transfer_ActorDispatch from ./opencascade/Transfer_ActorDispatch.hxx
klass = m.attr("Transfer_ActorDispatch");
// nested enums
static_cast<py::class_<Transfer_ActorDispatch ,opencascade::handle<Transfer_ActorDispatch> , Transfer_ActorOfTransientProcess >>(klass)
// constructors
.def(py::init< const opencascade::handle<Interface_InterfaceModel> &,const Interface_GeneralLib & >() , py::arg("amodel"), py::arg("lib") )
.def(py::init< const opencascade::handle<Interface_InterfaceModel> &,const opencascade::handle<Interface_Protocol> & >() , py::arg("amodel"), py::arg("protocol") )
.def(py::init< const opencascade::handle<Interface_InterfaceModel> & >() , py::arg("amodel") )
// custom constructors
// methods
.def("AddActor",
(void (Transfer_ActorDispatch::*)( const opencascade::handle<Transfer_ActorOfTransientProcess> & ) ) static_cast<void (Transfer_ActorDispatch::*)( const opencascade::handle<Transfer_ActorOfTransientProcess> & ) >(&Transfer_ActorDispatch::AddActor),
R"#(Utility which adds an actor to the default <me> (it calls SetActor from the TransientProcess))#" , py::arg("actor")
)
.def("Transfer",
(opencascade::handle<Transfer_Binder> (Transfer_ActorDispatch::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_TransientProcess> & , const Message_ProgressRange & ) ) static_cast<opencascade::handle<Transfer_Binder> (Transfer_ActorDispatch::*)( const opencascade::handle<Standard_Transient> & , const opencascade::handle<Transfer_TransientProcess> & , const Message_ProgressRange & ) >(&Transfer_ActorDispatch::Transfer),
R"#(Specific action : it calls the method Transfer from CopyTool i.e. the general service Copy, then returns the Binder produced by the TransientProcess)#" , py::arg("start"), py::arg("TP"), py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_ActorDispatch::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_ActorDispatch::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("TransferDispatch",
(Transfer_TransferDispatch & (Transfer_ActorDispatch::*)() ) static_cast<Transfer_TransferDispatch & (Transfer_ActorDispatch::*)() >(&Transfer_ActorDispatch::TransferDispatch),
R"#(Returns the TransferDispatch, which does the work, records the intermediate data, etc... See TransferDispatch & CopyTool, to see the available methods)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_ActorDispatch::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_ActorDispatch::*)() const>(&Transfer_ActorDispatch::DynamicType),
R"#(None)#"
)
;
// Class Transfer_BinderOfTransientInteger from ./opencascade/Transfer_BinderOfTransientInteger.hxx
klass = m.attr("Transfer_BinderOfTransientInteger");
// nested enums
static_cast<py::class_<Transfer_BinderOfTransientInteger ,opencascade::handle<Transfer_BinderOfTransientInteger> , Transfer_SimpleBinderOfTransient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetInteger",
(void (Transfer_BinderOfTransientInteger::*)( const Standard_Integer ) ) static_cast<void (Transfer_BinderOfTransientInteger::*)( const Standard_Integer ) >(&Transfer_BinderOfTransientInteger::SetInteger),
R"#(Sets a value for the integer part)#" , py::arg("value")
)
.def("Integer",
(Standard_Integer (Transfer_BinderOfTransientInteger::*)() const) static_cast<Standard_Integer (Transfer_BinderOfTransientInteger::*)() const>(&Transfer_BinderOfTransientInteger::Integer),
R"#(Returns the value set for the integer part)#"
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Transfer_BinderOfTransientInteger::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Transfer_BinderOfTransientInteger::get_type_descriptor),
R"#(None)#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Transfer_BinderOfTransientInteger::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Transfer_BinderOfTransientInteger::*)() const>(&Transfer_BinderOfTransientInteger::DynamicType),
R"#(None)#"
)
;
// functions
// ./opencascade/Transfer_ActorDispatch.hxx
// ./opencascade/Transfer_ActorOfFinderProcess.hxx
// ./opencascade/Transfer_ActorOfProcessForFinder.hxx
// ./opencascade/Transfer_ActorOfProcessForTransient.hxx
// ./opencascade/Transfer_ActorOfTransientProcess.hxx
// ./opencascade/Transfer_Binder.hxx
// ./opencascade/Transfer_BinderOfTransientInteger.hxx
// ./opencascade/Transfer_DataInfo.hxx
// ./opencascade/Transfer_DispatchControl.hxx
// ./opencascade/Transfer_FindHasher.hxx
// ./opencascade/Transfer_Finder.hxx
// ./opencascade/Transfer_FinderProcess.hxx
// ./opencascade/Transfer_HSequenceOfBinder.hxx
// ./opencascade/Transfer_HSequenceOfFinder.hxx
// ./opencascade/Transfer_IteratorOfProcessForFinder.hxx
// ./opencascade/Transfer_IteratorOfProcessForTransient.hxx
// ./opencascade/Transfer_MapContainer.hxx
// ./opencascade/Transfer_MultipleBinder.hxx
// ./opencascade/Transfer_ProcessForFinder.hxx
// ./opencascade/Transfer_ProcessForTransient.hxx
// ./opencascade/Transfer_ResultFromModel.hxx
// ./opencascade/Transfer_ResultFromTransient.hxx
// ./opencascade/Transfer_SequenceOfBinder.hxx
// ./opencascade/Transfer_SequenceOfFinder.hxx
// ./opencascade/Transfer_SimpleBinderOfTransient.hxx
// ./opencascade/Transfer_StatusExec.hxx
// ./opencascade/Transfer_StatusResult.hxx
// ./opencascade/Transfer_TransferDeadLoop.hxx
// ./opencascade/Transfer_TransferDispatch.hxx
// ./opencascade/Transfer_TransferFailure.hxx
// ./opencascade/Transfer_TransferInput.hxx
// ./opencascade/Transfer_TransferIterator.hxx
// ./opencascade/Transfer_TransferMapOfProcessForFinder.hxx
// ./opencascade/Transfer_TransferMapOfProcessForTransient.hxx
// ./opencascade/Transfer_TransferOutput.hxx
// ./opencascade/Transfer_TransientListBinder.hxx
// ./opencascade/Transfer_TransientMapper.hxx
// ./opencascade/Transfer_TransientProcess.hxx
// ./opencascade/Transfer_UndefMode.hxx
// ./opencascade/Transfer_VoidBinder.hxx
// Additional functions
// operators
// register typdefs
register_template_NCollection_Sequence<opencascade::handle<Transfer_Binder>>(m,"Transfer_SequenceOfBinder");
register_template_NCollection_Sequence<opencascade::handle<Transfer_Finder>>(m,"Transfer_SequenceOfFinder");
// exceptions
register_occ_exception<Transfer_TransferFailure>(m, "Transfer_TransferFailure");
register_occ_exception<Transfer_TransferDeadLoop>(m, "Transfer_TransferDeadLoop");
// user-defined post-inclusion per module in the body
};
// user-defined post-inclusion per module
// user-defined post
|