File: TopTools.cpp

package info (click to toggle)
python-ocp 7.8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,720 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (906 lines) | stat: -rw-r--r-- 45,391 bytes parent folder | download | duplicates (2)
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

// 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 <TopoDS_Shape.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>
#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 <TopTools_LocationSet.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 <TopoDS_Shape.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 <TopTools.hxx>
#include <TopTools_Array1OfListOfShape.hxx>
#include <TopTools_Array1OfShape.hxx>
#include <TopTools_Array2OfShape.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfIntegerListOfShape.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfIntegerShape.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfOrientedShapeInteger.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfOrientedShapeShape.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfShapeInteger.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfInteger.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfShapeReal.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfShapeSequenceOfShape.hxx>
#include <TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx>
#include <TopTools_DataMapOfIntegerListOfShape.hxx>
#include <TopTools_DataMapOfIntegerShape.hxx>
#include <TopTools_DataMapOfOrientedShapeInteger.hxx>
#include <TopTools_DataMapOfOrientedShapeShape.hxx>
#include <TopTools_DataMapOfShapeBox.hxx>
#include <TopTools_DataMapOfShapeInteger.hxx>
#include <TopTools_DataMapOfShapeListOfInteger.hxx>
#include <TopTools_DataMapOfShapeListOfShape.hxx>
#include <TopTools_DataMapOfShapeReal.hxx>
#include <TopTools_DataMapOfShapeSequenceOfShape.hxx>
#include <TopTools_DataMapOfShapeShape.hxx>
#include <TopTools_FormatVersion.hxx>
#include <TopTools_HArray1OfListOfShape.hxx>
#include <TopTools_HArray1OfShape.hxx>
#include <TopTools_HArray2OfShape.hxx>
#include <TopTools_HSequenceOfShape.hxx>
#include <TopTools_IndexedDataMapOfShapeAddress.hxx>
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
#include <TopTools_IndexedDataMapOfShapeReal.hxx>
#include <TopTools_IndexedDataMapOfShapeShape.hxx>
#include <TopTools_IndexedMapOfOrientedShape.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_ListOfListOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
#include <TopTools_LocationSet.hxx>
#include <TopTools_LocationSetPtr.hxx>
#include <TopTools_MapIteratorOfMapOfOrientedShape.hxx>
#include <TopTools_MapIteratorOfMapOfShape.hxx>
#include <TopTools_MapOfOrientedShape.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopTools_MutexForShapeProvider.hxx>
#include <TopTools_SequenceOfShape.hxx>
#include <TopTools_ShapeMapHasher.hxx>
#include <TopTools_ShapeSet.hxx>

// template related includes

// ./opencascade/TopTools_Array1OfListOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_Array1OfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_Array2OfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfIntegerListOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfIntegerListOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfIntegerShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfIntegerShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfOrientedShapeInteger.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfOrientedShapeInteger.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfOrientedShapeShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfOrientedShapeShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeBox.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeInteger.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeInteger.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeListOfInteger.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeListOfInteger.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeListOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeListOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeReal.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeReal.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeSequenceOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeSequenceOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_DataMapOfShapeShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_IndexedDataMapOfShapeAddress.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_IndexedDataMapOfShapeListOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_IndexedDataMapOfShapeReal.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_IndexedDataMapOfShapeShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_IndexedMapOfOrientedShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_IndexedMapOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_ListOfListOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_ListOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_MapOfOrientedShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_MapOfOrientedShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_MapOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_MapOfShape.hxx
#include "NCollection_tmpl.hxx"

// ./opencascade/TopTools_SequenceOfShape.hxx
#include "NCollection_tmpl.hxx"


// user-defined pre
#include "OCP_specific.inc"

// user-defined inclusion per module

