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
|
// 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 <TCollection_AsciiString.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 <Storage_Schema.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 <Storage_Schema.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Standard_Persistent.hxx>
#include <Storage_Schema.hxx>
#include <Storage_BaseDriver.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Storage_HeaderData.hxx>
#include <Storage_RootData.hxx>
#include <Storage_TypeData.hxx>
#include <Storage_InternalData.hxx>
#include <Standard_Persistent.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 <Standard_Persistent.hxx>
#include <Storage_Schema.hxx>
#include <Storage_BaseDriver.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 <Storage_BaseDriver.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 <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Standard_Persistent.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Storage_BaseDriver.hxx>
#include <Standard_Persistent.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Storage_CallBack.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 <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 <Storage_BaseDriver.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Storage_CallBack.hxx>
// module includes
#include <Storage.hxx>
#include <Storage_ArrayOfCallBack.hxx>
#include <Storage_ArrayOfSchema.hxx>
#include <Storage_BaseDriver.hxx>
#include <Storage_BucketOfPersistent.hxx>
#include <Storage_CallBack.hxx>
#include <Storage_Data.hxx>
#include <Storage_DataMapIteratorOfMapOfCallBack.hxx>
#include <Storage_DataMapIteratorOfMapOfPers.hxx>
#include <Storage_DefaultCallBack.hxx>
#include <Storage_Error.hxx>
#include <Storage_HArrayOfCallBack.hxx>
#include <Storage_HArrayOfSchema.hxx>
#include <Storage_HeaderData.hxx>
#include <Storage_HPArray.hxx>
#include <Storage_HSeqOfRoot.hxx>
#include <Storage_InternalData.hxx>
#include <Storage_Macros.hxx>
#include <Storage_MapOfCallBack.hxx>
#include <Storage_MapOfPers.hxx>
#include <Storage_OpenMode.hxx>
#include <Storage_PArray.hxx>
#include <Storage_Position.hxx>
#include <Storage_PType.hxx>
#include <Storage_Root.hxx>
#include <Storage_RootData.hxx>
#include <Storage_Schema.hxx>
#include <Storage_SeqOfRoot.hxx>
#include <Storage_SolveMode.hxx>
#include <Storage_StreamExtCharParityError.hxx>
#include <Storage_StreamFormatError.hxx>
#include <Storage_StreamModeError.hxx>
#include <Storage_StreamReadError.hxx>
#include <Storage_StreamTypeMismatchError.hxx>
#include <Storage_StreamUnknownTypeError.hxx>
#include <Storage_StreamWriteError.hxx>
#include <Storage_TypeData.hxx>
#include <Storage_TypedCallBack.hxx>
// template related includes
// ./opencascade/Storage_ArrayOfCallBack.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Storage_ArrayOfSchema.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Storage_MapOfCallBack.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Storage_MapOfPers.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Storage_PArray.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Storage_PType.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/Storage_SeqOfRoot.hxx
#include "NCollection_tmpl.hxx"
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
// Module definiiton
void register_Storage(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("Storage"));
py::object klass;
//Python trampoline classes
class Py_Storage_BaseDriver : public Storage_BaseDriver{
public:
using Storage_BaseDriver::Storage_BaseDriver;
// public pure virtual
Storage_Error Open(const TCollection_AsciiString & aName,const Storage_OpenMode aMode) override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,Open,aName,aMode) };
Standard_Boolean IsEnd() override { PYBIND11_OVERLOAD_PURE(Standard_Boolean,Storage_BaseDriver,IsEnd,) };
Storage_Position Tell() override { PYBIND11_OVERLOAD_PURE(Storage_Position,Storage_BaseDriver,Tell,) };
Storage_Error BeginWriteInfoSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginWriteInfoSection,) };
void WriteInfo(const Standard_Integer nbObj,const TCollection_AsciiString & dbVersion,const TCollection_AsciiString & date,const TCollection_AsciiString & schemaName,const TCollection_AsciiString & schemaVersion,const TCollection_ExtendedString & appName,const TCollection_AsciiString & appVersion,const TCollection_ExtendedString & objectType, const NCollection_Sequence<TCollection_AsciiString> & userInfo) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,WriteInfo,nbObj,dbVersion,date,schemaName,schemaVersion,appName,appVersion,objectType,userInfo) };
Storage_Error EndWriteInfoSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndWriteInfoSection,) };
Storage_Error BeginReadInfoSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginReadInfoSection,) };
Storage_Error EndReadInfoSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndReadInfoSection,) };
Storage_Error BeginWriteCommentSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginWriteCommentSection,) };
void WriteComment( const NCollection_Sequence<TCollection_ExtendedString> & userComments) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,WriteComment,userComments) };
Storage_Error EndWriteCommentSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndWriteCommentSection,) };
Storage_Error BeginReadCommentSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginReadCommentSection,) };
void ReadComment(NCollection_Sequence<TCollection_ExtendedString> & userComments) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,ReadComment,userComments) };
Storage_Error EndReadCommentSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndReadCommentSection,) };
Storage_Error BeginWriteTypeSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginWriteTypeSection,) };
void SetTypeSectionSize(const Standard_Integer aSize) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,SetTypeSectionSize,aSize) };
void WriteTypeInformations(const Standard_Integer typeNum,const TCollection_AsciiString & typeName) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,WriteTypeInformations,typeNum,typeName) };
Storage_Error EndWriteTypeSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndWriteTypeSection,) };
Storage_Error BeginReadTypeSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginReadTypeSection,) };
Standard_Integer TypeSectionSize() override { PYBIND11_OVERLOAD_PURE(Standard_Integer,Storage_BaseDriver,TypeSectionSize,) };
Storage_Error EndReadTypeSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndReadTypeSection,) };
Storage_Error BeginWriteRootSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginWriteRootSection,) };
void SetRootSectionSize(const Standard_Integer aSize) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,SetRootSectionSize,aSize) };
void WriteRoot(const TCollection_AsciiString & rootName,const Standard_Integer aRef,const TCollection_AsciiString & aType) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,WriteRoot,rootName,aRef,aType) };
Storage_Error EndWriteRootSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndWriteRootSection,) };
Storage_Error BeginReadRootSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginReadRootSection,) };
Standard_Integer RootSectionSize() override { PYBIND11_OVERLOAD_PURE(Standard_Integer,Storage_BaseDriver,RootSectionSize,) };
Storage_Error EndReadRootSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndReadRootSection,) };
Storage_Error BeginWriteRefSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginWriteRefSection,) };
void SetRefSectionSize(const Standard_Integer aSize) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,SetRefSectionSize,aSize) };
void WriteReferenceType(const Standard_Integer reference,const Standard_Integer typeNum) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,WriteReferenceType,reference,typeNum) };
Storage_Error EndWriteRefSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndWriteRefSection,) };
Storage_Error BeginReadRefSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginReadRefSection,) };
Standard_Integer RefSectionSize() override { PYBIND11_OVERLOAD_PURE(Standard_Integer,Storage_BaseDriver,RefSectionSize,) };
Storage_Error EndReadRefSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndReadRefSection,) };
Storage_Error BeginWriteDataSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginWriteDataSection,) };
void WritePersistentObjectHeader(const Standard_Integer aRef,const Standard_Integer aType) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,WritePersistentObjectHeader,aRef,aType) };
void BeginWritePersistentObjectData() override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,BeginWritePersistentObjectData,) };
void BeginWriteObjectData() override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,BeginWriteObjectData,) };
void EndWriteObjectData() override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,EndWriteObjectData,) };
void EndWritePersistentObjectData() override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,EndWritePersistentObjectData,) };
Storage_Error EndWriteDataSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndWriteDataSection,) };
Storage_Error BeginReadDataSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,BeginReadDataSection,) };
void BeginReadPersistentObjectData() override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,BeginReadPersistentObjectData,) };
void BeginReadObjectData() override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,BeginReadObjectData,) };
void EndReadObjectData() override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,EndReadObjectData,) };
void EndReadPersistentObjectData() override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,EndReadPersistentObjectData,) };
Storage_Error EndReadDataSection() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,EndReadDataSection,) };
void SkipObject() override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,SkipObject,) };
Storage_Error Close() override { PYBIND11_OVERLOAD_PURE(Storage_Error,Storage_BaseDriver,Close,) };
Storage_BaseDriver & PutReference(const Standard_Integer aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,PutReference,aValue) };
Storage_BaseDriver & PutCharacter(const Standard_Character aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,PutCharacter,aValue) };
Storage_BaseDriver & PutExtCharacter(const Standard_ExtCharacter aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,PutExtCharacter,aValue) };
Storage_BaseDriver & PutInteger(const Standard_Integer aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,PutInteger,aValue) };
Storage_BaseDriver & PutBoolean(const Standard_Boolean aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,PutBoolean,aValue) };
Storage_BaseDriver & PutReal(const Standard_Real aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,PutReal,aValue) };
Storage_BaseDriver & PutShortReal(const Standard_ShortReal aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,PutShortReal,aValue) };
Storage_BaseDriver & GetReference(Standard_Integer & aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,GetReference,aValue) };
Storage_BaseDriver & GetCharacter(Standard_Character & aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,GetCharacter,aValue) };
Storage_BaseDriver & GetExtCharacter(Standard_ExtCharacter & aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,GetExtCharacter,aValue) };
Storage_BaseDriver & GetInteger(Standard_Integer & aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,GetInteger,aValue) };
Storage_BaseDriver & GetBoolean(Standard_Boolean & aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,GetBoolean,aValue) };
Storage_BaseDriver & GetReal(Standard_Real & aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,GetReal,aValue) };
Storage_BaseDriver & GetShortReal(Standard_ShortReal & aValue) override { PYBIND11_OVERLOAD_PURE(Storage_BaseDriver &,Storage_BaseDriver,GetShortReal,aValue) };
void ReadInfo(Standard_Integer & nbObj,TCollection_AsciiString & dbVersion,TCollection_AsciiString & date,TCollection_AsciiString & schemaName,TCollection_AsciiString & schemaVersion,TCollection_ExtendedString & appName,TCollection_AsciiString & appVersion,TCollection_ExtendedString & objectType,NCollection_Sequence<TCollection_AsciiString> & userInfo) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,ReadInfo,nbObj,dbVersion,date,schemaName,schemaVersion,appName,appVersion,objectType,userInfo) };
void ReadCompleteInfo(std::istream & theIStream,opencascade::handle<Storage_Data> & theData) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,ReadCompleteInfo,theIStream,theData) };
void ReadTypeInformations(Standard_Integer & typeNum,TCollection_AsciiString & typeName) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,ReadTypeInformations,typeNum,typeName) };
void ReadRoot(TCollection_AsciiString & rootName,Standard_Integer & aRef,TCollection_AsciiString & aType) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,ReadRoot,rootName,aRef,aType) };
void ReadReferenceType(Standard_Integer & reference,Standard_Integer & typeNum) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,ReadReferenceType,reference,typeNum) };
void ReadPersistentObjectHeader(Standard_Integer & aRef,Standard_Integer & aType) override { PYBIND11_OVERLOAD_PURE(void,Storage_BaseDriver,ReadPersistentObjectHeader,aRef,aType) };
// protected pure virtual
// private pure virtual
};
class Py_Storage_CallBack : public Storage_CallBack{
public:
using Storage_CallBack::Storage_CallBack;
// public pure virtual
opencascade::handle<Standard_Persistent> New() const override { PYBIND11_OVERLOAD_PURE(opencascade::handle<Standard_Persistent>,Storage_CallBack,New,) };
void Add(const opencascade::handle<Standard_Persistent> & aPers,const opencascade::handle<Storage_Schema> & aSchema) const override { PYBIND11_OVERLOAD_PURE(void,Storage_CallBack,Add,aPers,aSchema) };
void Write(const opencascade::handle<Standard_Persistent> & aPers,const opencascade::handle<Storage_BaseDriver> & aDriver,const opencascade::handle<Storage_Schema> & aSchema) const override { PYBIND11_OVERLOAD_PURE(void,Storage_CallBack,Write,aPers,aDriver,aSchema) };
void Read(const opencascade::handle<Standard_Persistent> & aPers,const opencascade::handle<Storage_BaseDriver> & aDriver,const opencascade::handle<Storage_Schema> & aSchema) const override { PYBIND11_OVERLOAD_PURE(void,Storage_CallBack,Read,aPers,aDriver,aSchema) };
// protected pure virtual
// private pure virtual
};
// classes
// Class Storage from ./opencascade/Storage.hxx
klass = m.attr("Storage");
// default constructor
register_default_constructor<Storage , shared_ptr<Storage>>(m,"Storage");
// nested enums
static_cast<py::class_<Storage , shared_ptr<Storage> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("Version_s",
(TCollection_AsciiString (*)() ) static_cast<TCollection_AsciiString (*)() >(&Storage::Version),
R"#(returns the version of Storage's read/write routines)#"
)
// 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 Storage_BaseDriver from ./opencascade/Storage_BaseDriver.hxx
klass = m.attr("Storage_BaseDriver");
// nested enums
static_cast<py::class_<Storage_BaseDriver ,opencascade::handle<Storage_BaseDriver> ,Py_Storage_BaseDriver , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("Name",
(TCollection_AsciiString (Storage_BaseDriver::*)() const) static_cast<TCollection_AsciiString (Storage_BaseDriver::*)() const>(&Storage_BaseDriver::Name),
R"#(None)#"
)
.def("OpenMode",
(Storage_OpenMode (Storage_BaseDriver::*)() const) static_cast<Storage_OpenMode (Storage_BaseDriver::*)() const>(&Storage_BaseDriver::OpenMode),
R"#(None)#"
)
.def("Open",
(Storage_Error (Storage_BaseDriver::*)( const TCollection_AsciiString & , const Storage_OpenMode ) ) static_cast<Storage_Error (Storage_BaseDriver::*)( const TCollection_AsciiString & , const Storage_OpenMode ) >(&Storage_BaseDriver::Open),
R"#()#" , py::arg("aName"), py::arg("aMode")
)
.def("IsEnd",
(Standard_Boolean (Storage_BaseDriver::*)() ) static_cast<Standard_Boolean (Storage_BaseDriver::*)() >(&Storage_BaseDriver::IsEnd),
R"#(returns True if we are at end of the stream)#"
)
.def("Tell",
(Storage_Position (Storage_BaseDriver::*)() ) static_cast<Storage_Position (Storage_BaseDriver::*)() >(&Storage_BaseDriver::Tell),
R"#(return position in the file. Return -1 upon error.)#"
)
.def("BeginWriteInfoSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginWriteInfoSection),
R"#(None)#"
)
.def("WriteInfo",
(void (Storage_BaseDriver::*)( const Standard_Integer , const TCollection_AsciiString & , const TCollection_AsciiString & , const TCollection_AsciiString & , const TCollection_AsciiString & , const TCollection_ExtendedString & , const TCollection_AsciiString & , const TCollection_ExtendedString & , const NCollection_Sequence<TCollection_AsciiString> & ) ) static_cast<void (Storage_BaseDriver::*)( const Standard_Integer , const TCollection_AsciiString & , const TCollection_AsciiString & , const TCollection_AsciiString & , const TCollection_AsciiString & , const TCollection_ExtendedString & , const TCollection_AsciiString & , const TCollection_ExtendedString & , const NCollection_Sequence<TCollection_AsciiString> & ) >(&Storage_BaseDriver::WriteInfo),
R"#(None)#" , py::arg("nbObj"), py::arg("dbVersion"), py::arg("date"), py::arg("schemaName"), py::arg("schemaVersion"), py::arg("appName"), py::arg("appVersion"), py::arg("objectType"), py::arg("userInfo")
)
.def("EndWriteInfoSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndWriteInfoSection),
R"#(None)#"
)
.def("BeginReadInfoSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginReadInfoSection),
R"#(None)#"
)
.def("EndReadInfoSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndReadInfoSection),
R"#(None)#"
)
.def("BeginWriteCommentSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginWriteCommentSection),
R"#(None)#"
)
.def("WriteComment",
(void (Storage_BaseDriver::*)( const NCollection_Sequence<TCollection_ExtendedString> & ) ) static_cast<void (Storage_BaseDriver::*)( const NCollection_Sequence<TCollection_ExtendedString> & ) >(&Storage_BaseDriver::WriteComment),
R"#(None)#" , py::arg("userComments")
)
.def("EndWriteCommentSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndWriteCommentSection),
R"#(None)#"
)
.def("BeginReadCommentSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginReadCommentSection),
R"#(None)#"
)
.def("ReadComment",
(void (Storage_BaseDriver::*)( NCollection_Sequence<TCollection_ExtendedString> & ) ) static_cast<void (Storage_BaseDriver::*)( NCollection_Sequence<TCollection_ExtendedString> & ) >(&Storage_BaseDriver::ReadComment),
R"#(None)#" , py::arg("userComments")
)
.def("EndReadCommentSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndReadCommentSection),
R"#(None)#"
)
.def("BeginWriteTypeSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginWriteTypeSection),
R"#(None)#"
)
.def("SetTypeSectionSize",
(void (Storage_BaseDriver::*)( const Standard_Integer ) ) static_cast<void (Storage_BaseDriver::*)( const Standard_Integer ) >(&Storage_BaseDriver::SetTypeSectionSize),
R"#(None)#" , py::arg("aSize")
)
.def("WriteTypeInformations",
(void (Storage_BaseDriver::*)( const Standard_Integer , const TCollection_AsciiString & ) ) static_cast<void (Storage_BaseDriver::*)( const Standard_Integer , const TCollection_AsciiString & ) >(&Storage_BaseDriver::WriteTypeInformations),
R"#(None)#" , py::arg("typeNum"), py::arg("typeName")
)
.def("EndWriteTypeSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndWriteTypeSection),
R"#(None)#"
)
.def("BeginReadTypeSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginReadTypeSection),
R"#(None)#"
)
.def("TypeSectionSize",
(Standard_Integer (Storage_BaseDriver::*)() ) static_cast<Standard_Integer (Storage_BaseDriver::*)() >(&Storage_BaseDriver::TypeSectionSize),
R"#(None)#"
)
.def("EndReadTypeSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndReadTypeSection),
R"#(None)#"
)
.def("BeginWriteRootSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginWriteRootSection),
R"#(None)#"
)
.def("SetRootSectionSize",
(void (Storage_BaseDriver::*)( const Standard_Integer ) ) static_cast<void (Storage_BaseDriver::*)( const Standard_Integer ) >(&Storage_BaseDriver::SetRootSectionSize),
R"#(None)#" , py::arg("aSize")
)
.def("WriteRoot",
(void (Storage_BaseDriver::*)( const TCollection_AsciiString & , const Standard_Integer , const TCollection_AsciiString & ) ) static_cast<void (Storage_BaseDriver::*)( const TCollection_AsciiString & , const Standard_Integer , const TCollection_AsciiString & ) >(&Storage_BaseDriver::WriteRoot),
R"#(None)#" , py::arg("rootName"), py::arg("aRef"), py::arg("aType")
)
.def("EndWriteRootSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndWriteRootSection),
R"#(None)#"
)
.def("BeginReadRootSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginReadRootSection),
R"#(None)#"
)
.def("RootSectionSize",
(Standard_Integer (Storage_BaseDriver::*)() ) static_cast<Standard_Integer (Storage_BaseDriver::*)() >(&Storage_BaseDriver::RootSectionSize),
R"#(None)#"
)
.def("EndReadRootSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndReadRootSection),
R"#(None)#"
)
.def("BeginWriteRefSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginWriteRefSection),
R"#(None)#"
)
.def("SetRefSectionSize",
(void (Storage_BaseDriver::*)( const Standard_Integer ) ) static_cast<void (Storage_BaseDriver::*)( const Standard_Integer ) >(&Storage_BaseDriver::SetRefSectionSize),
R"#(None)#" , py::arg("aSize")
)
.def("WriteReferenceType",
(void (Storage_BaseDriver::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (Storage_BaseDriver::*)( const Standard_Integer , const Standard_Integer ) >(&Storage_BaseDriver::WriteReferenceType),
R"#(None)#" , py::arg("reference"), py::arg("typeNum")
)
.def("EndWriteRefSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndWriteRefSection),
R"#(None)#"
)
.def("BeginReadRefSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginReadRefSection),
R"#(None)#"
)
.def("RefSectionSize",
(Standard_Integer (Storage_BaseDriver::*)() ) static_cast<Standard_Integer (Storage_BaseDriver::*)() >(&Storage_BaseDriver::RefSectionSize),
R"#(None)#"
)
.def("EndReadRefSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndReadRefSection),
R"#(None)#"
)
.def("BeginWriteDataSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginWriteDataSection),
R"#(None)#"
)
.def("WritePersistentObjectHeader",
(void (Storage_BaseDriver::*)( const Standard_Integer , const Standard_Integer ) ) static_cast<void (Storage_BaseDriver::*)( const Standard_Integer , const Standard_Integer ) >(&Storage_BaseDriver::WritePersistentObjectHeader),
R"#(None)#" , py::arg("aRef"), py::arg("aType")
)
.def("BeginWritePersistentObjectData",
(void (Storage_BaseDriver::*)() ) static_cast<void (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginWritePersistentObjectData),
R"#(None)#"
)
.def("BeginWriteObjectData",
(void (Storage_BaseDriver::*)() ) static_cast<void (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginWriteObjectData),
R"#(None)#"
)
.def("EndWriteObjectData",
(void (Storage_BaseDriver::*)() ) static_cast<void (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndWriteObjectData),
R"#(None)#"
)
.def("EndWritePersistentObjectData",
(void (Storage_BaseDriver::*)() ) static_cast<void (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndWritePersistentObjectData),
R"#(None)#"
)
.def("EndWriteDataSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndWriteDataSection),
R"#(None)#"
)
.def("BeginReadDataSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginReadDataSection),
R"#(None)#"
)
.def("BeginReadPersistentObjectData",
(void (Storage_BaseDriver::*)() ) static_cast<void (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginReadPersistentObjectData),
R"#(None)#"
)
.def("BeginReadObjectData",
(void (Storage_BaseDriver::*)() ) static_cast<void (Storage_BaseDriver::*)() >(&Storage_BaseDriver::BeginReadObjectData),
R"#(None)#"
)
.def("EndReadObjectData",
(void (Storage_BaseDriver::*)() ) static_cast<void (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndReadObjectData),
R"#(None)#"
)
.def("EndReadPersistentObjectData",
(void (Storage_BaseDriver::*)() ) static_cast<void (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndReadPersistentObjectData),
R"#(None)#"
)
.def("EndReadDataSection",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::EndReadDataSection),
R"#(None)#"
)
.def("SkipObject",
(void (Storage_BaseDriver::*)() ) static_cast<void (Storage_BaseDriver::*)() >(&Storage_BaseDriver::SkipObject),
R"#(None)#"
)
.def("Close",
(Storage_Error (Storage_BaseDriver::*)() ) static_cast<Storage_Error (Storage_BaseDriver::*)() >(&Storage_BaseDriver::Close),
R"#(None)#"
)
.def("PutReference",
(Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_Integer ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_Integer ) >(&Storage_BaseDriver::PutReference),
R"#()#" , py::arg("aValue")
)
.def("PutCharacter",
(Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_Character ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_Character ) >(&Storage_BaseDriver::PutCharacter),
R"#(None)#" , py::arg("aValue")
)
.def("PutExtCharacter",
(Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_ExtCharacter ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_ExtCharacter ) >(&Storage_BaseDriver::PutExtCharacter),
R"#(None)#" , py::arg("aValue")
)
.def("PutInteger",
(Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_Integer ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_Integer ) >(&Storage_BaseDriver::PutInteger),
R"#(None)#" , py::arg("aValue")
)
.def("PutBoolean",
(Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_Boolean ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_Boolean ) >(&Storage_BaseDriver::PutBoolean),
R"#(None)#" , py::arg("aValue")
)
.def("PutReal",
(Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_Real ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_Real ) >(&Storage_BaseDriver::PutReal),
R"#(None)#" , py::arg("aValue")
)
.def("PutShortReal",
(Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_ShortReal ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( const Standard_ShortReal ) >(&Storage_BaseDriver::PutShortReal),
R"#(None)#" , py::arg("aValue")
)
.def("GetReference",
(Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_Integer & ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_Integer & ) >(&Storage_BaseDriver::GetReference),
R"#()#" , py::arg("aValue")
)
.def("GetCharacter",
(Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_Character & ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_Character & ) >(&Storage_BaseDriver::GetCharacter),
R"#(None)#" , py::arg("aValue")
)
.def("GetExtCharacter",
(Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_ExtCharacter & ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_ExtCharacter & ) >(&Storage_BaseDriver::GetExtCharacter),
R"#(None)#" , py::arg("aValue")
)
.def("GetInteger",
(Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_Integer & ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_Integer & ) >(&Storage_BaseDriver::GetInteger),
R"#(None)#" , py::arg("aValue")
)
.def("GetBoolean",
(Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_Boolean & ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_Boolean & ) >(&Storage_BaseDriver::GetBoolean),
R"#(None)#" , py::arg("aValue")
)
.def("GetReal",
(Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_Real & ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_Real & ) >(&Storage_BaseDriver::GetReal),
R"#(None)#" , py::arg("aValue")
)
.def("GetShortReal",
(Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_ShortReal & ) ) static_cast<Storage_BaseDriver & (Storage_BaseDriver::*)( Standard_ShortReal & ) >(&Storage_BaseDriver::GetShortReal),
R"#(None)#" , py::arg("aValue")
)
// methods using call by reference i.s.o. return
.def("ReadInfo",
[]( Storage_BaseDriver &self , TCollection_AsciiString & dbVersion,TCollection_AsciiString & date,TCollection_AsciiString & schemaName,TCollection_AsciiString & schemaVersion,TCollection_ExtendedString & appName,TCollection_AsciiString & appVersion,TCollection_ExtendedString & objectType,NCollection_Sequence<TCollection_AsciiString> & userInfo ){
Standard_Integer nbObj;
self.ReadInfo(nbObj,dbVersion,date,schemaName,schemaVersion,appName,appVersion,objectType,userInfo);
return std::make_tuple(nbObj); },
R"#(None)#" , py::arg("dbVersion"), py::arg("date"), py::arg("schemaName"), py::arg("schemaVersion"), py::arg("appName"), py::arg("appVersion"), py::arg("objectType"), py::arg("userInfo")
)
.def("ReadCompleteInfo",
[]( Storage_BaseDriver &self , std::istream & theIStream,Storage_Data& theData ){
opencascade::handle<Storage_Data> theData_ptr; theData_ptr = &theData;
self.ReadCompleteInfo(theIStream,theData_ptr);
if ( theData_ptr.get() != &theData ) copy_if_copy_constructible(theData, *theData_ptr);
return std::make_tuple(); },
R"#(None)#" , py::arg("theIStream"), py::arg("theData")
)
.def("ReadTypeInformations",
[]( Storage_BaseDriver &self , TCollection_AsciiString & typeName ){
Standard_Integer typeNum;
self.ReadTypeInformations(typeNum,typeName);
return std::make_tuple(typeNum); },
R"#(None)#" , py::arg("typeName")
)
.def("ReadRoot",
[]( Storage_BaseDriver &self , TCollection_AsciiString & rootName,TCollection_AsciiString & aType ){
Standard_Integer aRef;
self.ReadRoot(rootName,aRef,aType);
return std::make_tuple(aRef); },
R"#(None)#" , py::arg("rootName"), py::arg("aType")
)
.def("ReadReferenceType",
[]( Storage_BaseDriver &self ){
Standard_Integer reference;
Standard_Integer typeNum;
self.ReadReferenceType(reference,typeNum);
return std::make_tuple(reference,typeNum); },
R"#(None)#"
)
.def("ReadPersistentObjectHeader",
[]( Storage_BaseDriver &self ){
Standard_Integer aRef;
Standard_Integer aType;
self.ReadPersistentObjectHeader(aRef,aType);
return std::make_tuple(aRef,aType); },
R"#(None)#"
)
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Storage_BaseDriver::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_BaseDriver::get_type_descriptor),
R"#(None)#"
)
.def_static("ReadMagicNumber_s",
(TCollection_AsciiString (*)( std::istream & ) ) static_cast<TCollection_AsciiString (*)( std::istream & ) >(&Storage_BaseDriver::ReadMagicNumber),
R"#(None)#" , py::arg("theIStream")
)
// 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> & (Storage_BaseDriver::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_BaseDriver::*)() const>(&Storage_BaseDriver::DynamicType),
R"#(None)#"
)
;
// Class Storage_BucketIterator from ./opencascade/Storage_BucketOfPersistent.hxx
klass = m.attr("Storage_BucketIterator");
// nested enums
static_cast<py::class_<Storage_BucketIterator , shared_ptr<Storage_BucketIterator> >>(klass)
// constructors
.def(py::init< Storage_BucketOfPersistent * >() , py::arg("arg") )
// custom constructors
// methods
.def("Init",
(void (Storage_BucketIterator::*)( Storage_BucketOfPersistent * ) ) static_cast<void (Storage_BucketIterator::*)( Storage_BucketOfPersistent * ) >(&Storage_BucketIterator::Init),
R"#(None)#" , py::arg("arg")
)
.def("Reset",
(void (Storage_BucketIterator::*)() ) static_cast<void (Storage_BucketIterator::*)() >(&Storage_BucketIterator::Reset),
R"#(None)#"
)
.def("Value",
(Standard_Persistent * (Storage_BucketIterator::*)() const) static_cast<Standard_Persistent * (Storage_BucketIterator::*)() const>(&Storage_BucketIterator::Value),
R"#(None)#"
)
.def("More",
(Standard_Boolean (Storage_BucketIterator::*)() const) static_cast<Standard_Boolean (Storage_BucketIterator::*)() const>(&Storage_BucketIterator::More),
R"#(None)#"
)
.def("Next",
(void (Storage_BucketIterator::*)() ) static_cast<void (Storage_BucketIterator::*)() >(&Storage_BucketIterator::Next),
R"#(None)#"
)
// 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 Storage_CallBack from ./opencascade/Storage_CallBack.hxx
klass = m.attr("Storage_CallBack");
// nested enums
static_cast<py::class_<Storage_CallBack ,opencascade::handle<Storage_CallBack> ,Py_Storage_CallBack , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("New",
(opencascade::handle<Standard_Persistent> (Storage_CallBack::*)() const) static_cast<opencascade::handle<Standard_Persistent> (Storage_CallBack::*)() const>(&Storage_CallBack::New),
R"#(None)#"
)
.def("Add",
(void (Storage_CallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_Schema> & ) const) static_cast<void (Storage_CallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_Schema> & ) const>(&Storage_CallBack::Add),
R"#(None)#" , py::arg("aPers"), py::arg("aSchema")
)
.def("Write",
(void (Storage_CallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & , const opencascade::handle<Storage_Schema> & ) const) static_cast<void (Storage_CallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & , const opencascade::handle<Storage_Schema> & ) const>(&Storage_CallBack::Write),
R"#(None)#" , py::arg("aPers"), py::arg("aDriver"), py::arg("aSchema")
)
.def("Read",
(void (Storage_CallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & , const opencascade::handle<Storage_Schema> & ) const) static_cast<void (Storage_CallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & , const opencascade::handle<Storage_Schema> & ) const>(&Storage_CallBack::Read),
R"#(None)#" , py::arg("aPers"), py::arg("aDriver"), py::arg("aSchema")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Storage_CallBack::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_CallBack::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> & (Storage_CallBack::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_CallBack::*)() const>(&Storage_CallBack::DynamicType),
R"#(None)#"
)
;
// Class Storage_Data from ./opencascade/Storage_Data.hxx
klass = m.attr("Storage_Data");
// nested enums
static_cast<py::class_<Storage_Data ,opencascade::handle<Storage_Data> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("ErrorStatus",
(Storage_Error (Storage_Data::*)() const) static_cast<Storage_Error (Storage_Data::*)() const>(&Storage_Data::ErrorStatus),
R"#(Returns Storage_VSOk if - the last storage operation performed with the function Read, or - the last retrieval operation performed with the function Write by a Storage_Schema algorithm, on this set of data was successful. If the storage or retrieval operation was not performed, the returned error status indicates the reason why the operation failed. The algorithm stops its analysis at the first detected error)#"
)
.def("ClearErrorStatus",
(void (Storage_Data::*)() ) static_cast<void (Storage_Data::*)() >(&Storage_Data::ClearErrorStatus),
R"#(Clears the error status positioned either by: - the last storage operation performed with the Read function, or - the last retrieval operation performed with the Write function by a Storage_Schema algorithm, on this set of data. This error status may be read by the function ErrorStatus.)#"
)
.def("ErrorStatusExtension",
(TCollection_AsciiString (Storage_Data::*)() const) static_cast<TCollection_AsciiString (Storage_Data::*)() const>(&Storage_Data::ErrorStatusExtension),
R"#(None)#"
)
.def("CreationDate",
(TCollection_AsciiString (Storage_Data::*)() const) static_cast<TCollection_AsciiString (Storage_Data::*)() const>(&Storage_Data::CreationDate),
R"#(return the creation date)#"
)
.def("StorageVersion",
(TCollection_AsciiString (Storage_Data::*)() const) static_cast<TCollection_AsciiString (Storage_Data::*)() const>(&Storage_Data::StorageVersion),
R"#(return the Storage package version)#"
)
.def("SchemaVersion",
(TCollection_AsciiString (Storage_Data::*)() const) static_cast<TCollection_AsciiString (Storage_Data::*)() const>(&Storage_Data::SchemaVersion),
R"#(get the version of the schema)#"
)
.def("SchemaName",
(TCollection_AsciiString (Storage_Data::*)() const) static_cast<TCollection_AsciiString (Storage_Data::*)() const>(&Storage_Data::SchemaName),
R"#(get the schema's name)#"
)
.def("SetApplicationVersion",
(void (Storage_Data::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_Data::*)( const TCollection_AsciiString & ) >(&Storage_Data::SetApplicationVersion),
R"#(set the version of the application)#" , py::arg("aVersion")
)
.def("ApplicationVersion",
(TCollection_AsciiString (Storage_Data::*)() const) static_cast<TCollection_AsciiString (Storage_Data::*)() const>(&Storage_Data::ApplicationVersion),
R"#(get the version of the application)#"
)
.def("SetApplicationName",
(void (Storage_Data::*)( const TCollection_ExtendedString & ) ) static_cast<void (Storage_Data::*)( const TCollection_ExtendedString & ) >(&Storage_Data::SetApplicationName),
R"#(set the name of the application)#" , py::arg("aName")
)
.def("ApplicationName",
(TCollection_ExtendedString (Storage_Data::*)() const) static_cast<TCollection_ExtendedString (Storage_Data::*)() const>(&Storage_Data::ApplicationName),
R"#(get the name of the application)#"
)
.def("SetDataType",
(void (Storage_Data::*)( const TCollection_ExtendedString & ) ) static_cast<void (Storage_Data::*)( const TCollection_ExtendedString & ) >(&Storage_Data::SetDataType),
R"#(set the data type)#" , py::arg("aType")
)
.def("DataType",
(TCollection_ExtendedString (Storage_Data::*)() const) static_cast<TCollection_ExtendedString (Storage_Data::*)() const>(&Storage_Data::DataType),
R"#(returns data type)#"
)
.def("AddToUserInfo",
(void (Storage_Data::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_Data::*)( const TCollection_AsciiString & ) >(&Storage_Data::AddToUserInfo),
R"#(add <theUserInfo> to the user information)#" , py::arg("anInfo")
)
.def("AddToComments",
(void (Storage_Data::*)( const TCollection_ExtendedString & ) ) static_cast<void (Storage_Data::*)( const TCollection_ExtendedString & ) >(&Storage_Data::AddToComments),
R"#(add <theUserInfo> to the user information)#" , py::arg("aComment")
)
.def("NumberOfObjects",
(Standard_Integer (Storage_Data::*)() const) static_cast<Standard_Integer (Storage_Data::*)() const>(&Storage_Data::NumberOfObjects),
R"#(the number of persistent objects Return: the number of persistent objects readed)#"
)
.def("NumberOfRoots",
(Standard_Integer (Storage_Data::*)() const) static_cast<Standard_Integer (Storage_Data::*)() const>(&Storage_Data::NumberOfRoots),
R"#(Returns the number of root objects in this set of data. - When preparing a storage operation, the result is the number of roots inserted into this set of data with the function AddRoot. - When retrieving an object, the result is the number of roots stored in the read container. Use the Roots function to get these roots in a sequence.)#"
)
.def("AddRoot",
(void (Storage_Data::*)( const opencascade::handle<Standard_Persistent> & ) const) static_cast<void (Storage_Data::*)( const opencascade::handle<Standard_Persistent> & ) const>(&Storage_Data::AddRoot),
R"#(add a persistent root to write. the name of the root is a driver reference number.)#" , py::arg("anObject")
)
.def("AddRoot",
(void (Storage_Data::*)( const TCollection_AsciiString & , const opencascade::handle<Standard_Persistent> & ) const) static_cast<void (Storage_Data::*)( const TCollection_AsciiString & , const opencascade::handle<Standard_Persistent> & ) const>(&Storage_Data::AddRoot),
R"#(Adds the root anObject to this set of data. The name of the root is aName if given; if not, it will be a reference number assigned by the driver when writing the set of data into the container. When naming the roots, it is easier to retrieve objects by significant references rather than by references without any semantic values.)#" , py::arg("aName"), py::arg("anObject")
)
.def("RemoveRoot",
(void (Storage_Data::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_Data::*)( const TCollection_AsciiString & ) >(&Storage_Data::RemoveRoot),
R"#(Removes from this set of data the root object named aName. Warning Nothing is done if there is no root object whose name is aName in this set of data.)#" , py::arg("aName")
)
.def("Roots",
(opencascade::handle<Storage_HSeqOfRoot> (Storage_Data::*)() const) static_cast<opencascade::handle<Storage_HSeqOfRoot> (Storage_Data::*)() const>(&Storage_Data::Roots),
R"#(Returns the roots of this set of data in a sequence. - When preparing a storage operation, the sequence contains the roots inserted into this set of data with the function AddRoot. - When retrieving an object, the sequence contains the roots stored in the container read. - An empty sequence is returned if there is no root in this set of data.)#"
)
.def("Find",
(opencascade::handle<Storage_Root> (Storage_Data::*)( const TCollection_AsciiString & ) const) static_cast<opencascade::handle<Storage_Root> (Storage_Data::*)( const TCollection_AsciiString & ) const>(&Storage_Data::Find),
R"#(Gives the root object whose name is aName in this set of data. The returned object is a Storage_Root object, from which the object it encapsulates may be extracted. Warning A null handle is returned if there is no root object whose name is aName in this set of data.)#" , py::arg("aName")
)
.def("IsRoot",
(Standard_Boolean (Storage_Data::*)( const TCollection_AsciiString & ) const) static_cast<Standard_Boolean (Storage_Data::*)( const TCollection_AsciiString & ) const>(&Storage_Data::IsRoot),
R"#(returns Standard_True if <me> contains a root named <aName>)#" , py::arg("aName")
)
.def("NumberOfTypes",
(Standard_Integer (Storage_Data::*)() const) static_cast<Standard_Integer (Storage_Data::*)() const>(&Storage_Data::NumberOfTypes),
R"#(Returns the number of types of objects used in this set of data.)#"
)
.def("IsType",
(Standard_Boolean (Storage_Data::*)( const TCollection_AsciiString & ) const) static_cast<Standard_Boolean (Storage_Data::*)( const TCollection_AsciiString & ) const>(&Storage_Data::IsType),
R"#(Returns true if this set of data contains an object of type aName. Persistent objects from this set of data must have types which are recognized by the Storage_Schema algorithm used to store or retrieve them.)#" , py::arg("aName")
)
.def("Types",
(opencascade::handle<TColStd_HSequenceOfAsciiString> (Storage_Data::*)() const) static_cast<opencascade::handle<TColStd_HSequenceOfAsciiString> (Storage_Data::*)() const>(&Storage_Data::Types),
R"#(Gives the list of types of objects used in this set of data in a sequence.)#"
)
.def("HeaderData",
(opencascade::handle<Storage_HeaderData> (Storage_Data::*)() const) static_cast<opencascade::handle<Storage_HeaderData> (Storage_Data::*)() const>(&Storage_Data::HeaderData),
R"#(None)#"
)
.def("RootData",
(opencascade::handle<Storage_RootData> (Storage_Data::*)() const) static_cast<opencascade::handle<Storage_RootData> (Storage_Data::*)() const>(&Storage_Data::RootData),
R"#(None)#"
)
.def("TypeData",
(opencascade::handle<Storage_TypeData> (Storage_Data::*)() const) static_cast<opencascade::handle<Storage_TypeData> (Storage_Data::*)() const>(&Storage_Data::TypeData),
R"#(None)#"
)
.def("InternalData",
(opencascade::handle<Storage_InternalData> (Storage_Data::*)() const) static_cast<opencascade::handle<Storage_InternalData> (Storage_Data::*)() const>(&Storage_Data::InternalData),
R"#(None)#"
)
.def("Clear",
(void (Storage_Data::*)() const) static_cast<void (Storage_Data::*)() const>(&Storage_Data::Clear),
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 * (*)() >(&Storage_Data::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_Data::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("UserInfo",
(const TColStd_SequenceOfAsciiString & (Storage_Data::*)() const) static_cast<const TColStd_SequenceOfAsciiString & (Storage_Data::*)() const>(&Storage_Data::UserInfo),
R"#(return the user information)#"
, py::return_value_policy::reference_internal
)
.def("Comments",
(const TColStd_SequenceOfExtendedString & (Storage_Data::*)() const) static_cast<const TColStd_SequenceOfExtendedString & (Storage_Data::*)() const>(&Storage_Data::Comments),
R"#(return the user information)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Storage_Data::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_Data::*)() const>(&Storage_Data::DynamicType),
R"#(None)#"
)
;
// Class Storage_HArrayOfCallBack from ./opencascade/Storage_HArrayOfCallBack.hxx
klass = m.attr("Storage_HArrayOfCallBack");
// nested enums
static_cast<py::class_<Storage_HArrayOfCallBack ,opencascade::handle<Storage_HArrayOfCallBack> , Storage_ArrayOfCallBack , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Integer,const Standard_Integer >() , py::arg("theLower"), py::arg("theUpper") )
.def(py::init< const Standard_Integer,const Standard_Integer, const opencascade::handle<Storage_CallBack> & >() , py::arg("theLower"), py::arg("theUpper"), py::arg("theValue") )
.def(py::init< const opencascade::handle<Storage_CallBack> &,const Standard_Integer,const Standard_Integer,const bool >() , py::arg("theBegin"), py::arg("theLower"), py::arg("theUpper"), py::arg("arg") )
.def(py::init< const NCollection_Array1<opencascade::handle<Storage_CallBack>> & >() , py::arg("theOther") )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Storage_HArrayOfCallBack::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_HArrayOfCallBack::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("Array1",
(const Storage_ArrayOfCallBack & (Storage_HArrayOfCallBack::*)() const) static_cast<const Storage_ArrayOfCallBack & (Storage_HArrayOfCallBack::*)() const>(&Storage_HArrayOfCallBack::Array1),
R"#(None)#"
)
.def("ChangeArray1",
(Storage_ArrayOfCallBack & (Storage_HArrayOfCallBack::*)() ) static_cast<Storage_ArrayOfCallBack & (Storage_HArrayOfCallBack::*)() >(&Storage_HArrayOfCallBack::ChangeArray1),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Storage_HArrayOfCallBack::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_HArrayOfCallBack::*)() const>(&Storage_HArrayOfCallBack::DynamicType),
R"#(None)#"
)
;
// Class Storage_HArrayOfSchema from ./opencascade/Storage_HArrayOfSchema.hxx
klass = m.attr("Storage_HArrayOfSchema");
// nested enums
static_cast<py::class_<Storage_HArrayOfSchema ,opencascade::handle<Storage_HArrayOfSchema> , Storage_ArrayOfSchema , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Integer,const Standard_Integer >() , py::arg("theLower"), py::arg("theUpper") )
.def(py::init< const Standard_Integer,const Standard_Integer, const opencascade::handle<Storage_Schema> & >() , py::arg("theLower"), py::arg("theUpper"), py::arg("theValue") )
.def(py::init< const opencascade::handle<Storage_Schema> &,const Standard_Integer,const Standard_Integer,const bool >() , py::arg("theBegin"), py::arg("theLower"), py::arg("theUpper"), py::arg("arg") )
.def(py::init< const NCollection_Array1<opencascade::handle<Storage_Schema>> & >() , py::arg("theOther") )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Storage_HArrayOfSchema::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_HArrayOfSchema::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("Array1",
(const Storage_ArrayOfSchema & (Storage_HArrayOfSchema::*)() const) static_cast<const Storage_ArrayOfSchema & (Storage_HArrayOfSchema::*)() const>(&Storage_HArrayOfSchema::Array1),
R"#(None)#"
)
.def("ChangeArray1",
(Storage_ArrayOfSchema & (Storage_HArrayOfSchema::*)() ) static_cast<Storage_ArrayOfSchema & (Storage_HArrayOfSchema::*)() >(&Storage_HArrayOfSchema::ChangeArray1),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Storage_HArrayOfSchema::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_HArrayOfSchema::*)() const>(&Storage_HArrayOfSchema::DynamicType),
R"#(None)#"
)
;
// Class Storage_HPArray from ./opencascade/Storage_HPArray.hxx
klass = m.attr("Storage_HPArray");
// nested enums
static_cast<py::class_<Storage_HPArray ,opencascade::handle<Storage_HPArray> , Storage_PArray , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const Standard_Integer,const Standard_Integer >() , py::arg("theLower"), py::arg("theUpper") )
.def(py::init< const Standard_Integer,const Standard_Integer, const opencascade::handle<Standard_Persistent> & >() , py::arg("theLower"), py::arg("theUpper"), py::arg("theValue") )
.def(py::init< const opencascade::handle<Standard_Persistent> &,const Standard_Integer,const Standard_Integer,const bool >() , py::arg("theBegin"), py::arg("theLower"), py::arg("theUpper"), py::arg("arg") )
.def(py::init< const NCollection_Array1<opencascade::handle<Standard_Persistent>> & >() , py::arg("theOther") )
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Storage_HPArray::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_HPArray::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("Array1",
(const Storage_PArray & (Storage_HPArray::*)() const) static_cast<const Storage_PArray & (Storage_HPArray::*)() const>(&Storage_HPArray::Array1),
R"#(None)#"
)
.def("ChangeArray1",
(Storage_PArray & (Storage_HPArray::*)() ) static_cast<Storage_PArray & (Storage_HPArray::*)() >(&Storage_HPArray::ChangeArray1),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Storage_HPArray::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_HPArray::*)() const>(&Storage_HPArray::DynamicType),
R"#(None)#"
)
;
// Class Storage_HSeqOfRoot from ./opencascade/Storage_HSeqOfRoot.hxx
klass = m.attr("Storage_HSeqOfRoot");
// nested enums
static_cast<py::class_<Storage_HSeqOfRoot ,opencascade::handle<Storage_HSeqOfRoot> , Storage_SeqOfRoot , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const NCollection_Sequence<opencascade::handle<Storage_Root>> & >() , py::arg("theOther") )
// custom constructors
// methods
.def("Append",
(void (Storage_HSeqOfRoot::*)( const opencascade::handle<Storage_Root> & ) ) static_cast<void (Storage_HSeqOfRoot::*)( const opencascade::handle<Storage_Root> & ) >(&Storage_HSeqOfRoot::Append),
R"#(None)#" , py::arg("theItem")
)
.def("Append",
(void (Storage_HSeqOfRoot::*)( NCollection_Sequence<opencascade::handle<Storage_Root>> & ) ) static_cast<void (Storage_HSeqOfRoot::*)( NCollection_Sequence<opencascade::handle<Storage_Root>> & ) >(&Storage_HSeqOfRoot::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 * (*)() >(&Storage_HSeqOfRoot::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_HSeqOfRoot::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 Storage_SeqOfRoot & (Storage_HSeqOfRoot::*)() const) static_cast<const Storage_SeqOfRoot & (Storage_HSeqOfRoot::*)() const>(&Storage_HSeqOfRoot::Sequence),
R"#(None)#"
)
.def("ChangeSequence",
(Storage_SeqOfRoot & (Storage_HSeqOfRoot::*)() ) static_cast<Storage_SeqOfRoot & (Storage_HSeqOfRoot::*)() >(&Storage_HSeqOfRoot::ChangeSequence),
R"#(None)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Storage_HSeqOfRoot::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_HSeqOfRoot::*)() const>(&Storage_HSeqOfRoot::DynamicType),
R"#(None)#"
)
;
// Class Storage_HeaderData from ./opencascade/Storage_HeaderData.hxx
klass = m.attr("Storage_HeaderData");
// nested enums
static_cast<py::class_<Storage_HeaderData ,opencascade::handle<Storage_HeaderData> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Read",
(Standard_Boolean (Storage_HeaderData::*)( const opencascade::handle<Storage_BaseDriver> & ) ) static_cast<Standard_Boolean (Storage_HeaderData::*)( const opencascade::handle<Storage_BaseDriver> & ) >(&Storage_HeaderData::Read),
R"#(None)#" , py::arg("theDriver")
)
.def("CreationDate",
(TCollection_AsciiString (Storage_HeaderData::*)() const) static_cast<TCollection_AsciiString (Storage_HeaderData::*)() const>(&Storage_HeaderData::CreationDate),
R"#(return the creation date)#"
)
.def("StorageVersion",
(TCollection_AsciiString (Storage_HeaderData::*)() const) static_cast<TCollection_AsciiString (Storage_HeaderData::*)() const>(&Storage_HeaderData::StorageVersion),
R"#(return the Storage package version)#"
)
.def("SchemaVersion",
(TCollection_AsciiString (Storage_HeaderData::*)() const) static_cast<TCollection_AsciiString (Storage_HeaderData::*)() const>(&Storage_HeaderData::SchemaVersion),
R"#(get the version of the schema)#"
)
.def("SchemaName",
(TCollection_AsciiString (Storage_HeaderData::*)() const) static_cast<TCollection_AsciiString (Storage_HeaderData::*)() const>(&Storage_HeaderData::SchemaName),
R"#(get the schema's name)#"
)
.def("SetApplicationVersion",
(void (Storage_HeaderData::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_HeaderData::*)( const TCollection_AsciiString & ) >(&Storage_HeaderData::SetApplicationVersion),
R"#(set the version of the application)#" , py::arg("aVersion")
)
.def("ApplicationVersion",
(TCollection_AsciiString (Storage_HeaderData::*)() const) static_cast<TCollection_AsciiString (Storage_HeaderData::*)() const>(&Storage_HeaderData::ApplicationVersion),
R"#(get the version of the application)#"
)
.def("SetApplicationName",
(void (Storage_HeaderData::*)( const TCollection_ExtendedString & ) ) static_cast<void (Storage_HeaderData::*)( const TCollection_ExtendedString & ) >(&Storage_HeaderData::SetApplicationName),
R"#(set the name of the application)#" , py::arg("aName")
)
.def("ApplicationName",
(TCollection_ExtendedString (Storage_HeaderData::*)() const) static_cast<TCollection_ExtendedString (Storage_HeaderData::*)() const>(&Storage_HeaderData::ApplicationName),
R"#(get the name of the application)#"
)
.def("SetDataType",
(void (Storage_HeaderData::*)( const TCollection_ExtendedString & ) ) static_cast<void (Storage_HeaderData::*)( const TCollection_ExtendedString & ) >(&Storage_HeaderData::SetDataType),
R"#(set the data type)#" , py::arg("aType")
)
.def("DataType",
(TCollection_ExtendedString (Storage_HeaderData::*)() const) static_cast<TCollection_ExtendedString (Storage_HeaderData::*)() const>(&Storage_HeaderData::DataType),
R"#(returns data type)#"
)
.def("AddToUserInfo",
(void (Storage_HeaderData::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_HeaderData::*)( const TCollection_AsciiString & ) >(&Storage_HeaderData::AddToUserInfo),
R"#(add <theUserInfo> to the user information)#" , py::arg("theUserInfo")
)
.def("AddToComments",
(void (Storage_HeaderData::*)( const TCollection_ExtendedString & ) ) static_cast<void (Storage_HeaderData::*)( const TCollection_ExtendedString & ) >(&Storage_HeaderData::AddToComments),
R"#(add <theUserInfo> to the user information)#" , py::arg("aComment")
)
.def("NumberOfObjects",
(Standard_Integer (Storage_HeaderData::*)() const) static_cast<Standard_Integer (Storage_HeaderData::*)() const>(&Storage_HeaderData::NumberOfObjects),
R"#(the number of persistent objects Return: the number of persistent objects readed)#"
)
.def("ErrorStatus",
(Storage_Error (Storage_HeaderData::*)() const) static_cast<Storage_Error (Storage_HeaderData::*)() const>(&Storage_HeaderData::ErrorStatus),
R"#(None)#"
)
.def("ErrorStatusExtension",
(TCollection_AsciiString (Storage_HeaderData::*)() const) static_cast<TCollection_AsciiString (Storage_HeaderData::*)() const>(&Storage_HeaderData::ErrorStatusExtension),
R"#(None)#"
)
.def("ClearErrorStatus",
(void (Storage_HeaderData::*)() ) static_cast<void (Storage_HeaderData::*)() >(&Storage_HeaderData::ClearErrorStatus),
R"#(None)#"
)
.def("SetNumberOfObjects",
(void (Storage_HeaderData::*)( const Standard_Integer ) ) static_cast<void (Storage_HeaderData::*)( const Standard_Integer ) >(&Storage_HeaderData::SetNumberOfObjects),
R"#(None)#" , py::arg("anObjectNumber")
)
.def("SetStorageVersion",
(void (Storage_HeaderData::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_HeaderData::*)( const TCollection_AsciiString & ) >(&Storage_HeaderData::SetStorageVersion),
R"#(None)#" , py::arg("aVersion")
)
.def("SetStorageVersion",
(void (Storage_HeaderData::*)( const Standard_Integer ) ) static_cast<void (Storage_HeaderData::*)( const Standard_Integer ) >(&Storage_HeaderData::SetStorageVersion),
R"#(None)#" , py::arg("theVersion")
)
.def("SetCreationDate",
(void (Storage_HeaderData::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_HeaderData::*)( const TCollection_AsciiString & ) >(&Storage_HeaderData::SetCreationDate),
R"#(None)#" , py::arg("aDate")
)
.def("SetSchemaVersion",
(void (Storage_HeaderData::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_HeaderData::*)( const TCollection_AsciiString & ) >(&Storage_HeaderData::SetSchemaVersion),
R"#(None)#" , py::arg("aVersion")
)
.def("SetSchemaName",
(void (Storage_HeaderData::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_HeaderData::*)( const TCollection_AsciiString & ) >(&Storage_HeaderData::SetSchemaName),
R"#(None)#" , py::arg("aName")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Storage_HeaderData::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_HeaderData::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("UserInfo",
(const TColStd_SequenceOfAsciiString & (Storage_HeaderData::*)() const) static_cast<const TColStd_SequenceOfAsciiString & (Storage_HeaderData::*)() const>(&Storage_HeaderData::UserInfo),
R"#(return the user information)#"
, py::return_value_policy::reference_internal
)
.def("Comments",
(const TColStd_SequenceOfExtendedString & (Storage_HeaderData::*)() const) static_cast<const TColStd_SequenceOfExtendedString & (Storage_HeaderData::*)() const>(&Storage_HeaderData::Comments),
R"#(return the user information)#"
, py::return_value_policy::reference_internal
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Storage_HeaderData::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_HeaderData::*)() const>(&Storage_HeaderData::DynamicType),
R"#(None)#"
)
;
// Class Storage_InternalData from ./opencascade/Storage_InternalData.hxx
klass = m.attr("Storage_InternalData");
// nested enums
static_cast<py::class_<Storage_InternalData ,opencascade::handle<Storage_InternalData> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Clear",
(void (Storage_InternalData::*)() ) static_cast<void (Storage_InternalData::*)() >(&Storage_InternalData::Clear),
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 * (*)() >(&Storage_InternalData::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_InternalData::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("ReadArray",
(opencascade::handle<Storage_HPArray> & (Storage_InternalData::*)() ) static_cast<opencascade::handle<Storage_HPArray> & (Storage_InternalData::*)() >(&Storage_InternalData::ReadArray),
R"#(None)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (Storage_InternalData::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_InternalData::*)() const>(&Storage_InternalData::DynamicType),
R"#(None)#"
)
;
// Class Storage_Root from ./opencascade/Storage_Root.hxx
klass = m.attr("Storage_Root");
// nested enums
static_cast<py::class_<Storage_Root ,opencascade::handle<Storage_Root> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const TCollection_AsciiString &,const opencascade::handle<Standard_Persistent> & >() , py::arg("theName"), py::arg("theObject") )
.def(py::init< const TCollection_AsciiString &,const Standard_Integer,const TCollection_AsciiString & >() , py::arg("theName"), py::arg("theRef"), py::arg("theType") )
// custom constructors
// methods
.def("SetName",
(void (Storage_Root::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_Root::*)( const TCollection_AsciiString & ) >(&Storage_Root::SetName),
R"#(None)#" , py::arg("theName")
)
.def("Name",
(TCollection_AsciiString (Storage_Root::*)() const) static_cast<TCollection_AsciiString (Storage_Root::*)() const>(&Storage_Root::Name),
R"#(Returns the name of this root object. The name may have been given explicitly when the root was inserted into the Storage_Data object. If not, the name is a reference number which was assigned automatically by the driver when writing the set of data into the container. When naming the roots, it is easier to retrieve objects by significant references rather than by references without any semantic values. Warning The returned string will be empty if you call this function before having named this root object, either explicitly, or when writing the set of data into the container.)#"
)
.def("SetObject",
(void (Storage_Root::*)( const opencascade::handle<Standard_Persistent> & ) ) static_cast<void (Storage_Root::*)( const opencascade::handle<Standard_Persistent> & ) >(&Storage_Root::SetObject),
R"#(None)#" , py::arg("anObject")
)
.def("Object",
(opencascade::handle<Standard_Persistent> (Storage_Root::*)() const) static_cast<opencascade::handle<Standard_Persistent> (Storage_Root::*)() const>(&Storage_Root::Object),
R"#(Returns the persistent object encapsulated by this root.)#"
)
.def("Type",
(TCollection_AsciiString (Storage_Root::*)() const) static_cast<TCollection_AsciiString (Storage_Root::*)() const>(&Storage_Root::Type),
R"#(Returns the name of this root type.)#"
)
.def("SetReference",
(void (Storage_Root::*)( const Standard_Integer ) ) static_cast<void (Storage_Root::*)( const Standard_Integer ) >(&Storage_Root::SetReference),
R"#(None)#" , py::arg("aRef")
)
.def("Reference",
(Standard_Integer (Storage_Root::*)() const) static_cast<Standard_Integer (Storage_Root::*)() const>(&Storage_Root::Reference),
R"#(None)#"
)
.def("SetType",
(void (Storage_Root::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_Root::*)( const TCollection_AsciiString & ) >(&Storage_Root::SetType),
R"#(None)#" , py::arg("aType")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Storage_Root::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_Root::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> & (Storage_Root::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_Root::*)() const>(&Storage_Root::DynamicType),
R"#(None)#"
)
;
// Class Storage_RootData from ./opencascade/Storage_RootData.hxx
klass = m.attr("Storage_RootData");
// nested enums
static_cast<py::class_<Storage_RootData ,opencascade::handle<Storage_RootData> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Read",
(Standard_Boolean (Storage_RootData::*)( const opencascade::handle<Storage_BaseDriver> & ) ) static_cast<Standard_Boolean (Storage_RootData::*)( const opencascade::handle<Storage_BaseDriver> & ) >(&Storage_RootData::Read),
R"#(None)#" , py::arg("theDriver")
)
.def("NumberOfRoots",
(Standard_Integer (Storage_RootData::*)() const) static_cast<Standard_Integer (Storage_RootData::*)() const>(&Storage_RootData::NumberOfRoots),
R"#(returns the number of roots.)#"
)
.def("AddRoot",
(void (Storage_RootData::*)( const opencascade::handle<Storage_Root> & ) ) static_cast<void (Storage_RootData::*)( const opencascade::handle<Storage_Root> & ) >(&Storage_RootData::AddRoot),
R"#(add a root to <me>. If a root with same name is present, it will be replaced by <aRoot>.)#" , py::arg("aRoot")
)
.def("Roots",
(opencascade::handle<Storage_HSeqOfRoot> (Storage_RootData::*)() const) static_cast<opencascade::handle<Storage_HSeqOfRoot> (Storage_RootData::*)() const>(&Storage_RootData::Roots),
R"#(None)#"
)
.def("Find",
(opencascade::handle<Storage_Root> (Storage_RootData::*)( const TCollection_AsciiString & ) const) static_cast<opencascade::handle<Storage_Root> (Storage_RootData::*)( const TCollection_AsciiString & ) const>(&Storage_RootData::Find),
R"#(find a root with name <aName>.)#" , py::arg("aName")
)
.def("IsRoot",
(Standard_Boolean (Storage_RootData::*)( const TCollection_AsciiString & ) const) static_cast<Standard_Boolean (Storage_RootData::*)( const TCollection_AsciiString & ) const>(&Storage_RootData::IsRoot),
R"#(returns Standard_True if <me> contains a root named <aName>)#" , py::arg("aName")
)
.def("RemoveRoot",
(void (Storage_RootData::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_RootData::*)( const TCollection_AsciiString & ) >(&Storage_RootData::RemoveRoot),
R"#(remove the root named <aName>.)#" , py::arg("aName")
)
.def("ErrorStatus",
(Storage_Error (Storage_RootData::*)() const) static_cast<Storage_Error (Storage_RootData::*)() const>(&Storage_RootData::ErrorStatus),
R"#(None)#"
)
.def("ErrorStatusExtension",
(TCollection_AsciiString (Storage_RootData::*)() const) static_cast<TCollection_AsciiString (Storage_RootData::*)() const>(&Storage_RootData::ErrorStatusExtension),
R"#(None)#"
)
.def("ClearErrorStatus",
(void (Storage_RootData::*)() ) static_cast<void (Storage_RootData::*)() >(&Storage_RootData::ClearErrorStatus),
R"#(None)#"
)
.def("UpdateRoot",
(void (Storage_RootData::*)( const TCollection_AsciiString & , const opencascade::handle<Standard_Persistent> & ) ) static_cast<void (Storage_RootData::*)( const TCollection_AsciiString & , const opencascade::handle<Standard_Persistent> & ) >(&Storage_RootData::UpdateRoot),
R"#(None)#" , py::arg("aName"), py::arg("aPers")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Storage_RootData::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_RootData::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> & (Storage_RootData::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_RootData::*)() const>(&Storage_RootData::DynamicType),
R"#(None)#"
)
;
// Class Storage_Schema from ./opencascade/Storage_Schema.hxx
klass = m.attr("Storage_Schema");
// nested enums
static_cast<py::class_<Storage_Schema ,opencascade::handle<Storage_Schema> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("SetVersion",
(void (Storage_Schema::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_Schema::*)( const TCollection_AsciiString & ) >(&Storage_Schema::SetVersion),
R"#(returns version of the schema)#" , py::arg("aVersion")
)
.def("Version",
(TCollection_AsciiString (Storage_Schema::*)() const) static_cast<TCollection_AsciiString (Storage_Schema::*)() const>(&Storage_Schema::Version),
R"#(returns the version of the schema)#"
)
.def("SetName",
(void (Storage_Schema::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_Schema::*)( const TCollection_AsciiString & ) >(&Storage_Schema::SetName),
R"#(set the schema's name)#" , py::arg("aSchemaName")
)
.def("Name",
(TCollection_AsciiString (Storage_Schema::*)() const) static_cast<TCollection_AsciiString (Storage_Schema::*)() const>(&Storage_Schema::Name),
R"#(returns the schema's name)#"
)
.def("Write",
(void (Storage_Schema::*)( const opencascade::handle<Storage_BaseDriver> & , const opencascade::handle<Storage_Data> & ) const) static_cast<void (Storage_Schema::*)( const opencascade::handle<Storage_BaseDriver> & , const opencascade::handle<Storage_Data> & ) const>(&Storage_Schema::Write),
R"#(Writes the data aggregated in aData into the container defined by the driver s. The storage operation is performed according to the data schema with which this algorithm is working. Note: aData may aggregate several root objects to be stored together.)#" , py::arg("s"), py::arg("aData")
)
.def("AddReadUnknownTypeCallBack",
(void (Storage_Schema::*)( const TCollection_AsciiString & , const opencascade::handle<Storage_CallBack> & ) ) static_cast<void (Storage_Schema::*)( const TCollection_AsciiString & , const opencascade::handle<Storage_CallBack> & ) >(&Storage_Schema::AddReadUnknownTypeCallBack),
R"#(add two functions to the callback list)#" , py::arg("aTypeName"), py::arg("aCallBack")
)
.def("RemoveReadUnknownTypeCallBack",
(void (Storage_Schema::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_Schema::*)( const TCollection_AsciiString & ) >(&Storage_Schema::RemoveReadUnknownTypeCallBack),
R"#(remove a callback for a type)#" , py::arg("aTypeName")
)
.def("InstalledCallBackList",
(opencascade::handle<TColStd_HSequenceOfAsciiString> (Storage_Schema::*)() const) static_cast<opencascade::handle<TColStd_HSequenceOfAsciiString> (Storage_Schema::*)() const>(&Storage_Schema::InstalledCallBackList),
R"#(returns a list of type name with installed callback.)#"
)
.def("ClearCallBackList",
(void (Storage_Schema::*)() ) static_cast<void (Storage_Schema::*)() >(&Storage_Schema::ClearCallBackList),
R"#(clear all callback from schema instance.)#"
)
.def("UseDefaultCallBack",
(void (Storage_Schema::*)() ) static_cast<void (Storage_Schema::*)() >(&Storage_Schema::UseDefaultCallBack),
R"#(install a callback for all unknown type. the objects with unknown types will be skipped. (look SkipObject method in BaseDriver))#"
)
.def("DontUseDefaultCallBack",
(void (Storage_Schema::*)() ) static_cast<void (Storage_Schema::*)() >(&Storage_Schema::DontUseDefaultCallBack),
R"#(tells schema to uninstall the default callback.)#"
)
.def("IsUsingDefaultCallBack",
(Standard_Boolean (Storage_Schema::*)() const) static_cast<Standard_Boolean (Storage_Schema::*)() const>(&Storage_Schema::IsUsingDefaultCallBack),
R"#(ask if the schema is using the default callback.)#"
)
.def("SetDefaultCallBack",
(void (Storage_Schema::*)( const opencascade::handle<Storage_CallBack> & ) ) static_cast<void (Storage_Schema::*)( const opencascade::handle<Storage_CallBack> & ) >(&Storage_Schema::SetDefaultCallBack),
R"#(overload the default function for build.(use to set an error message or skip an object while reading an unknown type).)#" , py::arg("f")
)
.def("ResetDefaultCallBack",
(void (Storage_Schema::*)() ) static_cast<void (Storage_Schema::*)() >(&Storage_Schema::ResetDefaultCallBack),
R"#(reset the default function defined by Storage package.)#"
)
.def("DefaultCallBack",
(opencascade::handle<Storage_CallBack> (Storage_Schema::*)() const) static_cast<opencascade::handle<Storage_CallBack> (Storage_Schema::*)() const>(&Storage_Schema::DefaultCallBack),
R"#(returns the read function used when the UseDefaultCallBack() is set.)#"
)
.def("WritePersistentObjectHeader",
(void (Storage_Schema::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & ) ) static_cast<void (Storage_Schema::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & ) >(&Storage_Schema::WritePersistentObjectHeader),
R"#(None)#" , py::arg("sp"), py::arg("theDriver")
)
.def("WritePersistentReference",
(void (Storage_Schema::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & ) ) static_cast<void (Storage_Schema::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & ) >(&Storage_Schema::WritePersistentReference),
R"#(None)#" , py::arg("sp"), py::arg("theDriver")
)
.def("AddPersistent",
(Standard_Boolean (Storage_Schema::*)( const opencascade::handle<Standard_Persistent> & , const Standard_CString ) const) static_cast<Standard_Boolean (Storage_Schema::*)( const opencascade::handle<Standard_Persistent> & , const Standard_CString ) const>(&Storage_Schema::AddPersistent),
R"#(None)#" , py::arg("sp"), py::arg("tName")
)
.def("PersistentToAdd",
(Standard_Boolean (Storage_Schema::*)( const opencascade::handle<Standard_Persistent> & ) const) static_cast<Standard_Boolean (Storage_Schema::*)( const opencascade::handle<Standard_Persistent> & ) const>(&Storage_Schema::PersistentToAdd),
R"#(None)#" , py::arg("sp")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("ICreationDate_s",
(TCollection_AsciiString (*)() ) static_cast<TCollection_AsciiString (*)() >(&Storage_Schema::ICreationDate),
R"#(return a current date string)#"
)
.def_static("CheckTypeMigration_s",
(Standard_Boolean (*)( const TCollection_AsciiString & , TCollection_AsciiString & ) ) static_cast<Standard_Boolean (*)( const TCollection_AsciiString & , TCollection_AsciiString & ) >(&Storage_Schema::CheckTypeMigration),
R"#(returns True if theType migration is identified the callback support provides a way to read a file with a incomplete schema. ex. : A file contains 3 types a, b, and c. The application's schema contains only 2 type a and b. If you try to read the file in the application, you will have an error.To bypass this problem you can give to your application's schema a callback used when the schema doesn't know how to handle this type.)#" , py::arg("theTypeName"), py::arg("theNewName")
)
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Storage_Schema::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_Schema::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> & (Storage_Schema::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_Schema::*)() const>(&Storage_Schema::DynamicType),
R"#(None)#"
)
;
// Class Storage_TypeData from ./opencascade/Storage_TypeData.hxx
klass = m.attr("Storage_TypeData");
// nested enums
static_cast<py::class_<Storage_TypeData ,opencascade::handle<Storage_TypeData> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("Read",
(Standard_Boolean (Storage_TypeData::*)( const opencascade::handle<Storage_BaseDriver> & ) ) static_cast<Standard_Boolean (Storage_TypeData::*)( const opencascade::handle<Storage_BaseDriver> & ) >(&Storage_TypeData::Read),
R"#(None)#" , py::arg("theDriver")
)
.def("NumberOfTypes",
(Standard_Integer (Storage_TypeData::*)() const) static_cast<Standard_Integer (Storage_TypeData::*)() const>(&Storage_TypeData::NumberOfTypes),
R"#(None)#"
)
.def("AddType",
(void (Storage_TypeData::*)( const TCollection_AsciiString & , const Standard_Integer ) ) static_cast<void (Storage_TypeData::*)( const TCollection_AsciiString & , const Standard_Integer ) >(&Storage_TypeData::AddType),
R"#(add a type to the list)#" , py::arg("aName"), py::arg("aTypeNum")
)
.def("Type",
(TCollection_AsciiString (Storage_TypeData::*)( const Standard_Integer ) const) static_cast<TCollection_AsciiString (Storage_TypeData::*)( const Standard_Integer ) const>(&Storage_TypeData::Type),
R"#(returns the name of the type with number <aTypeNum>)#" , py::arg("aTypeNum")
)
.def("Type",
(Standard_Integer (Storage_TypeData::*)( const TCollection_AsciiString & ) const) static_cast<Standard_Integer (Storage_TypeData::*)( const TCollection_AsciiString & ) const>(&Storage_TypeData::Type),
R"#(returns the name of the type with number <aTypeNum>)#" , py::arg("aTypeName")
)
.def("IsType",
(Standard_Boolean (Storage_TypeData::*)( const TCollection_AsciiString & ) const) static_cast<Standard_Boolean (Storage_TypeData::*)( const TCollection_AsciiString & ) const>(&Storage_TypeData::IsType),
R"#(None)#" , py::arg("aName")
)
.def("Types",
(opencascade::handle<TColStd_HSequenceOfAsciiString> (Storage_TypeData::*)() const) static_cast<opencascade::handle<TColStd_HSequenceOfAsciiString> (Storage_TypeData::*)() const>(&Storage_TypeData::Types),
R"#(None)#"
)
.def("ErrorStatus",
(Storage_Error (Storage_TypeData::*)() const) static_cast<Storage_Error (Storage_TypeData::*)() const>(&Storage_TypeData::ErrorStatus),
R"#(None)#"
)
.def("ErrorStatusExtension",
(TCollection_AsciiString (Storage_TypeData::*)() const) static_cast<TCollection_AsciiString (Storage_TypeData::*)() const>(&Storage_TypeData::ErrorStatusExtension),
R"#(None)#"
)
.def("ClearErrorStatus",
(void (Storage_TypeData::*)() ) static_cast<void (Storage_TypeData::*)() >(&Storage_TypeData::ClearErrorStatus),
R"#(None)#"
)
.def("Clear",
(void (Storage_TypeData::*)() ) static_cast<void (Storage_TypeData::*)() >(&Storage_TypeData::Clear),
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 * (*)() >(&Storage_TypeData::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_TypeData::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> & (Storage_TypeData::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_TypeData::*)() const>(&Storage_TypeData::DynamicType),
R"#(None)#"
)
;
// Class Storage_TypedCallBack from ./opencascade/Storage_TypedCallBack.hxx
klass = m.attr("Storage_TypedCallBack");
// nested enums
static_cast<py::class_<Storage_TypedCallBack ,opencascade::handle<Storage_TypedCallBack> , Standard_Transient >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const TCollection_AsciiString &,const opencascade::handle<Storage_CallBack> & >() , py::arg("aTypeName"), py::arg("aCallBack") )
// custom constructors
// methods
.def("SetType",
(void (Storage_TypedCallBack::*)( const TCollection_AsciiString & ) ) static_cast<void (Storage_TypedCallBack::*)( const TCollection_AsciiString & ) >(&Storage_TypedCallBack::SetType),
R"#(None)#" , py::arg("aType")
)
.def("Type",
(TCollection_AsciiString (Storage_TypedCallBack::*)() const) static_cast<TCollection_AsciiString (Storage_TypedCallBack::*)() const>(&Storage_TypedCallBack::Type),
R"#(None)#"
)
.def("SetCallBack",
(void (Storage_TypedCallBack::*)( const opencascade::handle<Storage_CallBack> & ) ) static_cast<void (Storage_TypedCallBack::*)( const opencascade::handle<Storage_CallBack> & ) >(&Storage_TypedCallBack::SetCallBack),
R"#(None)#" , py::arg("aCallBack")
)
.def("CallBack",
(opencascade::handle<Storage_CallBack> (Storage_TypedCallBack::*)() const) static_cast<opencascade::handle<Storage_CallBack> (Storage_TypedCallBack::*)() const>(&Storage_TypedCallBack::CallBack),
R"#(None)#"
)
.def("SetIndex",
(void (Storage_TypedCallBack::*)( const Standard_Integer ) ) static_cast<void (Storage_TypedCallBack::*)( const Standard_Integer ) >(&Storage_TypedCallBack::SetIndex),
R"#(None)#" , py::arg("anIndex")
)
.def("Index",
(Standard_Integer (Storage_TypedCallBack::*)() const) static_cast<Standard_Integer (Storage_TypedCallBack::*)() const>(&Storage_TypedCallBack::Index),
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 * (*)() >(&Storage_TypedCallBack::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_TypedCallBack::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> & (Storage_TypedCallBack::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_TypedCallBack::*)() const>(&Storage_TypedCallBack::DynamicType),
R"#(None)#"
)
;
// Class Storage_DefaultCallBack from ./opencascade/Storage_DefaultCallBack.hxx
klass = m.attr("Storage_DefaultCallBack");
// nested enums
static_cast<py::class_<Storage_DefaultCallBack ,opencascade::handle<Storage_DefaultCallBack> , Storage_CallBack >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("New",
(opencascade::handle<Standard_Persistent> (Storage_DefaultCallBack::*)() const) static_cast<opencascade::handle<Standard_Persistent> (Storage_DefaultCallBack::*)() const>(&Storage_DefaultCallBack::New),
R"#(None)#"
)
.def("Add",
(void (Storage_DefaultCallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_Schema> & ) const) static_cast<void (Storage_DefaultCallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_Schema> & ) const>(&Storage_DefaultCallBack::Add),
R"#(None)#" , py::arg("thePers"), py::arg("theSchema")
)
.def("Write",
(void (Storage_DefaultCallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & , const opencascade::handle<Storage_Schema> & ) const) static_cast<void (Storage_DefaultCallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & , const opencascade::handle<Storage_Schema> & ) const>(&Storage_DefaultCallBack::Write),
R"#(None)#" , py::arg("thePers"), py::arg("theDriver"), py::arg("theSchema")
)
.def("Read",
(void (Storage_DefaultCallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & , const opencascade::handle<Storage_Schema> & ) const) static_cast<void (Storage_DefaultCallBack::*)( const opencascade::handle<Standard_Persistent> & , const opencascade::handle<Storage_BaseDriver> & , const opencascade::handle<Storage_Schema> & ) const>(&Storage_DefaultCallBack::Read),
R"#(None)#" , py::arg("thePers"), py::arg("theDriver"), py::arg("theSchema")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&Storage_DefaultCallBack::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&Storage_DefaultCallBack::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> & (Storage_DefaultCallBack::*)() const) static_cast<const opencascade::handle<Standard_Type> & (Storage_DefaultCallBack::*)() const>(&Storage_DefaultCallBack::DynamicType),
R"#(None)#"
)
;
// functions
// ./opencascade/Storage.hxx
// ./opencascade/Storage_ArrayOfCallBack.hxx
// ./opencascade/Storage_ArrayOfSchema.hxx
// ./opencascade/Storage_BaseDriver.hxx
// ./opencascade/Storage_BucketOfPersistent.hxx
// ./opencascade/Storage_CallBack.hxx
// ./opencascade/Storage_Data.hxx
// ./opencascade/Storage_DataMapIteratorOfMapOfCallBack.hxx
// ./opencascade/Storage_DataMapIteratorOfMapOfPers.hxx
// ./opencascade/Storage_DefaultCallBack.hxx
// ./opencascade/Storage_Error.hxx
// ./opencascade/Storage_HArrayOfCallBack.hxx
// ./opencascade/Storage_HArrayOfSchema.hxx
// ./opencascade/Storage_HPArray.hxx
// ./opencascade/Storage_HSeqOfRoot.hxx
// ./opencascade/Storage_HeaderData.hxx
// ./opencascade/Storage_InternalData.hxx
// ./opencascade/Storage_Macros.hxx
// ./opencascade/Storage_MapOfCallBack.hxx
// ./opencascade/Storage_MapOfPers.hxx
// ./opencascade/Storage_OpenMode.hxx
// ./opencascade/Storage_PArray.hxx
// ./opencascade/Storage_PType.hxx
// ./opencascade/Storage_Position.hxx
// ./opencascade/Storage_Root.hxx
// ./opencascade/Storage_RootData.hxx
// ./opencascade/Storage_Schema.hxx
// ./opencascade/Storage_SeqOfRoot.hxx
// ./opencascade/Storage_SolveMode.hxx
// ./opencascade/Storage_StreamExtCharParityError.hxx
// ./opencascade/Storage_StreamFormatError.hxx
// ./opencascade/Storage_StreamModeError.hxx
// ./opencascade/Storage_StreamReadError.hxx
// ./opencascade/Storage_StreamTypeMismatchError.hxx
// ./opencascade/Storage_StreamUnknownTypeError.hxx
// ./opencascade/Storage_StreamWriteError.hxx
// ./opencascade/Storage_TypeData.hxx
// ./opencascade/Storage_TypedCallBack.hxx
// Additional functions
// operators
// register typdefs
register_template_NCollection_Array1<opencascade::handle<Storage_CallBack>>(m,"Storage_ArrayOfCallBack");
register_template_NCollection_Array1<opencascade::handle<Storage_Schema>>(m,"Storage_ArrayOfSchema");
register_template_NCollection_Array1<opencascade::handle<Standard_Persistent>>(m,"Storage_PArray");
register_template_NCollection_IndexedDataMap<TCollection_AsciiString, Standard_Integer>(m,"Storage_PType");
register_template_NCollection_Sequence<opencascade::handle<Storage_Root>>(m,"Storage_SeqOfRoot");
// exceptions
register_occ_exception<Storage_StreamFormatError>(m, "Storage_StreamFormatError");
register_occ_exception<Storage_StreamModeError>(m, "Storage_StreamModeError");
register_occ_exception<Storage_StreamReadError>(m, "Storage_StreamReadError");
register_occ_exception<Storage_StreamWriteError>(m, "Storage_StreamWriteError");
// user-defined post-inclusion per module in the body
};
// user-defined post-inclusion per module
// user-defined post
|