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
|
// 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>
#include <gp_XYZ.hxx>
#include <gp_XY.hxx>
// includes to resolve forward declarations
#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 <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 <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_Mutex.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 <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 <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>
// module includes
#include <NCollection_AccAllocator.hxx>
#include <NCollection_AliasedArray.hxx>
#include <NCollection_AlignedAllocator.hxx>
#include <NCollection_Allocator.hxx>
#include <NCollection_Array1.hxx>
#include <NCollection_Array2.hxx>
#include <NCollection_BaseAllocator.hxx>
#include <NCollection_BaseList.hxx>
#include <NCollection_BaseMap.hxx>
#include <NCollection_BasePointerVector.hxx>
#include <NCollection_BaseSequence.hxx>
#include <NCollection_Buffer.hxx>
#include <NCollection_CellFilter.hxx>
#include <NCollection_DataMap.hxx>
#include <NCollection_DefaultHasher.hxx>
#include <NCollection_DefineAlloc.hxx>
#include <NCollection_DefineHArray1.hxx>
#include <NCollection_DefineHArray2.hxx>
#include <NCollection_DefineHasher.hxx>
#include <NCollection_DefineHSequence.hxx>
#include <NCollection_DoubleMap.hxx>
#include <NCollection_DynamicArray.hxx>
#include <NCollection_EBTree.hxx>
#include <NCollection_Handle.hxx>
#include <NCollection_HArray1.hxx>
#include <NCollection_HArray2.hxx>
#include <NCollection_HeapAllocator.hxx>
#include <NCollection_HSequence.hxx>
#include <NCollection_IncAllocator.hxx>
#include <NCollection_IndexedDataMap.hxx>
#include <NCollection_IndexedIterator.hxx>
#include <NCollection_IndexedMap.hxx>
#include <NCollection_Iterator.hxx>
#include <NCollection_Lerp.hxx>
#include <NCollection_List.hxx>
#include <NCollection_ListNode.hxx>
#include <NCollection_LocalArray.hxx>
#include <NCollection_Map.hxx>
#include <NCollection_Mat3.hxx>
#include <NCollection_Mat4.hxx>
#include <NCollection_OccAllocator.hxx>
#include <NCollection_Sequence.hxx>
#include <NCollection_SparseArray.hxx>
#include <NCollection_SparseArrayBase.hxx>
#include <NCollection_StlIterator.hxx>
#include <NCollection_String.hxx>
#include <NCollection_TListIterator.hxx>
#include <NCollection_TListNode.hxx>
#include <NCollection_TypeDef.hxx>
#include <NCollection_UBTree.hxx>
#include <NCollection_UBTreeFiller.hxx>
#include <NCollection_UtfIterator.hxx>
#include <NCollection_UtfString.hxx>
#include <NCollection_Vec2.hxx>
#include <NCollection_Vec3.hxx>
#include <NCollection_Vec4.hxx>
#include <NCollection_Vector.hxx>
#include <NCollection_WinHeapAllocator.hxx>
// template related includes
// ./opencascade/NCollection_UtfIterator.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/NCollection_UtfIterator.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/NCollection_UtfIterator.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/NCollection_UtfIterator.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/NCollection_UtfString.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/NCollection_UtfString.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/NCollection_UtfString.hxx
#include "NCollection_tmpl.hxx"
// ./opencascade/NCollection_UtfString.hxx
#include "NCollection_tmpl.hxx"
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
const size_t DefaultBlockSize = 24600;
const size_t THE_DEFAULT_BLOCK_SIZE = DefaultBlockSize;
// Module definiiton
void register_NCollection(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("NCollection"));
py::object klass;
//Python trampoline classes
class Py_NCollection_SparseArrayBase : public NCollection_SparseArrayBase{
public:
using NCollection_SparseArrayBase::NCollection_SparseArrayBase;
// public pure virtual
// protected pure virtual
void createItem(Standard_Address theAddress,Standard_Address theOther) override { PYBIND11_OVERLOAD_PURE(void,NCollection_SparseArrayBase,createItem,theAddress,theOther) };
void destroyItem(Standard_Address theAddress) override { PYBIND11_OVERLOAD_PURE(void,NCollection_SparseArrayBase,destroyItem,theAddress) };
void copyItem(Standard_Address theAddress,Standard_Address theOther) override { PYBIND11_OVERLOAD_PURE(void,NCollection_SparseArrayBase,copyItem,theAddress,theOther) };
// private pure virtual
};
// classes
// Class NCollection_BaseAllocator from ./opencascade/NCollection_BaseAllocator.hxx
klass = m.attr("NCollection_BaseAllocator");
// nested enums
static_cast<py::class_<NCollection_BaseAllocator ,opencascade::handle<NCollection_BaseAllocator> , Standard_Transient >>(klass)
// constructors
// custom constructors
// methods
.def("Allocate",
(void * (NCollection_BaseAllocator::*)( const size_t ) ) static_cast<void * (NCollection_BaseAllocator::*)( const size_t ) >(&NCollection_BaseAllocator::Allocate),
R"#(None)#" , py::arg("theSize")
)
.def("AllocateOptimal",
(void * (NCollection_BaseAllocator::*)( const size_t ) ) static_cast<void * (NCollection_BaseAllocator::*)( const size_t ) >(&NCollection_BaseAllocator::AllocateOptimal),
R"#(None)#" , py::arg("theSize")
)
.def("Free",
(void (NCollection_BaseAllocator::*)( void * ) ) static_cast<void (NCollection_BaseAllocator::*)( void * ) >(&NCollection_BaseAllocator::Free),
R"#(None)#" , py::arg("theAddress")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("CommonBaseAllocator_s",
(const opencascade::handle<NCollection_BaseAllocator> & (*)() ) static_cast<const opencascade::handle<NCollection_BaseAllocator> & (*)() >(&NCollection_BaseAllocator::CommonBaseAllocator),
R"#(CommonBaseAllocator This method is designed to have the only one BaseAllocator (to avoid useless copying of collections). However one can use operator new to create more BaseAllocators, but it is injurious.)#"
)
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&NCollection_BaseAllocator::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&NCollection_BaseAllocator::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> & (NCollection_BaseAllocator::*)() const) static_cast<const opencascade::handle<Standard_Type> & (NCollection_BaseAllocator::*)() const>(&NCollection_BaseAllocator::DynamicType),
R"#(None)#"
)
;
// Class NCollection_BaseList from ./opencascade/NCollection_BaseList.hxx
klass = m.attr("NCollection_BaseList");
// nested enums
static_cast<py::class_<NCollection_BaseList , shared_ptr<NCollection_BaseList> >>(klass)
// constructors
// custom constructors
// methods
.def("Extent",
(Standard_Integer (NCollection_BaseList::*)() const) static_cast<Standard_Integer (NCollection_BaseList::*)() const>(&NCollection_BaseList::Extent),
R"#(None)#"
)
.def("IsEmpty",
(Standard_Boolean (NCollection_BaseList::*)() const) static_cast<Standard_Boolean (NCollection_BaseList::*)() const>(&NCollection_BaseList::IsEmpty),
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
.def("Allocator",
(const opencascade::handle<NCollection_BaseAllocator> & (NCollection_BaseList::*)() const) static_cast<const opencascade::handle<NCollection_BaseAllocator> & (NCollection_BaseList::*)() const>(&NCollection_BaseList::Allocator),
R"#(Returns attached allocator)#"
)
;
// Class NCollection_BaseMap from ./opencascade/NCollection_BaseMap.hxx
klass = m.attr("NCollection_BaseMap");
// nested enums
static_cast<py::class_<NCollection_BaseMap , shared_ptr_nodelete<NCollection_BaseMap> >>(klass)
// constructors
// custom constructors
// methods
.def("NbBuckets",
(Standard_Integer (NCollection_BaseMap::*)() const) static_cast<Standard_Integer (NCollection_BaseMap::*)() const>(&NCollection_BaseMap::NbBuckets),
R"#(NbBuckets)#"
)
.def("Extent",
(Standard_Integer (NCollection_BaseMap::*)() const) static_cast<Standard_Integer (NCollection_BaseMap::*)() const>(&NCollection_BaseMap::Extent),
R"#(Extent)#"
)
.def("IsEmpty",
(Standard_Boolean (NCollection_BaseMap::*)() const) static_cast<Standard_Boolean (NCollection_BaseMap::*)() const>(&NCollection_BaseMap::IsEmpty),
R"#(IsEmpty)#"
)
.def("Statistics",
(void (NCollection_BaseMap::*)( std::ostream & ) const) static_cast<void (NCollection_BaseMap::*)( std::ostream & ) const>(&NCollection_BaseMap::Statistics),
R"#(Statistics)#" , py::arg("S")
)
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("Allocator",
(const opencascade::handle<NCollection_BaseAllocator> & (NCollection_BaseMap::*)() const) static_cast<const opencascade::handle<NCollection_BaseAllocator> & (NCollection_BaseMap::*)() const>(&NCollection_BaseMap::Allocator),
R"#(Returns attached allocator)#"
)
;
// Class NCollection_BasePointerVector from ./opencascade/NCollection_BasePointerVector.hxx
klass = m.attr("NCollection_BasePointerVector");
// nested enums
static_cast<py::class_<NCollection_BasePointerVector , shared_ptr<NCollection_BasePointerVector> >>(klass)
// constructors
.def(py::init< >() )
.def(py::init< const NCollection_BasePointerVector & >() , py::arg("theOther") )
// custom constructors
// methods
.def("IsEmpty",
(bool (NCollection_BasePointerVector::*)() const) static_cast<bool (NCollection_BasePointerVector::*)() const>(&NCollection_BasePointerVector::IsEmpty),
R"#(Checks for an empty status)#"
)
.def("Size",
(size_t (NCollection_BasePointerVector::*)() const) static_cast<size_t (NCollection_BasePointerVector::*)() const>(&NCollection_BasePointerVector::Size),
R"#(Gets used size)#"
)
.def("Capacity",
(size_t (NCollection_BasePointerVector::*)() const) static_cast<size_t (NCollection_BasePointerVector::*)() const>(&NCollection_BasePointerVector::Capacity),
R"#(Gets available capacity)#"
)
.def("RemoveLast",
(void (NCollection_BasePointerVector::*)() ) static_cast<void (NCollection_BasePointerVector::*)() >(&NCollection_BasePointerVector::RemoveLast),
R"#(Erases last element, decrements size.)#"
)
.def("Clear",
(void (NCollection_BasePointerVector::*)( const bool ) ) static_cast<void (NCollection_BasePointerVector::*)( const bool ) >(&NCollection_BasePointerVector::Clear),
R"#(Resets the size)#" , py::arg("theReleaseMemory")=static_cast<const bool>(false)
)
.def("GetArray",
(void ** (NCollection_BasePointerVector::*)() const) static_cast<void ** (NCollection_BasePointerVector::*)() const>(&NCollection_BasePointerVector::GetArray),
R"#(Gets array, can be null)#"
)
.def("Value",
(void * (NCollection_BasePointerVector::*)( const size_t ) const) static_cast<void * (NCollection_BasePointerVector::*)( const size_t ) const>(&NCollection_BasePointerVector::Value),
R"#(Gets value by index, no acess validation)#" , py::arg("theInd")
)
.def("Append",
(void (NCollection_BasePointerVector::*)( const void * ) ) static_cast<void (NCollection_BasePointerVector::*)( const void * ) >(&NCollection_BasePointerVector::Append),
R"#(Inserts new element at the end, increase size, if capacity is not enough, call resize.)#" , py::arg("thePnt")
)
.def("SetValue",
(void (NCollection_BasePointerVector::*)( const size_t , const void * ) ) static_cast<void (NCollection_BasePointerVector::*)( const size_t , const void * ) >(&NCollection_BasePointerVector::SetValue),
R"#(Updates value of existed element, If index more then size, increase size of container, in this case capacity can be updated.)#" , py::arg("theInd"), py::arg("thePnt")
)
// 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 NCollection_BaseSequence from ./opencascade/NCollection_BaseSequence.hxx
klass = m.attr("NCollection_BaseSequence");
// nested enums
static_cast<py::class_<NCollection_BaseSequence , shared_ptr_nodelete<NCollection_BaseSequence> >>(klass)
// constructors
// custom constructors
// methods
.def("IsEmpty",
(Standard_Boolean (NCollection_BaseSequence::*)() const) static_cast<Standard_Boolean (NCollection_BaseSequence::*)() const>(&NCollection_BaseSequence::IsEmpty),
R"#(None)#"
)
.def("Length",
(Standard_Integer (NCollection_BaseSequence::*)() const) static_cast<Standard_Integer (NCollection_BaseSequence::*)() const>(&NCollection_BaseSequence::Length),
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
.def("Allocator",
(const opencascade::handle<NCollection_BaseAllocator> & (NCollection_BaseSequence::*)() const) static_cast<const opencascade::handle<NCollection_BaseAllocator> & (NCollection_BaseSequence::*)() const>(&NCollection_BaseSequence::Allocator),
R"#(Returns attached allocator)#"
)
;
// Class NCollection_Buffer from ./opencascade/NCollection_Buffer.hxx
klass = m.attr("NCollection_Buffer");
// nested enums
static_cast<py::class_<NCollection_Buffer ,opencascade::handle<NCollection_Buffer> , Standard_Transient >>(klass)
// constructors
.def(py::init< const opencascade::handle<NCollection_BaseAllocator> &,const Standard_Size,Standard_Byte * >() , py::arg("theAlloc"), py::arg("theSize")=static_cast<const Standard_Size>(0), py::arg("theData")=static_cast<Standard_Byte *>(NULL) )
// custom constructors
// methods
.def("Data",
(const Standard_Byte * (NCollection_Buffer::*)() const) static_cast<const Standard_Byte * (NCollection_Buffer::*)() const>(&NCollection_Buffer::Data),
R"#(Returns buffer data)#"
)
.def("ChangeData",
(Standard_Byte * (NCollection_Buffer::*)() ) static_cast<Standard_Byte * (NCollection_Buffer::*)() >(&NCollection_Buffer::ChangeData),
R"#(Returns buffer data)#"
)
.def("IsEmpty",
(bool (NCollection_Buffer::*)() const) static_cast<bool (NCollection_Buffer::*)() const>(&NCollection_Buffer::IsEmpty),
R"#(Returns true if buffer is not allocated)#"
)
.def("Size",
(Standard_Size (NCollection_Buffer::*)() const) static_cast<Standard_Size (NCollection_Buffer::*)() const>(&NCollection_Buffer::Size),
R"#(Return buffer length in bytes.)#"
)
.def("SetAllocator",
(void (NCollection_Buffer::*)( const opencascade::handle<NCollection_BaseAllocator> & ) ) static_cast<void (NCollection_Buffer::*)( const opencascade::handle<NCollection_BaseAllocator> & ) >(&NCollection_Buffer::SetAllocator),
R"#(Assign new buffer allocator with de-allocation of buffer.)#" , py::arg("theAlloc")
)
.def("Allocate",
(bool (NCollection_Buffer::*)( const Standard_Size ) ) static_cast<bool (NCollection_Buffer::*)( const Standard_Size ) >(&NCollection_Buffer::Allocate),
R"#(Allocate the buffer.)#" , py::arg("theSize")
)
.def("Free",
(void (NCollection_Buffer::*)() ) static_cast<void (NCollection_Buffer::*)() >(&NCollection_Buffer::Free),
R"#(De-allocate buffer.)#"
)
.def("DumpJson",
(void (NCollection_Buffer::*)( std::ostream & , Standard_Integer ) const) static_cast<void (NCollection_Buffer::*)( std::ostream & , Standard_Integer ) const>(&NCollection_Buffer::DumpJson),
R"#(Dumps the content of me into the stream)#" , py::arg("theOStream"), py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&NCollection_Buffer::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&NCollection_Buffer::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("Allocator",
(const opencascade::handle<NCollection_BaseAllocator> & (NCollection_Buffer::*)() const) static_cast<const opencascade::handle<NCollection_BaseAllocator> & (NCollection_Buffer::*)() const>(&NCollection_Buffer::Allocator),
R"#(Returns buffer allocator)#"
)
.def("DynamicType",
(const opencascade::handle<Standard_Type> & (NCollection_Buffer::*)() const) static_cast<const opencascade::handle<Standard_Type> & (NCollection_Buffer::*)() const>(&NCollection_Buffer::DynamicType),
R"#(None)#"
)
;
// Class NCollection_CellFilter_InspectorXY from ./opencascade/NCollection_CellFilter.hxx
klass = m.attr("NCollection_CellFilter_InspectorXY");
// default constructor
register_default_constructor<NCollection_CellFilter_InspectorXY , shared_ptr<NCollection_CellFilter_InspectorXY>>(m,"NCollection_CellFilter_InspectorXY");
// nested enums
klass.attr("Dimension") = py::cast(int(NCollection_CellFilter_InspectorXY::Dimension));
static_cast<py::class_<NCollection_CellFilter_InspectorXY , shared_ptr<NCollection_CellFilter_InspectorXY> >>(klass)
// constructors
// custom constructors
// methods
.def("Shift",
(NCollection_CellFilter_InspectorXY::Point (NCollection_CellFilter_InspectorXY::*)( const gp_XY & , Standard_Real ) const) static_cast<NCollection_CellFilter_InspectorXY::Point (NCollection_CellFilter_InspectorXY::*)( const gp_XY & , Standard_Real ) const>(&NCollection_CellFilter_InspectorXY::Shift),
R"#(Auxiliary method to shift point by each coordinate on given value; useful for preparing a points range for Inspect with tolerance)#" , py::arg("thePnt"), py::arg("theTol")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("Coord_s",
(Standard_Real (*)( int , const gp_XY & ) ) static_cast<Standard_Real (*)( int , const gp_XY & ) >(&NCollection_CellFilter_InspectorXY::Coord),
R"#(Access to coordinate)#" , py::arg("i"), py::arg("thePnt")
)
// 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 NCollection_CellFilter_InspectorXYZ from ./opencascade/NCollection_CellFilter.hxx
klass = m.attr("NCollection_CellFilter_InspectorXYZ");
// default constructor
register_default_constructor<NCollection_CellFilter_InspectorXYZ , shared_ptr<NCollection_CellFilter_InspectorXYZ>>(m,"NCollection_CellFilter_InspectorXYZ");
// nested enums
klass.attr("Dimension") = py::cast(int(NCollection_CellFilter_InspectorXYZ::Dimension));
static_cast<py::class_<NCollection_CellFilter_InspectorXYZ , shared_ptr<NCollection_CellFilter_InspectorXYZ> >>(klass)
// constructors
// custom constructors
// methods
.def("Shift",
(NCollection_CellFilter_InspectorXYZ::Point (NCollection_CellFilter_InspectorXYZ::*)( const gp_XYZ & , Standard_Real ) const) static_cast<NCollection_CellFilter_InspectorXYZ::Point (NCollection_CellFilter_InspectorXYZ::*)( const gp_XYZ & , Standard_Real ) const>(&NCollection_CellFilter_InspectorXYZ::Shift),
R"#(Auxiliary method to shift point by each coordinate on given value; useful for preparing a points range for Inspect with tolerance)#" , py::arg("thePnt"), py::arg("theTol")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("Coord_s",
(Standard_Real (*)( int , const gp_XYZ & ) ) static_cast<Standard_Real (*)( int , const gp_XYZ & ) >(&NCollection_CellFilter_InspectorXYZ::Coord),
R"#(Access to coordinate)#" , py::arg("i"), py::arg("thePnt")
)
// 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 NCollection_DefaultHasher<bool> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_bool");
// default constructor
register_default_constructor<NCollection_DefaultHasher<bool> , shared_ptr<NCollection_DefaultHasher<bool>>>(m,"NCollection_DefaultHasher_bool");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<bool> , shared_ptr<NCollection_DefaultHasher<bool>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<bool>::*)( const bool ) const) static_cast<size_t (NCollection_DefaultHasher<bool>::*)( const bool ) const>(&NCollection_DefaultHasher<bool>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<bool>::*)( const bool , const bool ) const) static_cast<bool (NCollection_DefaultHasher<bool>::*)( const bool , const bool ) const>(&NCollection_DefaultHasher<bool>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<char16_t> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_char16_t");
// default constructor
register_default_constructor<NCollection_DefaultHasher<char16_t> , shared_ptr<NCollection_DefaultHasher<char16_t>>>(m,"NCollection_DefaultHasher_char16_t");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<char16_t> , shared_ptr<NCollection_DefaultHasher<char16_t>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<char16_t>::*)( const char16_t ) const) static_cast<size_t (NCollection_DefaultHasher<char16_t>::*)( const char16_t ) const>(&NCollection_DefaultHasher<char16_t>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<char16_t>::*)( const char16_t , const char16_t ) const) static_cast<bool (NCollection_DefaultHasher<char16_t>::*)( const char16_t , const char16_t ) const>(&NCollection_DefaultHasher<char16_t>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<char32_t> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_char32_t");
// default constructor
register_default_constructor<NCollection_DefaultHasher<char32_t> , shared_ptr<NCollection_DefaultHasher<char32_t>>>(m,"NCollection_DefaultHasher_char32_t");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<char32_t> , shared_ptr<NCollection_DefaultHasher<char32_t>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<char32_t>::*)( const char32_t ) const) static_cast<size_t (NCollection_DefaultHasher<char32_t>::*)( const char32_t ) const>(&NCollection_DefaultHasher<char32_t>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<char32_t>::*)( const char32_t , const char32_t ) const) static_cast<bool (NCollection_DefaultHasher<char32_t>::*)( const char32_t , const char32_t ) const>(&NCollection_DefaultHasher<char32_t>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<char> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_char");
// default constructor
register_default_constructor<NCollection_DefaultHasher<char> , shared_ptr<NCollection_DefaultHasher<char>>>(m,"NCollection_DefaultHasher_char");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<char> , shared_ptr<NCollection_DefaultHasher<char>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<char>::*)( const char ) const) static_cast<size_t (NCollection_DefaultHasher<char>::*)( const char ) const>(&NCollection_DefaultHasher<char>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<char>::*)( const char , const char ) const) static_cast<bool (NCollection_DefaultHasher<char>::*)( const char , const char ) const>(&NCollection_DefaultHasher<char>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<int> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_int");
// default constructor
register_default_constructor<NCollection_DefaultHasher<int> , shared_ptr<NCollection_DefaultHasher<int>>>(m,"NCollection_DefaultHasher_int");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<int> , shared_ptr<NCollection_DefaultHasher<int>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<int>::*)( const int ) const) static_cast<size_t (NCollection_DefaultHasher<int>::*)( const int ) const>(&NCollection_DefaultHasher<int>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<int>::*)( const int , const int ) const) static_cast<bool (NCollection_DefaultHasher<int>::*)( const int , const int ) const>(&NCollection_DefaultHasher<int>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<long long> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_long_long");
// default constructor
register_default_constructor<NCollection_DefaultHasher<long long> , shared_ptr<NCollection_DefaultHasher<long long>>>(m,"NCollection_DefaultHasher_long_long");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<long long> , shared_ptr<NCollection_DefaultHasher<long long>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<long long>::*)( const long long ) const) static_cast<size_t (NCollection_DefaultHasher<long long>::*)( const long long ) const>(&NCollection_DefaultHasher<long long>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<long long>::*)( const long long , const long long ) const) static_cast<bool (NCollection_DefaultHasher<long long>::*)( const long long , const long long ) const>(&NCollection_DefaultHasher<long long>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<long> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_long");
// default constructor
register_default_constructor<NCollection_DefaultHasher<long> , shared_ptr<NCollection_DefaultHasher<long>>>(m,"NCollection_DefaultHasher_long");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<long> , shared_ptr<NCollection_DefaultHasher<long>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<long>::*)( const long ) const) static_cast<size_t (NCollection_DefaultHasher<long>::*)( const long ) const>(&NCollection_DefaultHasher<long>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<long>::*)( const long , const long ) const) static_cast<bool (NCollection_DefaultHasher<long>::*)( const long , const long ) const>(&NCollection_DefaultHasher<long>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<short> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_short");
// default constructor
register_default_constructor<NCollection_DefaultHasher<short> , shared_ptr<NCollection_DefaultHasher<short>>>(m,"NCollection_DefaultHasher_short");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<short> , shared_ptr<NCollection_DefaultHasher<short>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<short>::*)( const short ) const) static_cast<size_t (NCollection_DefaultHasher<short>::*)( const short ) const>(&NCollection_DefaultHasher<short>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<short>::*)( const short , const short ) const) static_cast<bool (NCollection_DefaultHasher<short>::*)( const short , const short ) const>(&NCollection_DefaultHasher<short>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<signed char> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_signed_char");
// default constructor
register_default_constructor<NCollection_DefaultHasher<signed char> , shared_ptr<NCollection_DefaultHasher<signed char>>>(m,"NCollection_DefaultHasher_signed_char");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<signed char> , shared_ptr<NCollection_DefaultHasher<signed char>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<signed char>::*)( const signed char ) const) static_cast<size_t (NCollection_DefaultHasher<signed char>::*)( const signed char ) const>(&NCollection_DefaultHasher<signed char>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<signed char>::*)( const signed char , const signed char ) const) static_cast<bool (NCollection_DefaultHasher<signed char>::*)( const signed char , const signed char ) const>(&NCollection_DefaultHasher<signed char>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<unsigned char> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_unsigned_char");
// default constructor
register_default_constructor<NCollection_DefaultHasher<unsigned char> , shared_ptr<NCollection_DefaultHasher<unsigned char>>>(m,"NCollection_DefaultHasher_unsigned_char");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<unsigned char> , shared_ptr<NCollection_DefaultHasher<unsigned char>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<unsigned char>::*)( const unsigned char ) const) static_cast<size_t (NCollection_DefaultHasher<unsigned char>::*)( const unsigned char ) const>(&NCollection_DefaultHasher<unsigned char>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<unsigned char>::*)( const unsigned char , const unsigned char ) const) static_cast<bool (NCollection_DefaultHasher<unsigned char>::*)( const unsigned char , const unsigned char ) const>(&NCollection_DefaultHasher<unsigned char>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<unsigned int> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_unsigned_int");
// default constructor
register_default_constructor<NCollection_DefaultHasher<unsigned int> , shared_ptr<NCollection_DefaultHasher<unsigned int>>>(m,"NCollection_DefaultHasher_unsigned_int");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<unsigned int> , shared_ptr<NCollection_DefaultHasher<unsigned int>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<unsigned int>::*)( const unsigned int ) const) static_cast<size_t (NCollection_DefaultHasher<unsigned int>::*)( const unsigned int ) const>(&NCollection_DefaultHasher<unsigned int>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<unsigned int>::*)( const unsigned int , const unsigned int ) const) static_cast<bool (NCollection_DefaultHasher<unsigned int>::*)( const unsigned int , const unsigned int ) const>(&NCollection_DefaultHasher<unsigned int>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<unsigned long long> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_unsigned_long_long");
// default constructor
register_default_constructor<NCollection_DefaultHasher<unsigned long long> , shared_ptr<NCollection_DefaultHasher<unsigned long long>>>(m,"NCollection_DefaultHasher_unsigned_long_long");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<unsigned long long> , shared_ptr<NCollection_DefaultHasher<unsigned long long>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<unsigned long long>::*)( const unsigned long long ) const) static_cast<size_t (NCollection_DefaultHasher<unsigned long long>::*)( const unsigned long long ) const>(&NCollection_DefaultHasher<unsigned long long>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<unsigned long long>::*)( const unsigned long long , const unsigned long long ) const) static_cast<bool (NCollection_DefaultHasher<unsigned long long>::*)( const unsigned long long , const unsigned long long ) const>(&NCollection_DefaultHasher<unsigned long long>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<unsigned long> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_unsigned_long");
// default constructor
register_default_constructor<NCollection_DefaultHasher<unsigned long> , shared_ptr<NCollection_DefaultHasher<unsigned long>>>(m,"NCollection_DefaultHasher_unsigned_long");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<unsigned long> , shared_ptr<NCollection_DefaultHasher<unsigned long>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<unsigned long>::*)( const unsigned long ) const) static_cast<size_t (NCollection_DefaultHasher<unsigned long>::*)( const unsigned long ) const>(&NCollection_DefaultHasher<unsigned long>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<unsigned long>::*)( const unsigned long , const unsigned long ) const) static_cast<bool (NCollection_DefaultHasher<unsigned long>::*)( const unsigned long , const unsigned long ) const>(&NCollection_DefaultHasher<unsigned long>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<unsigned short> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_unsigned_short");
// default constructor
register_default_constructor<NCollection_DefaultHasher<unsigned short> , shared_ptr<NCollection_DefaultHasher<unsigned short>>>(m,"NCollection_DefaultHasher_unsigned_short");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<unsigned short> , shared_ptr<NCollection_DefaultHasher<unsigned short>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<unsigned short>::*)( const unsigned short ) const) static_cast<size_t (NCollection_DefaultHasher<unsigned short>::*)( const unsigned short ) const>(&NCollection_DefaultHasher<unsigned short>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<unsigned short>::*)( const unsigned short , const unsigned short ) const) static_cast<bool (NCollection_DefaultHasher<unsigned short>::*)( const unsigned short , const unsigned short ) const>(&NCollection_DefaultHasher<unsigned short>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_DefaultHasher<wchar_t> from ./opencascade/NCollection_DefaultHasher.hxx
klass = m.attr("NCollection_DefaultHasher_wchar_t");
// default constructor
register_default_constructor<NCollection_DefaultHasher<wchar_t> , shared_ptr<NCollection_DefaultHasher<wchar_t>>>(m,"NCollection_DefaultHasher_wchar_t");
// nested enums
static_cast<py::class_<NCollection_DefaultHasher<wchar_t> , shared_ptr<NCollection_DefaultHasher<wchar_t>> >>(klass)
// constructors
// custom constructors
// methods
// methods using call by reference i.s.o. return
// static methods
// static methods using call by reference i.s.o. return
// operators
.def("__call__",
(size_t (NCollection_DefaultHasher<wchar_t>::*)( const wchar_t ) const) static_cast<size_t (NCollection_DefaultHasher<wchar_t>::*)( const wchar_t ) const>(&NCollection_DefaultHasher<wchar_t>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theKey")
)
.def("__call__",
(bool (NCollection_DefaultHasher<wchar_t>::*)( const wchar_t , const wchar_t ) const) static_cast<bool (NCollection_DefaultHasher<wchar_t>::*)( const wchar_t , const wchar_t ) const>(&NCollection_DefaultHasher<wchar_t>::operator()),
py::is_operator(),
R"#(None)#" , py::arg("theK1"), py::arg("theK2")
)
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// Class NCollection_SparseArrayBase from ./opencascade/NCollection_SparseArrayBase.hxx
klass = m.attr("NCollection_SparseArrayBase");
// nested enums
static_cast<py::class_<NCollection_SparseArrayBase , shared_ptr_nodelete<NCollection_SparseArrayBase> ,Py_NCollection_SparseArrayBase >>(klass)
// constructors
// custom constructors
// methods
.def("Clear",
(void (NCollection_SparseArrayBase::*)() ) static_cast<void (NCollection_SparseArrayBase::*)() >(&NCollection_SparseArrayBase::Clear),
R"#(Clears all the data)#"
)
.def("Size",
(Standard_Size (NCollection_SparseArrayBase::*)() const) static_cast<Standard_Size (NCollection_SparseArrayBase::*)() const>(&NCollection_SparseArrayBase::Size),
R"#(Returns number of currently contained items)#"
)
.def("HasValue",
(Standard_Boolean (NCollection_SparseArrayBase::*)( const Standard_Size ) const) static_cast<Standard_Boolean (NCollection_SparseArrayBase::*)( const Standard_Size ) const>(&NCollection_SparseArrayBase::HasValue),
R"#(Check whether the value at given index is set)#" , py::arg("theIndex")
)
.def("UnsetValue",
(Standard_Boolean (NCollection_SparseArrayBase::*)( const Standard_Size ) ) static_cast<Standard_Boolean (NCollection_SparseArrayBase::*)( const Standard_Size ) >(&NCollection_SparseArrayBase::UnsetValue),
R"#(Deletes the item from the array; returns True if that item was defined)#" , py::arg("theIndex")
)
// 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 NCollection_UtfStringTool from ./opencascade/NCollection_UtfString.hxx
klass = m.attr("NCollection_UtfStringTool");
// nested enums
static_cast<py::class_<NCollection_UtfStringTool , shared_ptr<NCollection_UtfStringTool> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("FromLocale",
(wchar_t * (NCollection_UtfStringTool::*)( const char * ) ) static_cast<wchar_t * (NCollection_UtfStringTool::*)( const char * ) >(&NCollection_UtfStringTool::FromLocale),
R"#(Convert the string from current locale into UNICODE (wide characters) using system APIs. Returned pointer will be released by this tool.)#" , py::arg("theString")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("ToLocale_s",
(bool (*)( const wchar_t * , char * , const Standard_Integer ) ) static_cast<bool (*)( const wchar_t * , char * , const Standard_Integer ) >(&NCollection_UtfStringTool::ToLocale),
R"#(Convert the UNICODE (wide characters) string into locale using system APIs.)#" , py::arg("theWideString"), py::arg("theBuffer"), py::arg("theSizeBytes")
)
// 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 NCollection_AccAllocator from ./opencascade/NCollection_AccAllocator.hxx
klass = m.attr("NCollection_AccAllocator");
// nested enums
static_cast<py::class_<NCollection_AccAllocator ,opencascade::handle<NCollection_AccAllocator> , NCollection_BaseAllocator >>(klass)
// constructors
.def(py::init< const size_t >() , py::arg("theBlockSize")=static_cast<const size_t>(DefaultBlockSize) )
// custom constructors
// methods
.def("Allocate",
(void * (NCollection_AccAllocator::*)( const size_t ) ) static_cast<void * (NCollection_AccAllocator::*)( const size_t ) >(&NCollection_AccAllocator::Allocate),
R"#(Allocate memory with given size)#" , py::arg("theSize")
)
.def("AllocateOptimal",
(void * (NCollection_AccAllocator::*)( const size_t ) ) static_cast<void * (NCollection_AccAllocator::*)( const size_t ) >(&NCollection_AccAllocator::AllocateOptimal),
R"#(Allocate memory with given size)#" , py::arg("theSize")
)
.def("Free",
(void (NCollection_AccAllocator::*)( void * ) ) static_cast<void (NCollection_AccAllocator::*)( void * ) >(&NCollection_AccAllocator::Free),
R"#(Free a previously allocated memory; memory is returned to the OS when all allocations in some block are freed)#" , py::arg("theAddress")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&NCollection_AccAllocator::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&NCollection_AccAllocator::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> & (NCollection_AccAllocator::*)() const) static_cast<const opencascade::handle<Standard_Type> & (NCollection_AccAllocator::*)() const>(&NCollection_AccAllocator::DynamicType),
R"#(None)#"
)
;
// Class NCollection_AlignedAllocator from ./opencascade/NCollection_AlignedAllocator.hxx
klass = m.attr("NCollection_AlignedAllocator");
// nested enums
static_cast<py::class_<NCollection_AlignedAllocator ,opencascade::handle<NCollection_AlignedAllocator> , NCollection_BaseAllocator >>(klass)
// constructors
.def(py::init< const size_t >() , py::arg("theAlignment") )
// custom constructors
// methods
.def("Allocate",
(void * (NCollection_AlignedAllocator::*)( const size_t ) ) static_cast<void * (NCollection_AlignedAllocator::*)( const size_t ) >(&NCollection_AlignedAllocator::Allocate),
R"#(Allocate memory with given size. Returns NULL on failure.)#" , py::arg("theSize")
)
.def("AllocateOptimal",
(void * (NCollection_AlignedAllocator::*)( const size_t ) ) static_cast<void * (NCollection_AlignedAllocator::*)( const size_t ) >(&NCollection_AlignedAllocator::AllocateOptimal),
R"#(Allocate memory with given size. Returns NULL on failure.)#" , py::arg("theSize")
)
.def("Free",
(void (NCollection_AlignedAllocator::*)( void * ) ) static_cast<void (NCollection_AlignedAllocator::*)( void * ) >(&NCollection_AlignedAllocator::Free),
R"#(Free a previously allocated memory.)#" , py::arg("thePtr")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&NCollection_AlignedAllocator::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&NCollection_AlignedAllocator::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> & (NCollection_AlignedAllocator::*)() const) static_cast<const opencascade::handle<Standard_Type> & (NCollection_AlignedAllocator::*)() const>(&NCollection_AlignedAllocator::DynamicType),
R"#(None)#"
)
;
// Class NCollection_HeapAllocator from ./opencascade/NCollection_HeapAllocator.hxx
klass = m.attr("NCollection_HeapAllocator");
// nested enums
static_cast<py::class_<NCollection_HeapAllocator ,opencascade::handle<NCollection_HeapAllocator> , NCollection_BaseAllocator >>(klass)
// constructors
// custom constructors
// methods
.def("Allocate",
(void * (NCollection_HeapAllocator::*)( const Standard_Size ) ) static_cast<void * (NCollection_HeapAllocator::*)( const Standard_Size ) >(&NCollection_HeapAllocator::Allocate),
R"#(None)#" , py::arg("theSize")
)
.def("AllocateOptimal",
(void * (NCollection_HeapAllocator::*)( const Standard_Size ) ) static_cast<void * (NCollection_HeapAllocator::*)( const Standard_Size ) >(&NCollection_HeapAllocator::AllocateOptimal),
R"#(None)#" , py::arg("theSize")
)
.def("Free",
(void (NCollection_HeapAllocator::*)( void * ) ) static_cast<void (NCollection_HeapAllocator::*)( void * ) >(&NCollection_HeapAllocator::Free),
R"#(None)#" , py::arg("anAddress")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("GlobalHeapAllocator_s",
(const opencascade::handle<NCollection_HeapAllocator> & (*)() ) static_cast<const opencascade::handle<NCollection_HeapAllocator> & (*)() >(&NCollection_HeapAllocator::GlobalHeapAllocator),
R"#(None)#"
)
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&NCollection_HeapAllocator::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&NCollection_HeapAllocator::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> & (NCollection_HeapAllocator::*)() const) static_cast<const opencascade::handle<Standard_Type> & (NCollection_HeapAllocator::*)() const>(&NCollection_HeapAllocator::DynamicType),
R"#(None)#"
)
;
// Class NCollection_IncAllocator from ./opencascade/NCollection_IncAllocator.hxx
klass = m.attr("NCollection_IncAllocator");
// nested enums
py::enum_<NCollection_IncAllocator::IBlockSizeLevel>(klass, "IBlockSizeLevel_e", R"#(Description ability to next growing size each 5-th new block)#")
.value("Min", NCollection_IncAllocator::IBlockSizeLevel::Min)
.value("Small", NCollection_IncAllocator::IBlockSizeLevel::Small)
.value("Medium", NCollection_IncAllocator::IBlockSizeLevel::Medium)
.value("Large", NCollection_IncAllocator::IBlockSizeLevel::Large)
.value("Max", NCollection_IncAllocator::IBlockSizeLevel::Max).export_values();
static_cast<py::class_<NCollection_IncAllocator ,opencascade::handle<NCollection_IncAllocator> , NCollection_BaseAllocator >>(klass)
// constructors
.def(py::init< const size_t >() , py::arg("theBlockSize")=static_cast<const size_t>(THE_DEFAULT_BLOCK_SIZE) )
// custom constructors
// methods
.def("SetThreadSafe",
(void (NCollection_IncAllocator::*)( const bool ) ) static_cast<void (NCollection_IncAllocator::*)( const bool ) >(&NCollection_IncAllocator::SetThreadSafe),
R"#(Setup mutex for thread-safe allocations.)#" , py::arg("theIsThreadSafe")=static_cast<const bool>(true)
)
.def("Allocate",
(void * (NCollection_IncAllocator::*)( const size_t ) ) static_cast<void * (NCollection_IncAllocator::*)( const size_t ) >(&NCollection_IncAllocator::Allocate),
R"#(Allocate memory with given size. Returns NULL on failure)#" , py::arg("size")
)
.def("AllocateOptimal",
(void * (NCollection_IncAllocator::*)( const size_t ) ) static_cast<void * (NCollection_IncAllocator::*)( const size_t ) >(&NCollection_IncAllocator::AllocateOptimal),
R"#(Allocate memory with given size. Returns NULL on failure)#" , py::arg("size")
)
.def("Free",
(void (NCollection_IncAllocator::*)( void * ) ) static_cast<void (NCollection_IncAllocator::*)( void * ) >(&NCollection_IncAllocator::Free),
R"#(Free a previously allocated memory. Does nothing)#" , py::arg("arg")
)
.def("Reset",
(void (NCollection_IncAllocator::*)( const bool ) ) static_cast<void (NCollection_IncAllocator::*)( const bool ) >(&NCollection_IncAllocator::Reset),
R"#(Re-initialize the allocator so that the next Allocate call should start allocating in the very beginning as though the allocator is just constructed. Warning: make sure that all previously allocated data are no more used in your code!)#" , py::arg("theReleaseMemory")=static_cast<const bool>(false)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&NCollection_IncAllocator::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&NCollection_IncAllocator::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> & (NCollection_IncAllocator::*)() const) static_cast<const opencascade::handle<Standard_Type> & (NCollection_IncAllocator::*)() const>(&NCollection_IncAllocator::DynamicType),
R"#(None)#"
)
;
// Class NCollection_WinHeapAllocator from ./opencascade/NCollection_WinHeapAllocator.hxx
klass = m.attr("NCollection_WinHeapAllocator");
// nested enums
static_cast<py::class_<NCollection_WinHeapAllocator ,opencascade::handle<NCollection_WinHeapAllocator> , NCollection_BaseAllocator >>(klass)
// constructors
.def(py::init< const size_t >() , py::arg("theInitSizeBytes")=static_cast<const size_t>(0x80000) )
// custom constructors
// methods
.def("Allocate",
(void * (NCollection_WinHeapAllocator::*)( const Standard_Size ) ) static_cast<void * (NCollection_WinHeapAllocator::*)( const Standard_Size ) >(&NCollection_WinHeapAllocator::Allocate),
R"#(Allocate memory)#" , py::arg("theSize")
)
.def("AllocateOptimal",
(void * (NCollection_WinHeapAllocator::*)( const Standard_Size ) ) static_cast<void * (NCollection_WinHeapAllocator::*)( const Standard_Size ) >(&NCollection_WinHeapAllocator::AllocateOptimal),
R"#(Allocate memory)#" , py::arg("theSize")
)
.def("Free",
(void (NCollection_WinHeapAllocator::*)( void * ) ) static_cast<void (NCollection_WinHeapAllocator::*)( void * ) >(&NCollection_WinHeapAllocator::Free),
R"#(Release memory)#" , py::arg("theAddress")
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
(const char * (*)() ) static_cast<const char * (*)() >(&NCollection_WinHeapAllocator::get_type_name),
R"#(None)#"
)
.def_static("get_type_descriptor_s",
(const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&NCollection_WinHeapAllocator::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> & (NCollection_WinHeapAllocator::*)() const) static_cast<const opencascade::handle<Standard_Type> & (NCollection_WinHeapAllocator::*)() const>(&NCollection_WinHeapAllocator::DynamicType),
R"#(None)#"
)
;
// functions
// ./opencascade/NCollection_AccAllocator.hxx
// ./opencascade/NCollection_AliasedArray.hxx
// ./opencascade/NCollection_AlignedAllocator.hxx
// ./opencascade/NCollection_Allocator.hxx
// ./opencascade/NCollection_Array1.hxx
// ./opencascade/NCollection_Array2.hxx
// ./opencascade/NCollection_BaseAllocator.hxx
// ./opencascade/NCollection_BaseList.hxx
// ./opencascade/NCollection_BaseMap.hxx
// ./opencascade/NCollection_BasePointerVector.hxx
// ./opencascade/NCollection_BaseSequence.hxx
// ./opencascade/NCollection_Buffer.hxx
// ./opencascade/NCollection_CellFilter.hxx
// ./opencascade/NCollection_DataMap.hxx
// ./opencascade/NCollection_DefaultHasher.hxx
// ./opencascade/NCollection_DefineAlloc.hxx
// ./opencascade/NCollection_DefineHArray1.hxx
// ./opencascade/NCollection_DefineHArray2.hxx
// ./opencascade/NCollection_DefineHSequence.hxx
// ./opencascade/NCollection_DefineHasher.hxx
// ./opencascade/NCollection_DoubleMap.hxx
// ./opencascade/NCollection_DynamicArray.hxx
// ./opencascade/NCollection_EBTree.hxx
// ./opencascade/NCollection_HArray1.hxx
// ./opencascade/NCollection_HArray2.hxx
// ./opencascade/NCollection_HSequence.hxx
// ./opencascade/NCollection_Handle.hxx
// ./opencascade/NCollection_HeapAllocator.hxx
// ./opencascade/NCollection_IncAllocator.hxx
// ./opencascade/NCollection_IndexedDataMap.hxx
// ./opencascade/NCollection_IndexedIterator.hxx
// ./opencascade/NCollection_IndexedMap.hxx
// ./opencascade/NCollection_Iterator.hxx
// ./opencascade/NCollection_Lerp.hxx
// ./opencascade/NCollection_List.hxx
// ./opencascade/NCollection_ListNode.hxx
// ./opencascade/NCollection_LocalArray.hxx
// ./opencascade/NCollection_Map.hxx
// ./opencascade/NCollection_Mat3.hxx
// ./opencascade/NCollection_Mat4.hxx
// ./opencascade/NCollection_OccAllocator.hxx
// ./opencascade/NCollection_Sequence.hxx
// ./opencascade/NCollection_SparseArray.hxx
// ./opencascade/NCollection_SparseArrayBase.hxx
// ./opencascade/NCollection_StlIterator.hxx
// ./opencascade/NCollection_String.hxx
// ./opencascade/NCollection_TListIterator.hxx
// ./opencascade/NCollection_TListNode.hxx
// ./opencascade/NCollection_TypeDef.hxx
// ./opencascade/NCollection_UBTree.hxx
// ./opencascade/NCollection_UBTreeFiller.hxx
// ./opencascade/NCollection_UtfIterator.hxx
// ./opencascade/NCollection_UtfString.hxx
// ./opencascade/NCollection_Vec2.hxx
// ./opencascade/NCollection_Vec3.hxx
// ./opencascade/NCollection_Vec4.hxx
// ./opencascade/NCollection_Vector.hxx
// ./opencascade/NCollection_WinHeapAllocator.hxx
// Additional functions
// operators
// register typdefs
register_template_NCollection_UtfIterator<Standard_Utf8Char>(m,"NCollection_Utf8Iter");
register_template_NCollection_UtfIterator<Standard_Utf16Char>(m,"NCollection_Utf16Iter");
register_template_NCollection_UtfIterator<Standard_Utf32Char>(m,"NCollection_Utf32Iter");
register_template_NCollection_UtfIterator<Standard_WideChar>(m,"NCollection_UtfWideIter");
register_template_NCollection_UtfString<Standard_Utf8Char>(m,"NCollection_Utf8String");
register_template_NCollection_UtfString<Standard_Utf16Char>(m,"NCollection_Utf16String");
register_template_NCollection_UtfString<Standard_Utf32Char>(m,"NCollection_Utf32String");
register_template_NCollection_UtfString<Standard_WideChar>(m,"NCollection_UtfWideString");
// exceptions
// user-defined post-inclusion per module in the body
};
// user-defined post-inclusion per module
// user-defined post
|