// Module definiiton
void register_TopTools(py::module &main_module) {


py::module m = static_cast<py::module>(main_module.attr("TopTools"));
py::object klass;

//Python trampoline classes

// classes

    // Class TopTools from ./opencascade/TopTools.hxx
    klass = m.attr("TopTools");

    // default constructor
    register_default_constructor<TopTools , shared_ptr<TopTools>>(m,"TopTools");

    // nested enums

    static_cast<py::class_<TopTools , shared_ptr<TopTools>  >>(klass)
    // constructors
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("Dump_s",
                    (void (*)( const TopoDS_Shape & ,  std::ostream &  ) ) static_cast<void (*)( const TopoDS_Shape & ,  std::ostream &  ) >(&TopTools::Dump),
                    R"#(A set of Shapes. Can be dump, wrote or read. Dumps the topological structure of <Sh> on the stream <S>.)#"  , py::arg("Sh"),  py::arg("S")
          )
        .def_static("Dummy_s",
                    (void (*)( const Standard_Integer  ) ) static_cast<void (*)( const Standard_Integer  ) >(&TopTools::Dummy),
                    R"#(This is to bypass an extraction bug. It will force the inclusion of Standard_Integer.hxx itself including Standard_OStream.hxx at the correct position.)#"  , py::arg("I")
          )
    // 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 TopTools_HArray1OfListOfShape from ./opencascade/TopTools_HArray1OfListOfShape.hxx
    klass = m.attr("TopTools_HArray1OfListOfShape");


    // nested enums

    static_cast<py::class_<TopTools_HArray1OfListOfShape ,opencascade::handle<TopTools_HArray1OfListOfShape>  , TopTools_Array1OfListOfShape , 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 NCollection_List<TopoDS_Shape> & >()  , py::arg("theLower"),  py::arg("theUpper"),  py::arg("theValue") )
        .def(py::init<  const NCollection_List<TopoDS_Shape> &,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<TopTools_ListOfShape> & >()  , 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 * (*)() >(&TopTools_HArray1OfListOfShape::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&TopTools_HArray1OfListOfShape::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 TopTools_Array1OfListOfShape & (TopTools_HArray1OfListOfShape::*)() const) static_cast<const TopTools_Array1OfListOfShape & (TopTools_HArray1OfListOfShape::*)() const>(&TopTools_HArray1OfListOfShape::Array1),
             R"#(None)#"
             
         )
       .def("ChangeArray1",
             (TopTools_Array1OfListOfShape & (TopTools_HArray1OfListOfShape::*)() ) static_cast<TopTools_Array1OfListOfShape & (TopTools_HArray1OfListOfShape::*)() >(&TopTools_HArray1OfListOfShape::ChangeArray1),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (TopTools_HArray1OfListOfShape::*)() const) static_cast<const opencascade::handle<Standard_Type> & (TopTools_HArray1OfListOfShape::*)() const>(&TopTools_HArray1OfListOfShape::DynamicType),
             R"#(None)#"
             
         )
;

    // Class TopTools_HArray1OfShape from ./opencascade/TopTools_HArray1OfShape.hxx
    klass = m.attr("TopTools_HArray1OfShape");


    // nested enums

    static_cast<py::class_<TopTools_HArray1OfShape ,opencascade::handle<TopTools_HArray1OfShape>  , TopTools_Array1OfShape , 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 TopoDS_Shape & >()  , py::arg("theLower"),  py::arg("theUpper"),  py::arg("theValue") )
        .def(py::init<  const TopoDS_Shape &,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<TopoDS_Shape> & >()  , 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 * (*)() >(&TopTools_HArray1OfShape::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&TopTools_HArray1OfShape::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 TopTools_Array1OfShape & (TopTools_HArray1OfShape::*)() const) static_cast<const TopTools_Array1OfShape & (TopTools_HArray1OfShape::*)() const>(&TopTools_HArray1OfShape::Array1),
             R"#(None)#"
             
         )
       .def("ChangeArray1",
             (TopTools_Array1OfShape & (TopTools_HArray1OfShape::*)() ) static_cast<TopTools_Array1OfShape & (TopTools_HArray1OfShape::*)() >(&TopTools_HArray1OfShape::ChangeArray1),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (TopTools_HArray1OfShape::*)() const) static_cast<const opencascade::handle<Standard_Type> & (TopTools_HArray1OfShape::*)() const>(&TopTools_HArray1OfShape::DynamicType),
             R"#(None)#"
             
         )
;

    // Class TopTools_HArray2OfShape from ./opencascade/TopTools_HArray2OfShape.hxx
    klass = m.attr("TopTools_HArray2OfShape");


    // nested enums

    static_cast<py::class_<TopTools_HArray2OfShape ,opencascade::handle<TopTools_HArray2OfShape>  , TopTools_Array2OfShape , Standard_Transient >>(klass)
    // constructors
        .def(py::init< const Standard_Integer,const Standard_Integer,const Standard_Integer,const Standard_Integer >()  , py::arg("theRowLow"),  py::arg("theRowUpp"),  py::arg("theColLow"),  py::arg("theColUpp") )
        .def(py::init< const Standard_Integer,const Standard_Integer,const Standard_Integer,const Standard_Integer, const typename NCollection_Array1<TopoDS_Shape>::value_type & >()  , py::arg("theRowLow"),  py::arg("theRowUpp"),  py::arg("theColLow"),  py::arg("theColUpp"),  py::arg("theValue") )
        .def(py::init<  const NCollection_Array2<TopoDS_Shape> & >()  , 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 * (*)() >(&TopTools_HArray2OfShape::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&TopTools_HArray2OfShape::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("Array2",
             (const TopTools_Array2OfShape & (TopTools_HArray2OfShape::*)() const) static_cast<const TopTools_Array2OfShape & (TopTools_HArray2OfShape::*)() const>(&TopTools_HArray2OfShape::Array2),
             R"#(None)#"
             
         )
       .def("ChangeArray2",
             (TopTools_Array2OfShape & (TopTools_HArray2OfShape::*)() ) static_cast<TopTools_Array2OfShape & (TopTools_HArray2OfShape::*)() >(&TopTools_HArray2OfShape::ChangeArray2),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (TopTools_HArray2OfShape::*)() const) static_cast<const opencascade::handle<Standard_Type> & (TopTools_HArray2OfShape::*)() const>(&TopTools_HArray2OfShape::DynamicType),
             R"#(None)#"
             
         )
;

    // Class TopTools_HSequenceOfShape from ./opencascade/TopTools_HSequenceOfShape.hxx
    klass = m.attr("TopTools_HSequenceOfShape");


    // nested enums

    static_cast<py::class_<TopTools_HSequenceOfShape ,opencascade::handle<TopTools_HSequenceOfShape>  , TopTools_SequenceOfShape , Standard_Transient >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init<  const NCollection_Sequence<TopoDS_Shape> & >()  , py::arg("theOther") )
    // custom constructors
    // methods
        .def("Append",
             (void (TopTools_HSequenceOfShape::*)(  const TopoDS_Shape &  ) ) static_cast<void (TopTools_HSequenceOfShape::*)(  const TopoDS_Shape &  ) >(&TopTools_HSequenceOfShape::Append),
             R"#(None)#"  , py::arg("theItem")
          )
        .def("Append",
             (void (TopTools_HSequenceOfShape::*)( NCollection_Sequence<TopoDS_Shape> &  ) ) static_cast<void (TopTools_HSequenceOfShape::*)( NCollection_Sequence<TopoDS_Shape> &  ) >(&TopTools_HSequenceOfShape::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 * (*)() >(&TopTools_HSequenceOfShape::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&TopTools_HSequenceOfShape::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 TopTools_SequenceOfShape & (TopTools_HSequenceOfShape::*)() const) static_cast<const TopTools_SequenceOfShape & (TopTools_HSequenceOfShape::*)() const>(&TopTools_HSequenceOfShape::Sequence),
             R"#(None)#"
             
         )
       .def("ChangeSequence",
             (TopTools_SequenceOfShape & (TopTools_HSequenceOfShape::*)() ) static_cast<TopTools_SequenceOfShape & (TopTools_HSequenceOfShape::*)() >(&TopTools_HSequenceOfShape::ChangeSequence),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (TopTools_HSequenceOfShape::*)() const) static_cast<const opencascade::handle<Standard_Type> & (TopTools_HSequenceOfShape::*)() const>(&TopTools_HSequenceOfShape::DynamicType),
             R"#(None)#"
             
         )
;

    // Class TopTools_LocationSet from ./opencascade/TopTools_LocationSet.hxx
    klass = m.attr("TopTools_LocationSet");


    // nested enums

    static_cast<py::class_<TopTools_LocationSet , shared_ptr<TopTools_LocationSet>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Clear",
             (void (TopTools_LocationSet::*)() ) static_cast<void (TopTools_LocationSet::*)() >(&TopTools_LocationSet::Clear),
             R"#(Clears the content of the set.)#" 
          )
        .def("Add",
             (Standard_Integer (TopTools_LocationSet::*)( const TopLoc_Location &  ) ) static_cast<Standard_Integer (TopTools_LocationSet::*)( const TopLoc_Location &  ) >(&TopTools_LocationSet::Add),
             R"#(Incorporate a new Location in the set and returns its index.)#"  , py::arg("L")
          )
        .def("Location",
             (const TopLoc_Location & (TopTools_LocationSet::*)( const Standard_Integer  ) const) static_cast<const TopLoc_Location & (TopTools_LocationSet::*)( const Standard_Integer  ) const>(&TopTools_LocationSet::Location),
             R"#(Returns the location of index <I>.)#"  , py::arg("I")
          )
        .def("Index",
             (Standard_Integer (TopTools_LocationSet::*)( const TopLoc_Location &  ) const) static_cast<Standard_Integer (TopTools_LocationSet::*)( const TopLoc_Location &  ) const>(&TopTools_LocationSet::Index),
             R"#(Returns the index of <L>.)#"  , py::arg("L")
          )
        .def("Dump",
             (void (TopTools_LocationSet::*)( std::ostream &  ) const) static_cast<void (TopTools_LocationSet::*)( std::ostream &  ) const>(&TopTools_LocationSet::Dump),
             R"#(Dumps the content of me on the stream <OS>.)#"  , py::arg("OS")
          )
        .def("Write",
             (void (TopTools_LocationSet::*)( std::ostream & ,  const Message_ProgressRange &  ) const) static_cast<void (TopTools_LocationSet::*)( std::ostream & ,  const Message_ProgressRange &  ) const>(&TopTools_LocationSet::Write),
             R"#(Writes the content of me on the stream <OS> in a format that can be read back by Read.)#"  , py::arg("OS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Read",
             (void (TopTools_LocationSet::*)( std::istream & ,  const Message_ProgressRange &  ) ) static_cast<void (TopTools_LocationSet::*)( std::istream & ,  const Message_ProgressRange &  ) >(&TopTools_LocationSet::Read),
             R"#(Reads the content of me from the stream <IS>. me is first cleared.)#"  , py::arg("IS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
    // 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 TopTools_MutexForShapeProvider from ./opencascade/TopTools_MutexForShapeProvider.hxx
    klass = m.attr("TopTools_MutexForShapeProvider");


    // nested enums

    static_cast<py::class_<TopTools_MutexForShapeProvider , shared_ptr<TopTools_MutexForShapeProvider>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("CreateMutexesForSubShapes",
             (void (TopTools_MutexForShapeProvider::*)( const TopoDS_Shape & ,  const TopAbs_ShapeEnum  ) ) static_cast<void (TopTools_MutexForShapeProvider::*)( const TopoDS_Shape & ,  const TopAbs_ShapeEnum  ) >(&TopTools_MutexForShapeProvider::CreateMutexesForSubShapes),
             R"#(Creates and associates mutexes with each sub-shape of type theType in theShape.)#"  , py::arg("theShape"),  py::arg("theType")
          )
        .def("CreateMutexForShape",
             (void (TopTools_MutexForShapeProvider::*)( const TopoDS_Shape &  ) ) static_cast<void (TopTools_MutexForShapeProvider::*)( const TopoDS_Shape &  ) >(&TopTools_MutexForShapeProvider::CreateMutexForShape),
             R"#(Creates and associates mutex with theShape)#"  , py::arg("theShape")
          )
        .def("GetMutex",
             (Standard_Mutex * (TopTools_MutexForShapeProvider::*)( const TopoDS_Shape &  ) const) static_cast<Standard_Mutex * (TopTools_MutexForShapeProvider::*)( const TopoDS_Shape &  ) const>(&TopTools_MutexForShapeProvider::GetMutex),
             R"#(Returns pointer to mutex associated with theShape. In case when mutex not found returns NULL.)#"  , py::arg("theShape")
          )
        .def("RemoveAllMutexes",
             (void (TopTools_MutexForShapeProvider::*)() ) static_cast<void (TopTools_MutexForShapeProvider::*)() >(&TopTools_MutexForShapeProvider::RemoveAllMutexes),
             R"#(Removes all mutexes)#" 
          )
    // 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 TopTools_ShapeMapHasher from ./opencascade/TopTools_ShapeMapHasher.hxx
    klass = m.attr("TopTools_ShapeMapHasher");

    // default constructor
    register_default_constructor<TopTools_ShapeMapHasher , shared_ptr<TopTools_ShapeMapHasher>>(m,"TopTools_ShapeMapHasher");

    // nested enums

    static_cast<py::class_<TopTools_ShapeMapHasher , shared_ptr<TopTools_ShapeMapHasher>  >>(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 (TopTools_ShapeMapHasher::*)( const TopoDS_Shape &  ) const) static_cast<size_t (TopTools_ShapeMapHasher::*)( const TopoDS_Shape &  ) const>(&TopTools_ShapeMapHasher::operator()),
             py::is_operator(),
             R"#(None)#"  , py::arg("theShape")
          )
        .def("__call__",
             (bool (TopTools_ShapeMapHasher::*)( const TopoDS_Shape & ,  const TopoDS_Shape &  ) const) static_cast<bool (TopTools_ShapeMapHasher::*)( const TopoDS_Shape & ,  const TopoDS_Shape &  ) const>(&TopTools_ShapeMapHasher::operator()),
             py::is_operator(),
             R"#(None)#"  , py::arg("S1"),  py::arg("S2")
          )
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

    // Class TopTools_ShapeSet from ./opencascade/TopTools_ShapeSet.hxx
    klass = m.attr("TopTools_ShapeSet");


    // nested enums

    static_cast<py::class_<TopTools_ShapeSet , shared_ptr<TopTools_ShapeSet>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("SetFormatNb",
             (void (TopTools_ShapeSet::*)( const Standard_Integer  ) ) static_cast<void (TopTools_ShapeSet::*)( const Standard_Integer  ) >(&TopTools_ShapeSet::SetFormatNb),
             R"#(Sets the TopTools_FormatVersion)#"  , py::arg("theFormatNb")
          )
        .def("FormatNb",
             (Standard_Integer (TopTools_ShapeSet::*)() const) static_cast<Standard_Integer (TopTools_ShapeSet::*)() const>(&TopTools_ShapeSet::FormatNb),
             R"#(Returns the TopTools_FormatVersion)#" 
          )
        .def("Clear",
             (void (TopTools_ShapeSet::*)() ) static_cast<void (TopTools_ShapeSet::*)() >(&TopTools_ShapeSet::Clear),
             R"#(Clears the content of the set. This method can be redefined.)#" 
          )
        .def("Add",
             (Standard_Integer (TopTools_ShapeSet::*)( const TopoDS_Shape &  ) ) static_cast<Standard_Integer (TopTools_ShapeSet::*)( const TopoDS_Shape &  ) >(&TopTools_ShapeSet::Add),
             R"#(Stores <S> and its sub-shape. Returns the index of <S>. The method AddGeometry is called on each sub-shape.)#"  , py::arg("S")
          )
        .def("Shape",
             (const TopoDS_Shape & (TopTools_ShapeSet::*)( const Standard_Integer  ) const) static_cast<const TopoDS_Shape & (TopTools_ShapeSet::*)( const Standard_Integer  ) const>(&TopTools_ShapeSet::Shape),
             R"#(Returns the sub-shape of index <I>.)#"  , py::arg("I")
          )
        .def("Index",
             (Standard_Integer (TopTools_ShapeSet::*)( const TopoDS_Shape &  ) const) static_cast<Standard_Integer (TopTools_ShapeSet::*)( const TopoDS_Shape &  ) const>(&TopTools_ShapeSet::Index),
             R"#(Returns the index of <S>.)#"  , py::arg("S")
          )
        .def("DumpExtent",
             (Standard_OStream & (TopTools_ShapeSet::*)( std::ostream &  ) const) static_cast<Standard_OStream & (TopTools_ShapeSet::*)( std::ostream &  ) const>(&TopTools_ShapeSet::DumpExtent),
             R"#(Dumps the number of objects in me on the stream <OS>. (Number of shapes of each type))#"  , py::arg("OS")
          )
        .def("DumpExtent",
             (void (TopTools_ShapeSet::*)( TCollection_AsciiString &  ) const) static_cast<void (TopTools_ShapeSet::*)( TCollection_AsciiString &  ) const>(&TopTools_ShapeSet::DumpExtent),
             R"#(Dumps the number of objects in me in the string S (Number of shapes of each type))#"  , py::arg("S")
          )
        .def("Dump",
             (void (TopTools_ShapeSet::*)( std::ostream &  ) const) static_cast<void (TopTools_ShapeSet::*)( std::ostream &  ) const>(&TopTools_ShapeSet::Dump),
             R"#(Dumps the content of me on the stream <OS>.)#"  , py::arg("OS")
          )
        .def("Write",
             (void (TopTools_ShapeSet::*)( std::ostream & ,  const Message_ProgressRange &  ) ) static_cast<void (TopTools_ShapeSet::*)( std::ostream & ,  const Message_ProgressRange &  ) >(&TopTools_ShapeSet::Write),
             R"#(Writes the content of me on the stream <OS> in a format that can be read back by Read.)#"  , py::arg("OS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Read",
             (void (TopTools_ShapeSet::*)( std::istream & ,  const Message_ProgressRange &  ) ) static_cast<void (TopTools_ShapeSet::*)( std::istream & ,  const Message_ProgressRange &  ) >(&TopTools_ShapeSet::Read),
             R"#(Reads the content of me from the stream <IS>. me is first cleared.)#"  , py::arg("IS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Dump",
             (void (TopTools_ShapeSet::*)( const TopoDS_Shape & ,  std::ostream &  ) const) static_cast<void (TopTools_ShapeSet::*)( const TopoDS_Shape & ,  std::ostream &  ) const>(&TopTools_ShapeSet::Dump),
             R"#(Dumps on <OS> the shape <S>. Dumps the orientation, the index of the TShape and the index of the Location.)#"  , py::arg("S"),  py::arg("OS")
          )
        .def("Write",
             (void (TopTools_ShapeSet::*)( const TopoDS_Shape & ,  std::ostream &  ) const) static_cast<void (TopTools_ShapeSet::*)( const TopoDS_Shape & ,  std::ostream &  ) const>(&TopTools_ShapeSet::Write),
             R"#(Writes on <OS> the shape <S>. Writes the orientation, the index of the TShape and the index of the Location.)#"  , py::arg("S"),  py::arg("OS")
          )
        .def("Read",
             (void (TopTools_ShapeSet::*)( TopoDS_Shape & ,  std::istream &  ) const) static_cast<void (TopTools_ShapeSet::*)( TopoDS_Shape & ,  std::istream &  ) const>(&TopTools_ShapeSet::Read),
             R"#(Reads from <IS> a shape and returns it in S.)#"  , py::arg("S"),  py::arg("IS")
          )
        .def("AddGeometry",
             (void (TopTools_ShapeSet::*)( const TopoDS_Shape &  ) ) static_cast<void (TopTools_ShapeSet::*)( const TopoDS_Shape &  ) >(&TopTools_ShapeSet::AddGeometry),
             R"#(Stores the geometry of <S>.)#"  , py::arg("S")
          )
        .def("DumpGeometry",
             (void (TopTools_ShapeSet::*)( std::ostream &  ) const) static_cast<void (TopTools_ShapeSet::*)( std::ostream &  ) const>(&TopTools_ShapeSet::DumpGeometry),
             R"#(Dumps the geometry of me on the stream <OS>.)#"  , py::arg("OS")
          )
        .def("WriteGeometry",
             (void (TopTools_ShapeSet::*)( std::ostream & ,  const Message_ProgressRange &  ) ) static_cast<void (TopTools_ShapeSet::*)( std::ostream & ,  const Message_ProgressRange &  ) >(&TopTools_ShapeSet::WriteGeometry),
             R"#(Writes the geometry of me on the stream <OS> in a format that can be read back by Read.)#"  , py::arg("OS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("ReadGeometry",
             (void (TopTools_ShapeSet::*)( std::istream & ,  const Message_ProgressRange &  ) ) static_cast<void (TopTools_ShapeSet::*)( std::istream & ,  const Message_ProgressRange &  ) >(&TopTools_ShapeSet::ReadGeometry),
             R"#(Reads the geometry of me from the stream <IS>.)#"  , py::arg("IS"),  py::arg("theProgress")=static_cast<const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("DumpGeometry",
             (void (TopTools_ShapeSet::*)( const TopoDS_Shape & ,  std::ostream &  ) const) static_cast<void (TopTools_ShapeSet::*)( const TopoDS_Shape & ,  std::ostream &  ) const>(&TopTools_ShapeSet::DumpGeometry),
             R"#(Dumps the geometry of <S> on the stream <OS>.)#"  , py::arg("S"),  py::arg("OS")
          )
        .def("WriteGeometry",
             (void (TopTools_ShapeSet::*)( const TopoDS_Shape & ,  std::ostream &  ) const) static_cast<void (TopTools_ShapeSet::*)( const TopoDS_Shape & ,  std::ostream &  ) const>(&TopTools_ShapeSet::WriteGeometry),
             R"#(Writes the geometry of <S> on the stream <OS> in a format that can be read back by Read.)#"  , py::arg("S"),  py::arg("OS")
          )
        .def("ReadGeometry",
             (void (TopTools_ShapeSet::*)( const TopAbs_ShapeEnum ,  std::istream & ,  TopoDS_Shape &  ) ) static_cast<void (TopTools_ShapeSet::*)( const TopAbs_ShapeEnum ,  std::istream & ,  TopoDS_Shape &  ) >(&TopTools_ShapeSet::ReadGeometry),
             R"#(Reads the geometry of a shape of type <T> from the stream <IS> and returns it in <S>.)#"  , py::arg("T"),  py::arg("IS"),  py::arg("S")
          )
        .def("AddShapes",
             (void (TopTools_ShapeSet::*)( TopoDS_Shape & ,  const TopoDS_Shape &  ) ) static_cast<void (TopTools_ShapeSet::*)( TopoDS_Shape & ,  const TopoDS_Shape &  ) >(&TopTools_ShapeSet::AddShapes),
             R"#(Inserts the shape <S2> in the shape <S1>. This method must be redefined to use the correct builder.)#"  , py::arg("S1"),  py::arg("S2")
          )
        .def("Check",
             (void (TopTools_ShapeSet::*)( const TopAbs_ShapeEnum ,  TopoDS_Shape &  ) ) static_cast<void (TopTools_ShapeSet::*)( const TopAbs_ShapeEnum ,  TopoDS_Shape &  ) >(&TopTools_ShapeSet::Check),
             R"#(This method is called after each new completed shape. <T> is the type. <S> is the shape. In this class it does nothing, but it gives the opportunity in derived classes to perform extra treatment on shapes.)#"  , py::arg("T"),  py::arg("S")
          )
        .def("NbShapes",
             (Standard_Integer (TopTools_ShapeSet::*)() const) static_cast<Standard_Integer (TopTools_ShapeSet::*)() const>(&TopTools_ShapeSet::NbShapes),
             R"#(Returns number of shapes read from file.)#" 
          )
    // 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("Locations",
             (const TopTools_LocationSet & (TopTools_ShapeSet::*)() const) static_cast<const TopTools_LocationSet & (TopTools_ShapeSet::*)() const>(&TopTools_ShapeSet::Locations),
             R"#(None)#"
             
         )
       .def("ChangeLocations",
             (TopTools_LocationSet & (TopTools_ShapeSet::*)() ) static_cast<TopTools_LocationSet & (TopTools_ShapeSet::*)() >(&TopTools_ShapeSet::ChangeLocations),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
;

// functions
// ./opencascade/TopTools.hxx
// ./opencascade/TopTools_Array1OfListOfShape.hxx
// ./opencascade/TopTools_Array1OfShape.hxx
// ./opencascade/TopTools_Array2OfShape.hxx
// ./opencascade/TopTools_DataMapIteratorOfDataMapOfIntegerListOfShape.hxx
// ./opencascade/TopTools_DataMapIteratorOfDataMapOfIntegerShape.hxx
// ./opencascade/TopTools_DataMapIteratorOfDataMapOfOrientedShapeInteger.hxx
// ./opencascade/TopTools_DataMapIteratorOfDataMapOfOrientedShapeShape.hxx
// ./opencascade/TopTools_DataMapIteratorOfDataMapOfShapeInteger.hxx
// ./opencascade/TopTools_DataMapIteratorOfDataMapOfShapeListOfInteger.hxx
// ./opencascade/TopTools_DataMapIteratorOfDataMapOfShapeListOfShape.hxx
// ./opencascade/TopTools_DataMapIteratorOfDataMapOfShapeReal.hxx
// ./opencascade/TopTools_DataMapIteratorOfDataMapOfShapeSequenceOfShape.hxx
// ./opencascade/TopTools_DataMapIteratorOfDataMapOfShapeShape.hxx
// ./opencascade/TopTools_DataMapOfIntegerListOfShape.hxx
// ./opencascade/TopTools_DataMapOfIntegerShape.hxx
// ./opencascade/TopTools_DataMapOfOrientedShapeInteger.hxx
// ./opencascade/TopTools_DataMapOfOrientedShapeShape.hxx
// ./opencascade/TopTools_DataMapOfShapeBox.hxx
// ./opencascade/TopTools_DataMapOfShapeInteger.hxx
// ./opencascade/TopTools_DataMapOfShapeListOfInteger.hxx
// ./opencascade/TopTools_DataMapOfShapeListOfShape.hxx
// ./opencascade/TopTools_DataMapOfShapeReal.hxx
// ./opencascade/TopTools_DataMapOfShapeSequenceOfShape.hxx
// ./opencascade/TopTools_DataMapOfShapeShape.hxx
// ./opencascade/TopTools_FormatVersion.hxx
// ./opencascade/TopTools_HArray1OfListOfShape.hxx
// ./opencascade/TopTools_HArray1OfShape.hxx
// ./opencascade/TopTools_HArray2OfShape.hxx
// ./opencascade/TopTools_HSequenceOfShape.hxx
// ./opencascade/TopTools_IndexedDataMapOfShapeAddress.hxx
// ./opencascade/TopTools_IndexedDataMapOfShapeListOfShape.hxx
// ./opencascade/TopTools_IndexedDataMapOfShapeReal.hxx
// ./opencascade/TopTools_IndexedDataMapOfShapeShape.hxx
// ./opencascade/TopTools_IndexedMapOfOrientedShape.hxx
// ./opencascade/TopTools_IndexedMapOfShape.hxx
// ./opencascade/TopTools_ListIteratorOfListOfShape.hxx
// ./opencascade/TopTools_ListOfListOfShape.hxx
// ./opencascade/TopTools_ListOfShape.hxx
// ./opencascade/TopTools_LocationSet.hxx
// ./opencascade/TopTools_LocationSetPtr.hxx
// ./opencascade/TopTools_MapIteratorOfMapOfOrientedShape.hxx
// ./opencascade/TopTools_MapIteratorOfMapOfShape.hxx
// ./opencascade/TopTools_MapOfOrientedShape.hxx
// ./opencascade/TopTools_MapOfShape.hxx
// ./opencascade/TopTools_MutexForShapeProvider.hxx
// ./opencascade/TopTools_SequenceOfShape.hxx
// ./opencascade/TopTools_ShapeMapHasher.hxx
// ./opencascade/TopTools_ShapeSet.hxx

// Additional functions

// operators

// register typdefs
    register_template_NCollection_Array1<TopTools_ListOfShape>(m,"TopTools_Array1OfListOfShape");
    register_template_NCollection_Array1<TopoDS_Shape>(m,"TopTools_Array1OfShape");
    register_template_NCollection_Array2<TopoDS_Shape>(m,"TopTools_Array2OfShape");
    register_template_NCollection_DataMap<Standard_Integer, TopTools_ListOfShape>(m,"TopTools_DataMapOfIntegerListOfShape");
    register_template_NCollection_DataMap<Standard_Integer, TopoDS_Shape>(m,"TopTools_DataMapOfIntegerShape");
    register_template_NCollection_DataMap<TopoDS_Shape, Standard_Integer>(m,"TopTools_DataMapOfOrientedShapeInteger");
    register_template_NCollection_DataMap<TopoDS_Shape, TopoDS_Shape>(m,"TopTools_DataMapOfOrientedShapeShape");
    register_template_NCollection_DataMap<TopoDS_Shape, Bnd_Box, TopTools_ShapeMapHasher>(m,"TopTools_DataMapOfShapeBox");
    register_template_NCollection_DataMap<TopoDS_Shape, Standard_Integer, TopTools_ShapeMapHasher>(m,"TopTools_DataMapOfShapeInteger");
    register_template_NCollection_DataMap<TopoDS_Shape, TColStd_ListOfInteger, TopTools_ShapeMapHasher>(m,"TopTools_DataMapOfShapeListOfInteger");
    register_template_NCollection_DataMap<TopoDS_Shape, TopTools_ListOfShape, TopTools_ShapeMapHasher>(m,"TopTools_DataMapOfShapeListOfShape");
    register_template_NCollection_DataMap<TopoDS_Shape, Standard_Real, TopTools_ShapeMapHasher>(m,"TopTools_DataMapOfShapeReal");
    register_template_NCollection_DataMap<TopoDS_Shape, TopTools_SequenceOfShape, TopTools_ShapeMapHasher>(m,"TopTools_DataMapOfShapeSequenceOfShape");
    register_template_NCollection_DataMap<TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher>(m,"TopTools_DataMapOfShapeShape");
    register_template_NCollection_IndexedDataMap<TopoDS_Shape, Standard_Address, TopTools_ShapeMapHasher>(m,"TopTools_IndexedDataMapOfShapeAddress");
    register_template_NCollection_IndexedDataMap<TopoDS_Shape, TopTools_ListOfShape, TopTools_ShapeMapHasher>(m,"TopTools_IndexedDataMapOfShapeListOfShape");
    register_template_NCollection_IndexedDataMap<TopoDS_Shape, Standard_Real, TopTools_ShapeMapHasher>(m,"TopTools_IndexedDataMapOfShapeReal");
    register_template_NCollection_IndexedDataMap<TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher>(m,"TopTools_IndexedDataMapOfShapeShape");
    register_template_NCollection_IndexedMap<TopoDS_Shape>(m,"TopTools_IndexedMapOfOrientedShape");
    register_template_NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>(m,"TopTools_IndexedMapOfShape");
    register_template_NCollection_List<TopTools_ListOfShape>(m,"TopTools_ListOfListOfShape");
    register_template_NCollection_List<TopoDS_Shape>(m,"TopTools_ListOfShape");
    register_template_NCollection_Map<TopoDS_Shape>(m,"TopTools_MapOfOrientedShape");
    register_template_NCollection_Map<TopoDS_Shape, TopTools_ShapeMapHasher>(m,"TopTools_MapOfShape");
    register_template_NCollection_Sequence<TopoDS_Shape>(m,"TopTools_SequenceOfShape");


// exceptions

// user-defined post-inclusion per module in the body

};

// user-defined post-inclusion per module

// user-defined post