File: TDocStd.cpp

package info (click to toggle)
python-ocp 7.9.3.1%2B~cs7.9.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 61,552 kB
  • sloc: cpp: 341,803; ansic: 3,829; python: 803; pascal: 37; makefile: 12
file content (1434 lines) | stat: -rw-r--r-- 90,419 bytes parent folder | download
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

// 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 <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Resource_Manager.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 <TDocStd_CompoundDelta.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_GUID.hxx>
#include <TDF_RelocationTable.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 <TDocStd_Document.hxx>
#include <Standard_GUID.hxx>
#include <TDF_Data.hxx>
#include <TDF_RelocationTable.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 <TDF_Label.hxx>
#include <TDF_Reference.hxx>
#include <Standard_GUID.hxx>
#include <TDF_AttributeDelta.hxx>
#include <TDF_RelocationTable.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TDocStd_Document.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TDocStd_XLink.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Standard_GUID.hxx>
#include <TDF_Data.hxx>
#include <TDF_RelocationTable.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TDF_DataSet.hxx>
#include <TDF_RelocationTable.hxx>
#include <TDF_Label.hxx>

// module includes
#include <TDocStd.hxx>
#include <TDocStd_Application.hxx>
#include <TDocStd_ApplicationDelta.hxx>
#include <TDocStd_CompoundDelta.hxx>
#include <TDocStd_Context.hxx>
#include <TDocStd_DataMapIteratorOfLabelIDMapDataMap.hxx>
#include <TDocStd_Document.hxx>
#include <TDocStd_FormatVersion.hxx>
#include <TDocStd_LabelIDMapDataMap.hxx>
#include <TDocStd_Modified.hxx>
#include <TDocStd_MultiTransactionManager.hxx>
#include <TDocStd_Owner.hxx>
#include <TDocStd_PathParser.hxx>
#include <TDocStd_SequenceOfApplicationDelta.hxx>
#include <TDocStd_SequenceOfDocument.hxx>
#include <TDocStd_XLink.hxx>
#include <TDocStd_XLinkIterator.hxx>
#include <TDocStd_XLinkPtr.hxx>
#include <TDocStd_XLinkRoot.hxx>
#include <TDocStd_XLinkTool.hxx>

// template related includes

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

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

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

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


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

// user-defined inclusion per module
#include <PCDM_RetrievalDriver.hxx>
#include <PCDM_StorageDriver.hxx>
#include <PCDM_ReaderFilter.hxx>

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


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

//Python trampoline classes

// classes

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

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

    // nested enums

    static_cast<py::class_<TDocStd , shared_ptr<TDocStd>  >>(klass)
    // constructors
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("IDList_s",
                    (void (*)( TDF_IDList &  ) ) static_cast<void (*)( TDF_IDList &  ) >(&TDocStd::IDList),
                    R"#(specific GUID of this package ============================= Appends to <anIDList> the list of the attributes IDs of this package. CAUTION: <anIDList> is NOT cleared before use.)#"  , py::arg("anIDList")
          )
    // 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 TDocStd_Application from ./opencascade/TDocStd_Application.hxx
    klass = m.attr("TDocStd_Application");


    // nested enums

    static_cast<py::class_<TDocStd_Application ,opencascade::handle<TDocStd_Application>  , CDF_Application >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("IsDriverLoaded",
             (Standard_Boolean (TDocStd_Application::*)() const) static_cast<Standard_Boolean (TDocStd_Application::*)() const>(&TDocStd_Application::IsDriverLoaded),
             R"#(Check if meta data driver was successfully loaded by the application constructor)#" 
          )
        .def("Resources",
             (handle<Resource_Manager> (TDocStd_Application::*)() ) static_cast<handle<Resource_Manager> (TDocStd_Application::*)() >(&TDocStd_Application::Resources),
             R"#(Returns resource manager defining supported persistent formats.)#" 
          )
        .def("ResourcesName",
             (Standard_CString (TDocStd_Application::*)() ) static_cast<Standard_CString (TDocStd_Application::*)() >(&TDocStd_Application::ResourcesName),
             R"#(Returns the name of the file containing the resources of this application, for support of legacy method of loading formats data from resource files.)#" 
          )
        .def("DefineFormat",
             (void (TDocStd_Application::*)(  const TCollection_AsciiString & ,   const TCollection_AsciiString & ,   const TCollection_AsciiString & ,   const handle<PCDM_RetrievalDriver> & ,   const handle<PCDM_StorageDriver> &  ) ) static_cast<void (TDocStd_Application::*)(  const TCollection_AsciiString & ,   const TCollection_AsciiString & ,   const TCollection_AsciiString & ,   const handle<PCDM_RetrievalDriver> & ,   const handle<PCDM_StorageDriver> &  ) >(&TDocStd_Application::DefineFormat),
             R"#(Sets up resources and registers read and storage drivers for the specified format.)#"  , py::arg("theFormat"),  py::arg("theDescription"),  py::arg("theExtension"),  py::arg("theReader"),  py::arg("theWriter")
          )
        .def("ReadingFormats",
             (void (TDocStd_Application::*)( TColStd_SequenceOfAsciiString &  ) ) static_cast<void (TDocStd_Application::*)( TColStd_SequenceOfAsciiString &  ) >(&TDocStd_Application::ReadingFormats),
             R"#(Returns the sequence of reading formats supported by the application.)#"  , py::arg("theFormats")
          )
        .def("WritingFormats",
             (void (TDocStd_Application::*)( TColStd_SequenceOfAsciiString &  ) ) static_cast<void (TDocStd_Application::*)( TColStd_SequenceOfAsciiString &  ) >(&TDocStd_Application::WritingFormats),
             R"#(Returns the sequence of writing formats supported by the application.)#"  , py::arg("theFormats")
          )
        .def("NbDocuments",
             (Standard_Integer (TDocStd_Application::*)() const) static_cast<Standard_Integer (TDocStd_Application::*)() const>(&TDocStd_Application::NbDocuments),
             R"#(returns the number of documents handled by the current applicative session.)#" 
          )
        .def("InitDocument",
             (void (TDocStd_Application::*)(  const handle<CDM_Document> &  ) const) static_cast<void (TDocStd_Application::*)(  const handle<CDM_Document> &  ) const>(&TDocStd_Application::InitDocument),
             R"#(Initialize the document aDoc for the applicative session. This virtual function is called by NewDocument and is to be redefined for each specific application. Modified flag (different of disk version) ============= to open/save a document =======================)#"  , py::arg("aDoc")
          )
        .def("Close",
             (void (TDocStd_Application::*)(  const handle<TDocStd_Document> &  ) ) static_cast<void (TDocStd_Application::*)(  const handle<TDocStd_Document> &  ) >(&TDocStd_Application::Close),
             R"#(Close the given document. the document is not any more handled by the applicative session.)#"  , py::arg("aDoc")
          )
        .def("IsInSession",
             (Standard_Integer (TDocStd_Application::*)(  const TCollection_ExtendedString &  ) const) static_cast<Standard_Integer (TDocStd_Application::*)(  const TCollection_ExtendedString &  ) const>(&TDocStd_Application::IsInSession),
             R"#(Returns an index for the document found in the path path in this applicative session. If the returned value is 0, the document is not present in the applicative session. This method can be used for the interactive part of an application. For instance, on a call to Open, the document to be opened may already be in memory. IsInSession checks to see if this is the case. Open can be made to depend on the value of the index returned: if IsInSession returns 0, the document is opened; if it returns another value, a message is displayed asking the user if he wants to override the version of the document in memory. Example: Standard_Integer insession = A->IsInSession(aDoc); if (insession > 0) { std::cout << "document " << insession << " is already in session" << std::endl; return 0; })#"  , py::arg("path")
          )
        .def("Open",
             (PCDM_ReaderStatus (TDocStd_Application::*)(  const TCollection_ExtendedString & ,  handle<TDocStd_Document> & ,   const handle<PCDM_ReaderFilter> & ,   const Message_ProgressRange &  ) ) static_cast<PCDM_ReaderStatus (TDocStd_Application::*)(  const TCollection_ExtendedString & ,  handle<TDocStd_Document> & ,   const handle<PCDM_ReaderFilter> & ,   const Message_ProgressRange &  ) >(&TDocStd_Application::Open),
             R"#(Retrieves the document from specified file. In order not to override a version of the document which is already in memory, this method can be made to depend on the value returned by IsInSession.)#"  , py::arg("thePath"),  py::arg("theDoc"),  py::arg("theFilter"),  py::arg("theRange")=static_cast< const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Open",
             (PCDM_ReaderStatus (TDocStd_Application::*)(  const TCollection_ExtendedString & ,  handle<TDocStd_Document> & ,   const Message_ProgressRange &  ) ) static_cast<PCDM_ReaderStatus (TDocStd_Application::*)(  const TCollection_ExtendedString & ,  handle<TDocStd_Document> & ,   const Message_ProgressRange &  ) >(&TDocStd_Application::Open),
             R"#(Retrieves the document from specified file. In order not to override a version of the document which is already in memory, this method can be made to depend on the value returned by IsInSession.)#"  , py::arg("thePath"),  py::arg("theDoc"),  py::arg("theRange")=static_cast< const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Open",
             (PCDM_ReaderStatus (TDocStd_Application::*)( Standard_IStream & ,  handle<TDocStd_Document> & ,   const handle<PCDM_ReaderFilter> & ,   const Message_ProgressRange &  ) ) static_cast<PCDM_ReaderStatus (TDocStd_Application::*)( Standard_IStream & ,  handle<TDocStd_Document> & ,   const handle<PCDM_ReaderFilter> & ,   const Message_ProgressRange &  ) >(&TDocStd_Application::Open),
             R"#(Retrieves document from standard stream.)#"  , py::arg("theIStream"),  py::arg("theDoc"),  py::arg("theFilter"),  py::arg("theRange")=static_cast< const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Open",
             (PCDM_ReaderStatus (TDocStd_Application::*)( Standard_IStream & ,  handle<TDocStd_Document> & ,   const Message_ProgressRange &  ) ) static_cast<PCDM_ReaderStatus (TDocStd_Application::*)( Standard_IStream & ,  handle<TDocStd_Document> & ,   const Message_ProgressRange &  ) >(&TDocStd_Application::Open),
             R"#(Retrieves document from standard stream.)#"  , py::arg("theIStream"),  py::arg("theDoc"),  py::arg("theRange")=static_cast< const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("SaveAs",
             (PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,   const TCollection_ExtendedString & ,   const Message_ProgressRange &  ) ) static_cast<PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,   const TCollection_ExtendedString & ,   const Message_ProgressRange &  ) >(&TDocStd_Application::SaveAs),
             R"#(Save the active document in the file <name> in the path <path> ; o verwrites the file if it already exists.)#"  , py::arg("theDoc"),  py::arg("path"),  py::arg("theRange")=static_cast< const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("SaveAs",
             (PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,  Standard_OStream & ,   const Message_ProgressRange &  ) ) static_cast<PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,  Standard_OStream & ,   const Message_ProgressRange &  ) >(&TDocStd_Application::SaveAs),
             R"#(Save theDoc to standard SEEKABLE stream theOStream. the stream should support SEEK functionality)#"  , py::arg("theDoc"),  py::arg("theOStream"),  py::arg("theRange")=static_cast< const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Save",
             (PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,   const Message_ProgressRange &  ) ) static_cast<PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,   const Message_ProgressRange &  ) >(&TDocStd_Application::Save),
             R"#(Save aDoc active document. Exceptions: Standard_NotImplemented if the document was not retrieved in the applicative session by using Open.)#"  , py::arg("theDoc"),  py::arg("theRange")=static_cast< const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("SaveAs",
             (PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,   const TCollection_ExtendedString & ,  TCollection_ExtendedString & ,   const Message_ProgressRange &  ) ) static_cast<PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,   const TCollection_ExtendedString & ,  TCollection_ExtendedString & ,   const Message_ProgressRange &  ) >(&TDocStd_Application::SaveAs),
             R"#(Save the active document in the file <name> in the path <path> . overwrite the file if it already exist.)#"  , py::arg("theDoc"),  py::arg("path"),  py::arg("theStatusMessage"),  py::arg("theRange")=static_cast< const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("SaveAs",
             (PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,  Standard_OStream & ,  TCollection_ExtendedString & ,   const Message_ProgressRange &  ) ) static_cast<PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,  Standard_OStream & ,  TCollection_ExtendedString & ,   const Message_ProgressRange &  ) >(&TDocStd_Application::SaveAs),
             R"#(Save theDoc TO standard SEEKABLE stream theOStream. the stream should support SEEK functionality)#"  , py::arg("theDoc"),  py::arg("theOStream"),  py::arg("theStatusMessage"),  py::arg("theRange")=static_cast< const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("Save",
             (PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,  TCollection_ExtendedString & ,   const Message_ProgressRange &  ) ) static_cast<PCDM_StoreStatus (TDocStd_Application::*)(  const handle<TDocStd_Document> & ,  TCollection_ExtendedString & ,   const Message_ProgressRange &  ) >(&TDocStd_Application::Save),
             R"#(Save the document overwriting the previous file)#"  , py::arg("theDoc"),  py::arg("theStatusMessage"),  py::arg("theRange")=static_cast< const Message_ProgressRange &>(Message_ProgressRange ( ))
          )
        .def("OnOpenTransaction",
             (void (TDocStd_Application::*)(  const handle<TDocStd_Document> &  ) ) static_cast<void (TDocStd_Application::*)(  const handle<TDocStd_Document> &  ) >(&TDocStd_Application::OnOpenTransaction),
             R"#(Notification that is fired at each OpenTransaction event.)#"  , py::arg("theDoc")
          )
        .def("OnCommitTransaction",
             (void (TDocStd_Application::*)(  const handle<TDocStd_Document> &  ) ) static_cast<void (TDocStd_Application::*)(  const handle<TDocStd_Document> &  ) >(&TDocStd_Application::OnCommitTransaction),
             R"#(Notification that is fired at each CommitTransaction event.)#"  , py::arg("theDoc")
          )
        .def("OnAbortTransaction",
             (void (TDocStd_Application::*)(  const handle<TDocStd_Document> &  ) ) static_cast<void (TDocStd_Application::*)(  const handle<TDocStd_Document> &  ) >(&TDocStd_Application::OnAbortTransaction),
             R"#(Notification that is fired at each AbortTransaction event.)#"  , py::arg("theDoc")
          )
        .def("DumpJson",
             (void (TDocStd_Application::*)( Standard_OStream & ,  Standard_Integer  ) const) static_cast<void (TDocStd_Application::*)( Standard_OStream & ,  Standard_Integer  ) const>(&TDocStd_Application::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
        .def("GetDocument",
             []( TDocStd_Application &self ,  const Standard_Integer index,TDocStd_Document& aDoc ){
                 handle<TDocStd_Document>  aDoc_ptr; aDoc_ptr = &aDoc;

                 self.GetDocument(index,aDoc_ptr);
                 if ( aDoc_ptr.get() != &aDoc ) copy_if_copy_constructible(aDoc, *aDoc_ptr);

                 return std::make_tuple(); },
             R"#(Constructs the new document aDoc. aDoc is identified by the index index which is any integer between 1 and n where n is the number of documents returned by NbDocument. Example Handle(TDocStd_Application) anApp; if (!CafTest::Find(A)) return 1; Handle(TDocStd) aDoc; Standard_Integer nbdoc = anApp->NbDocuments(); for (Standard_Integer i = 1; i <= nbdoc; i++) { aApp->GetDocument(i,aDoc);)#"  , py::arg("index"),  py::arg("aDoc")
          )
        .def("NewDocument",
             []( TDocStd_Application &self ,  const TCollection_ExtendedString & format,CDM_Document& aDoc ){
                 handle<CDM_Document>  aDoc_ptr; aDoc_ptr = &aDoc;

                 self.NewDocument(format,aDoc_ptr);
                 if ( aDoc_ptr.get() != &aDoc ) copy_if_copy_constructible(aDoc, *aDoc_ptr);

                 return std::make_tuple(); },
             R"#(Constructs the empty new document aDoc. This document will have the format format. If InitDocument is redefined for a specific application, the new document is handled by the applicative session.)#"  , py::arg("format"),  py::arg("aDoc")
          )
        .def("NewDocument",
             []( TDocStd_Application &self ,  const TCollection_ExtendedString & format,TDocStd_Document& aDoc ){
                 handle<TDocStd_Document>  aDoc_ptr; aDoc_ptr = &aDoc;

                 self.NewDocument(format,aDoc_ptr);
                 if ( aDoc_ptr.get() != &aDoc ) copy_if_copy_constructible(aDoc, *aDoc_ptr);

                 return std::make_tuple(); },
             R"#(A non-virtual method taking a TDocStd_Documment object as an input. Internally it calls a virtual method NewDocument() with CDM_Document object.)#"  , py::arg("format"),  py::arg("aDoc")
          )
    // static methods
        .def_static("get_type_name_s",
                    ( const char * (*)() ) static_cast< const char * (*)() >(&TDocStd_Application::get_type_name),
                    R"#()#" 
          )
        .def_static("get_type_descriptor_s",
                    ( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&TDocStd_Application::get_type_descriptor),
                    R"#()#" 
          )
    // 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 handle<Standard_Type> & (TDocStd_Application::*)() const) static_cast< const handle<Standard_Type> & (TDocStd_Application::*)() const>(&TDocStd_Application::DynamicType),
             R"#()#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TDocStd_ApplicationDelta ,opencascade::handle<TDocStd_ApplicationDelta>  , Standard_Transient >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("SetName",
             (void (TDocStd_ApplicationDelta::*)(  const TCollection_ExtendedString &  ) ) static_cast<void (TDocStd_ApplicationDelta::*)(  const TCollection_ExtendedString &  ) >(&TDocStd_ApplicationDelta::SetName),
             R"#()#"  , py::arg("theName")
          )
        .def("Dump",
             (void (TDocStd_ApplicationDelta::*)( Standard_OStream &  ) const) static_cast<void (TDocStd_ApplicationDelta::*)( Standard_OStream &  ) const>(&TDocStd_ApplicationDelta::Dump),
             R"#()#"  , py::arg("anOS")
          )
        .def("SetName",
             (void (TDocStd_ApplicationDelta::*)(  const TCollection_ExtendedString &  ) ) static_cast<void (TDocStd_ApplicationDelta::*)(  const TCollection_ExtendedString &  ) >(&TDocStd_ApplicationDelta::SetName),
             R"#()#"  , py::arg("theName")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    ( const char * (*)() ) static_cast< const char * (*)() >(&TDocStd_ApplicationDelta::get_type_name),
                    R"#()#" 
          )
        .def_static("get_type_descriptor_s",
                    ( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&TDocStd_ApplicationDelta::get_type_descriptor),
                    R"#()#" 
          )
    // 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("GetDocuments",
             (TDocStd_SequenceOfDocument & (TDocStd_ApplicationDelta::*)() ) static_cast<TDocStd_SequenceOfDocument & (TDocStd_ApplicationDelta::*)() >(&TDocStd_ApplicationDelta::GetDocuments),
             R"#()#"
             
             , py::return_value_policy::reference_internal
         )
       .def("GetName",
             ( const TCollection_ExtendedString & (TDocStd_ApplicationDelta::*)() const) static_cast< const TCollection_ExtendedString & (TDocStd_ApplicationDelta::*)() const>(&TDocStd_ApplicationDelta::GetName),
             R"#()#"
             
         )
       .def("DynamicType",
             ( const handle<Standard_Type> & (TDocStd_ApplicationDelta::*)() const) static_cast< const handle<Standard_Type> & (TDocStd_ApplicationDelta::*)() const>(&TDocStd_ApplicationDelta::DynamicType),
             R"#()#"
             
         )
       .def("GetDocuments",
             (TDocStd_SequenceOfDocument & (TDocStd_ApplicationDelta::*)() ) static_cast<TDocStd_SequenceOfDocument & (TDocStd_ApplicationDelta::*)() >(&TDocStd_ApplicationDelta::GetDocuments),
             R"#()#"
             
             , py::return_value_policy::reference_internal
         )
       .def("GetName",
             ( const TCollection_ExtendedString & (TDocStd_ApplicationDelta::*)() const) static_cast< const TCollection_ExtendedString & (TDocStd_ApplicationDelta::*)() const>(&TDocStd_ApplicationDelta::GetName),
             R"#()#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TDocStd_CompoundDelta ,opencascade::handle<TDocStd_CompoundDelta>  , TDF_Delta >>(klass)
    // constructors
        .def(py::init<  >()  )
    // 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 * (*)() >(&TDocStd_CompoundDelta::get_type_name),
                    R"#()#" 
          )
        .def_static("get_type_descriptor_s",
                    ( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&TDocStd_CompoundDelta::get_type_descriptor),
                    R"#()#" 
          )
    // 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 handle<Standard_Type> & (TDocStd_CompoundDelta::*)() const) static_cast< const handle<Standard_Type> & (TDocStd_CompoundDelta::*)() const>(&TDocStd_CompoundDelta::DynamicType),
             R"#()#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TDocStd_Context , shared_ptr<TDocStd_Context>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("SetModifiedReferences",
             (void (TDocStd_Context::*)(  const Standard_Boolean  ) ) static_cast<void (TDocStd_Context::*)(  const Standard_Boolean  ) >(&TDocStd_Context::SetModifiedReferences),
             R"#()#"  , py::arg("Mod")
          )
        .def("ModifiedReferences",
             (Standard_Boolean (TDocStd_Context::*)() const) static_cast<Standard_Boolean (TDocStd_Context::*)() const>(&TDocStd_Context::ModifiedReferences),
             R"#()#" 
          )
    // 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 TDocStd_Document from ./opencascade/TDocStd_Document.hxx
    klass = m.attr("TDocStd_Document");


    // nested enums

    static_cast<py::class_<TDocStd_Document ,opencascade::handle<TDocStd_Document>  , CDM_Document >>(klass)
    // constructors
        .def(py::init<  const TCollection_ExtendedString & >()  , py::arg("astorageformat") )
    // custom constructors
    // methods
        .def("IsSaved",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::IsSaved),
             R"#(the document is saved in a file.)#" 
          )
        .def("IsChanged",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::IsChanged),
             R"#(returns True if document differs from the state of last saving. this method have to be called only working in the transaction mode)#" 
          )
        .def("SetSaved",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::SetSaved),
             R"#(This method have to be called to show document that it has been saved)#" 
          )
        .def("SetSavedTime",
             (void (TDocStd_Document::*)(  const Standard_Integer  ) ) static_cast<void (TDocStd_Document::*)(  const Standard_Integer  ) >(&TDocStd_Document::SetSavedTime),
             R"#(Say to document what it is not saved. Use value, returned earlier by GetSavedTime().)#"  , py::arg("theTime")
          )
        .def("GetSavedTime",
             (Standard_Integer (TDocStd_Document::*)() const) static_cast<Standard_Integer (TDocStd_Document::*)() const>(&TDocStd_Document::GetSavedTime),
             R"#(Returns value of <mySavedTime> to be used later in SetSavedTime())#" 
          )
        .def("GetName",
             (TCollection_ExtendedString (TDocStd_Document::*)() const) static_cast<TCollection_ExtendedString (TDocStd_Document::*)() const>(&TDocStd_Document::GetName),
             R"#(raise if <me> is not saved.)#" 
          )
        .def("GetPath",
             (TCollection_ExtendedString (TDocStd_Document::*)() const) static_cast<TCollection_ExtendedString (TDocStd_Document::*)() const>(&TDocStd_Document::GetPath),
             R"#(returns the OS path of the file, in which one <me> is saved. Raise an exception if <me> is not saved.)#" 
          )
        .def("SetData",
             (void (TDocStd_Document::*)(  const handle<TDF_Data> &  ) ) static_cast<void (TDocStd_Document::*)(  const handle<TDF_Data> &  ) >(&TDocStd_Document::SetData),
             R"#()#"  , py::arg("data")
          )
        .def("GetData",
             (handle<TDF_Data> (TDocStd_Document::*)() const) static_cast<handle<TDF_Data> (TDocStd_Document::*)() const>(&TDocStd_Document::GetData),
             R"#()#" 
          )
        .def("Main",
             (TDF_Label (TDocStd_Document::*)() const) static_cast<TDF_Label (TDocStd_Document::*)() const>(&TDocStd_Document::Main),
             R"#(Returns the main label in this data framework. By definition, this is the label with the entry 0:1.)#" 
          )
        .def("IsEmpty",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::IsEmpty),
             R"#(Returns True if the main label has no attributes)#" 
          )
        .def("IsValid",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::IsValid),
             R"#(Returns False if the document has been modified but not recomputed.)#" 
          )
        .def("SetModified",
             (void (TDocStd_Document::*)(  const TDF_Label &  ) ) static_cast<void (TDocStd_Document::*)(  const TDF_Label &  ) >(&TDocStd_Document::SetModified),
             R"#(Notify the label as modified, the Document becomes UnValid. returns True if <L> has been notified as modified.)#"  , py::arg("L")
          )
        .def("PurgeModified",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::PurgeModified),
             R"#(Remove all modifications. After this call The document becomesagain Valid.)#" 
          )
        .def("NewCommand",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::NewCommand),
             R"#(Launches a new command. This command may be undone.)#" 
          )
        .def("HasOpenCommand",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::HasOpenCommand),
             R"#(returns True if a Command transaction is open in the current .)#" 
          )
        .def("OpenCommand",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::OpenCommand),
             R"#(Opens a new command transaction in this document. You can use HasOpenCommand to see whether a command is already open. Exceptions Standard_DomainError if a command is already open in this document.)#" 
          )
        .def("CommitCommand",
             (Standard_Boolean (TDocStd_Document::*)() ) static_cast<Standard_Boolean (TDocStd_Document::*)() >(&TDocStd_Document::CommitCommand),
             R"#(Commits documents transactions and fills the transaction manager with documents that have been changed during the transaction. If no command transaction is open, nothing is done. Returns True if a new delta has been added to myUndos.)#" 
          )
        .def("AbortCommand",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::AbortCommand),
             R"#(Abort the Command transaction. Does nothing If there is no Command transaction open.)#" 
          )
        .def("GetUndoLimit",
             (Standard_Integer (TDocStd_Document::*)() const) static_cast<Standard_Integer (TDocStd_Document::*)() const>(&TDocStd_Document::GetUndoLimit),
             R"#(The current limit on the number of undos)#" 
          )
        .def("SetUndoLimit",
             (void (TDocStd_Document::*)(  const Standard_Integer  ) ) static_cast<void (TDocStd_Document::*)(  const Standard_Integer  ) >(&TDocStd_Document::SetUndoLimit),
             R"#(Set the limit on the number of Undo Delta stored 0 will disable Undo on the document A negative value means no limit. Note that by default Undo is disabled. Enabling it will take effect with the next call to NewCommand. Of course this limit is the same for Redo)#"  , py::arg("L")
          )
        .def("ClearUndos",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::ClearUndos),
             R"#(Remove all stored Undos and Redos)#" 
          )
        .def("ClearRedos",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::ClearRedos),
             R"#(Remove all stored Redos)#" 
          )
        .def("GetAvailableUndos",
             (Standard_Integer (TDocStd_Document::*)() const) static_cast<Standard_Integer (TDocStd_Document::*)() const>(&TDocStd_Document::GetAvailableUndos),
             R"#(Returns the number of undos stored in this document. If this figure is greater than 0, the method Undo can be used.)#" 
          )
        .def("Undo",
             (Standard_Boolean (TDocStd_Document::*)() ) static_cast<Standard_Boolean (TDocStd_Document::*)() >(&TDocStd_Document::Undo),
             R"#(Will UNDO one step, returns False if no undo was done (Undos == 0). Otherwise, true is returned and one step in the list of undoes is undone.)#" 
          )
        .def("GetAvailableRedos",
             (Standard_Integer (TDocStd_Document::*)() const) static_cast<Standard_Integer (TDocStd_Document::*)() const>(&TDocStd_Document::GetAvailableRedos),
             R"#(Returns the number of redos stored in this document. If this figure is greater than 0, the method Redo can be used.)#" 
          )
        .def("Redo",
             (Standard_Boolean (TDocStd_Document::*)() ) static_cast<Standard_Boolean (TDocStd_Document::*)() >(&TDocStd_Document::Redo),
             R"#(Will REDO one step, returns False if no redo was done (Redos == 0). Otherwise, true is returned, and one step in the list of redoes is done again.)#" 
          )
        .def("RemoveFirstUndo",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::RemoveFirstUndo),
             R"#(Removes the first undo in the list of document undos. It is used in the application when the undo limit is exceed.)#" 
          )
        .def("InitDeltaCompaction",
             (Standard_Boolean (TDocStd_Document::*)() ) static_cast<Standard_Boolean (TDocStd_Document::*)() >(&TDocStd_Document::InitDeltaCompaction),
             R"#(Initializes the procedure of delta compaction Returns false if there is no delta to compact Marks the last delta as a "from" delta)#" 
          )
        .def("PerformDeltaCompaction",
             (Standard_Boolean (TDocStd_Document::*)() ) static_cast<Standard_Boolean (TDocStd_Document::*)() >(&TDocStd_Document::PerformDeltaCompaction),
             R"#(Performs the procedure of delta compaction Makes all deltas starting from "from" delta till the last one to be one delta.)#" 
          )
        .def("UpdateReferences",
             (void (TDocStd_Document::*)(  const TCollection_AsciiString &  ) ) static_cast<void (TDocStd_Document::*)(  const TCollection_AsciiString &  ) >(&TDocStd_Document::UpdateReferences),
             R"#(Set modifications on labels impacted by external references to the entry. The document becomes invalid and must be recomputed.)#"  , py::arg("aDocEntry")
          )
        .def("Recompute",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::Recompute),
             R"#(Recompute if the document was not valid and propagate the recorded modification.)#" 
          )
        .def("Update",
             (void (TDocStd_Document::*)(  const handle<CDM_Document> & ,   const Standard_Integer ,   const Standard_Address  ) ) static_cast<void (TDocStd_Document::*)(  const handle<CDM_Document> & ,   const Standard_Integer ,   const Standard_Address  ) >(&TDocStd_Document::Update),
             R"#(This method Update will be called to signal the end of the modified references list. The document should be recomputed and UpdateFromDocuments should be called. Update should returns True in case of success, false otherwise. In case of Failure, additional information can be given in ErrorString. Update the document by propagation ================================== Update the document from internal stored modifications. If you want to undoing this operation, please call NewCommand before. to change format (advanced programming) ================)#"  , py::arg("aToDocument"),  py::arg("aReferenceIdentifier"),  py::arg("aModifContext")
          )
        .def("StorageFormat",
             (TCollection_ExtendedString (TDocStd_Document::*)() const) static_cast<TCollection_ExtendedString (TDocStd_Document::*)() const>(&TDocStd_Document::StorageFormat),
             R"#()#" 
          )
        .def("SetEmptyLabelsSavingMode",
             (void (TDocStd_Document::*)(  const Standard_Boolean  ) ) static_cast<void (TDocStd_Document::*)(  const Standard_Boolean  ) >(&TDocStd_Document::SetEmptyLabelsSavingMode),
             R"#(Sets saving mode for empty labels. If Standard_True, empty labels will be saved.)#"  , py::arg("isAllowed")
          )
        .def("EmptyLabelsSavingMode",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::EmptyLabelsSavingMode),
             R"#(Returns saving mode for empty labels.)#" 
          )
        .def("ChangeStorageFormat",
             (void (TDocStd_Document::*)(  const TCollection_ExtendedString &  ) ) static_cast<void (TDocStd_Document::*)(  const TCollection_ExtendedString &  ) >(&TDocStd_Document::ChangeStorageFormat),
             R"#(methods for the nested transaction mode)#"  , py::arg("newStorageFormat")
          )
        .def("SetNestedTransactionMode",
             (void (TDocStd_Document::*)(  const Standard_Boolean  ) ) static_cast<void (TDocStd_Document::*)(  const Standard_Boolean  ) >(&TDocStd_Document::SetNestedTransactionMode),
             R"#(Sets nested transaction mode if isAllowed == Standard_True)#"  , py::arg("isAllowed")=static_cast< const Standard_Boolean>(Standard_True)
          )
        .def("IsNestedTransactionMode",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::IsNestedTransactionMode),
             R"#(Returns Standard_True if mode is set)#" 
          )
        .def("SetModificationMode",
             (void (TDocStd_Document::*)(  const Standard_Boolean  ) ) static_cast<void (TDocStd_Document::*)(  const Standard_Boolean  ) >(&TDocStd_Document::SetModificationMode),
             R"#(if theTransactionOnly is True changes is denied outside transactions)#"  , py::arg("theTransactionOnly")
          )
        .def("ModificationMode",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::ModificationMode),
             R"#(returns True if changes allowed only inside transactions)#" 
          )
        .def("BeforeClose",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::BeforeClose),
             R"#(Prepares document for closing)#" 
          )
        .def("StorageFormatVersion",
             (TDocStd_FormatVersion (TDocStd_Document::*)() const) static_cast<TDocStd_FormatVersion (TDocStd_Document::*)() const>(&TDocStd_Document::StorageFormatVersion),
             R"#(Returns version of the format to be used to store the document)#" 
          )
        .def("ChangeStorageFormatVersion",
             (void (TDocStd_Document::*)(  const TDocStd_FormatVersion  ) ) static_cast<void (TDocStd_Document::*)(  const TDocStd_FormatVersion  ) >(&TDocStd_Document::ChangeStorageFormatVersion),
             R"#(Sets version of the format to be used to store the document)#"  , py::arg("theVersion")
          )
        .def("DumpJson",
             (void (TDocStd_Document::*)( Standard_OStream & ,  Standard_Integer  ) const) static_cast<void (TDocStd_Document::*)( Standard_OStream & ,  Standard_Integer  ) const>(&TDocStd_Document::DumpJson),
             R"#(Dumps the content of me into the stream)#"  , py::arg("theOStream"),  py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
          )
        .def("SetNestedTransactionMode",
             (void (TDocStd_Document::*)(  const Standard_Boolean  ) ) static_cast<void (TDocStd_Document::*)(  const Standard_Boolean  ) >(&TDocStd_Document::SetNestedTransactionMode),
             R"#(Sets nested transaction mode if isAllowed == Standard_True)#"  , py::arg("isAllowed")
          )
        .def("IsNestedTransactionMode",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::IsNestedTransactionMode),
             R"#(Returns Standard_True if mode is set)#" 
          )
        .def("IsChanged",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::IsChanged),
             R"#(returns True if document differs from the state of last saving. this method have to be called only working in the transaction mode)#" 
          )
        .def("SetSaved",
             (void (TDocStd_Document::*)() ) static_cast<void (TDocStd_Document::*)() >(&TDocStd_Document::SetSaved),
             R"#(This method have to be called to show document that it has been saved)#" 
          )
        .def("SetModificationMode",
             (void (TDocStd_Document::*)(  const Standard_Boolean  ) ) static_cast<void (TDocStd_Document::*)(  const Standard_Boolean  ) >(&TDocStd_Document::SetModificationMode),
             R"#(if theTransactionOnly is True changes is denied outside transactions)#"  , py::arg("theTransactionOnly")
          )
        .def("ModificationMode",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::ModificationMode),
             R"#(returns True if changes allowed only inside transactions)#" 
          )
        .def("SetSavedTime",
             (void (TDocStd_Document::*)(  const Standard_Integer  ) ) static_cast<void (TDocStd_Document::*)(  const Standard_Integer  ) >(&TDocStd_Document::SetSavedTime),
             R"#(Say to document what it is not saved. Use value, returned earlier by GetSavedTime().)#"  , py::arg("theTime")
          )
        .def("GetSavedTime",
             (Standard_Integer (TDocStd_Document::*)() const) static_cast<Standard_Integer (TDocStd_Document::*)() const>(&TDocStd_Document::GetSavedTime),
             R"#(Returns value of <mySavedTime> to be used later in SetSavedTime())#" 
          )
        .def("SetEmptyLabelsSavingMode",
             (void (TDocStd_Document::*)(  const Standard_Boolean  ) ) static_cast<void (TDocStd_Document::*)(  const Standard_Boolean  ) >(&TDocStd_Document::SetEmptyLabelsSavingMode),
             R"#(Sets saving mode for empty labels. If Standard_True, empty labels will be saved.)#"  , py::arg("isAllowed")
          )
        .def("EmptyLabelsSavingMode",
             (Standard_Boolean (TDocStd_Document::*)() const) static_cast<Standard_Boolean (TDocStd_Document::*)() const>(&TDocStd_Document::EmptyLabelsSavingMode),
             R"#(Returns saving mode for empty labels.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("Get_s",
                    (handle<TDocStd_Document> (*)(  const TDF_Label &  ) ) static_cast<handle<TDocStd_Document> (*)(  const TDF_Label &  ) >(&TDocStd_Document::Get),
                    R"#(Will Abort any execution, clear fields returns the document which contains <L>. raises an exception if the document is not found.)#"  , py::arg("L")
          )
        .def_static("CurrentStorageFormatVersion_s",
                    (TDocStd_FormatVersion (*)() ) static_cast<TDocStd_FormatVersion (*)() >(&TDocStd_Document::CurrentStorageFormatVersion),
                    R"#(Returns current storage format version of the document.)#" 
          )
        .def_static("get_type_name_s",
                    ( const char * (*)() ) static_cast< const char * (*)() >(&TDocStd_Document::get_type_name),
                    R"#()#" 
          )
        .def_static("get_type_descriptor_s",
                    ( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&TDocStd_Document::get_type_descriptor),
                    R"#()#" 
          )
    // 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("GetModified",
             ( const TDF_LabelMap & (TDocStd_Document::*)() const) static_cast< const TDF_LabelMap & (TDocStd_Document::*)() const>(&TDocStd_Document::GetModified),
             R"#(Returns the labels which have been modified in this document.)#"
             
         )
       .def("GetUndos",
             ( const TDF_DeltaList & (TDocStd_Document::*)() const) static_cast< const TDF_DeltaList & (TDocStd_Document::*)() const>(&TDocStd_Document::GetUndos),
             R"#()#"
             
         )
       .def("GetRedos",
             ( const TDF_DeltaList & (TDocStd_Document::*)() const) static_cast< const TDF_DeltaList & (TDocStd_Document::*)() const>(&TDocStd_Document::GetRedos),
             R"#()#"
             
         )
       .def("DynamicType",
             ( const handle<Standard_Type> & (TDocStd_Document::*)() const) static_cast< const handle<Standard_Type> & (TDocStd_Document::*)() const>(&TDocStd_Document::DynamicType),
             R"#()#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TDocStd_Modified ,opencascade::handle<TDocStd_Modified>  , TDF_Attribute >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("IsEmpty",
             (Standard_Boolean (TDocStd_Modified::*)() const) static_cast<Standard_Boolean (TDocStd_Modified::*)() const>(&TDocStd_Modified::IsEmpty),
             R"#()#" 
          )
        .def("Clear",
             (void (TDocStd_Modified::*)() ) static_cast<void (TDocStd_Modified::*)() >(&TDocStd_Modified::Clear),
             R"#()#" 
          )
        .def("AddLabel",
             (Standard_Boolean (TDocStd_Modified::*)(  const TDF_Label &  ) ) static_cast<Standard_Boolean (TDocStd_Modified::*)(  const TDF_Label &  ) >(&TDocStd_Modified::AddLabel),
             R"#(add <L> as modified)#"  , py::arg("L")
          )
        .def("RemoveLabel",
             (Standard_Boolean (TDocStd_Modified::*)(  const TDF_Label &  ) ) static_cast<Standard_Boolean (TDocStd_Modified::*)(  const TDF_Label &  ) >(&TDocStd_Modified::RemoveLabel),
             R"#(remove <L> as modified)#"  , py::arg("L")
          )
        .def("Restore",
             (void (TDocStd_Modified::*)(  const handle<TDF_Attribute> &  ) ) static_cast<void (TDocStd_Modified::*)(  const handle<TDF_Attribute> &  ) >(&TDocStd_Modified::Restore),
             R"#()#"  , py::arg("With")
          )
        .def("NewEmpty",
             (handle<TDF_Attribute> (TDocStd_Modified::*)() const) static_cast<handle<TDF_Attribute> (TDocStd_Modified::*)() const>(&TDocStd_Modified::NewEmpty),
             R"#()#" 
          )
        .def("Paste",
             (void (TDocStd_Modified::*)(  const handle<TDF_Attribute> & ,   const handle<TDF_RelocationTable> &  ) const) static_cast<void (TDocStd_Modified::*)(  const handle<TDF_Attribute> & ,   const handle<TDF_RelocationTable> &  ) const>(&TDocStd_Modified::Paste),
             R"#()#"  , py::arg("Into"),  py::arg("RT")
          )
        .def("Dump",
             (Standard_OStream & (TDocStd_Modified::*)( Standard_OStream &  ) const) static_cast<Standard_OStream & (TDocStd_Modified::*)( Standard_OStream &  ) const>(&TDocStd_Modified::Dump),
             R"#()#"  , py::arg("anOS")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("IsEmpty_s",
                    (Standard_Boolean (*)(  const TDF_Label &  ) ) static_cast<Standard_Boolean (*)(  const TDF_Label &  ) >(&TDocStd_Modified::IsEmpty),
                    R"#(API class methods =================)#"  , py::arg("access")
          )
        .def_static("Add_s",
                    (Standard_Boolean (*)(  const TDF_Label &  ) ) static_cast<Standard_Boolean (*)(  const TDF_Label &  ) >(&TDocStd_Modified::Add),
                    R"#()#"  , py::arg("alabel")
          )
        .def_static("Remove_s",
                    (Standard_Boolean (*)(  const TDF_Label &  ) ) static_cast<Standard_Boolean (*)(  const TDF_Label &  ) >(&TDocStd_Modified::Remove),
                    R"#()#"  , py::arg("alabel")
          )
        .def_static("Contains_s",
                    (Standard_Boolean (*)(  const TDF_Label &  ) ) static_cast<Standard_Boolean (*)(  const TDF_Label &  ) >(&TDocStd_Modified::Contains),
                    R"#()#"  , py::arg("alabel")
          )
        .def_static("Get_s",
                    ( const TDF_LabelMap & (*)(  const TDF_Label &  ) ) static_cast< const TDF_LabelMap & (*)(  const TDF_Label &  ) >(&TDocStd_Modified::Get),
                    R"#(if <IsEmpty> raise an exception.)#"  , py::arg("access")
          )
        .def_static("Clear_s",
                    (void (*)(  const TDF_Label &  ) ) static_cast<void (*)(  const TDF_Label &  ) >(&TDocStd_Modified::Clear),
                    R"#(remove all modified labels. becomes empty)#"  , py::arg("access")
          )
        .def_static("GetID_s",
                    ( const Standard_GUID & (*)() ) static_cast< const Standard_GUID & (*)() >(&TDocStd_Modified::GetID),
                    R"#(Modified methods ================)#" 
          )
        .def_static("get_type_name_s",
                    ( const char * (*)() ) static_cast< const char * (*)() >(&TDocStd_Modified::get_type_name),
                    R"#()#" 
          )
        .def_static("get_type_descriptor_s",
                    ( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&TDocStd_Modified::get_type_descriptor),
                    R"#()#" 
          )
    // 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("Get",
             ( const TDF_LabelMap & (TDocStd_Modified::*)() const) static_cast< const TDF_LabelMap & (TDocStd_Modified::*)() const>(&TDocStd_Modified::Get),
             R"#(returns modified label map)#"
             
         )
       .def("ID",
             ( const Standard_GUID & (TDocStd_Modified::*)() const) static_cast< const Standard_GUID & (TDocStd_Modified::*)() const>(&TDocStd_Modified::ID),
             R"#()#"
             
         )
       .def("DynamicType",
             ( const handle<Standard_Type> & (TDocStd_Modified::*)() const) static_cast< const handle<Standard_Type> & (TDocStd_Modified::*)() const>(&TDocStd_Modified::DynamicType),
             R"#()#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TDocStd_MultiTransactionManager ,opencascade::handle<TDocStd_MultiTransactionManager>  , Standard_Transient >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("SetUndoLimit",
             (void (TDocStd_MultiTransactionManager::*)(  const Standard_Integer  ) ) static_cast<void (TDocStd_MultiTransactionManager::*)(  const Standard_Integer  ) >(&TDocStd_MultiTransactionManager::SetUndoLimit),
             R"#(Sets undo limit for the manager and all documents.)#"  , py::arg("theLimit")
          )
        .def("GetUndoLimit",
             (Standard_Integer (TDocStd_MultiTransactionManager::*)() const) static_cast<Standard_Integer (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::GetUndoLimit),
             R"#(Returns undo limit for the manager.)#" 
          )
        .def("Undo",
             (void (TDocStd_MultiTransactionManager::*)() ) static_cast<void (TDocStd_MultiTransactionManager::*)() >(&TDocStd_MultiTransactionManager::Undo),
             R"#(Undoes the current transaction of the manager. It calls the Undo () method of the document being on top of the manager list of undos (list.First()) and moves the list item to the top of the list of manager redos (list.Prepend(item)).)#" 
          )
        .def("Redo",
             (void (TDocStd_MultiTransactionManager::*)() ) static_cast<void (TDocStd_MultiTransactionManager::*)() >(&TDocStd_MultiTransactionManager::Redo),
             R"#(Redoes the current transaction of the application. It calls the Redo () method of the document being on top of the manager list of redos (list.First()) and moves the list item to the top of the list of manager undos (list.Prepend(item)).)#" 
          )
        .def("OpenCommand",
             (void (TDocStd_MultiTransactionManager::*)() ) static_cast<void (TDocStd_MultiTransactionManager::*)() >(&TDocStd_MultiTransactionManager::OpenCommand),
             R"#(Opens transaction in each document and sets the flag that transaction is opened. If there are already opened transactions in the documents, these transactions will be aborted before opening new ones.)#" 
          )
        .def("AbortCommand",
             (void (TDocStd_MultiTransactionManager::*)() ) static_cast<void (TDocStd_MultiTransactionManager::*)() >(&TDocStd_MultiTransactionManager::AbortCommand),
             R"#(Unsets the flag of started manager transaction and aborts transaction in each document.)#" 
          )
        .def("CommitCommand",
             (Standard_Boolean (TDocStd_MultiTransactionManager::*)() ) static_cast<Standard_Boolean (TDocStd_MultiTransactionManager::*)() >(&TDocStd_MultiTransactionManager::CommitCommand),
             R"#(Commits transaction in all documents and fills the transaction manager with the documents that have been changed during the transaction. Returns True if new data has been added to myUndos. NOTE: All nested transactions in the documents will be committed.)#" 
          )
        .def("CommitCommand",
             (Standard_Boolean (TDocStd_MultiTransactionManager::*)(  const TCollection_ExtendedString &  ) ) static_cast<Standard_Boolean (TDocStd_MultiTransactionManager::*)(  const TCollection_ExtendedString &  ) >(&TDocStd_MultiTransactionManager::CommitCommand),
             R"#(Makes the same steps as the previous function but defines the name for transaction. Returns True if new data has been added to myUndos.)#"  , py::arg("theName")
          )
        .def("HasOpenCommand",
             (Standard_Boolean (TDocStd_MultiTransactionManager::*)() const) static_cast<Standard_Boolean (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::HasOpenCommand),
             R"#(Returns true if a transaction is opened.)#" 
          )
        .def("RemoveLastUndo",
             (void (TDocStd_MultiTransactionManager::*)() ) static_cast<void (TDocStd_MultiTransactionManager::*)() >(&TDocStd_MultiTransactionManager::RemoveLastUndo),
             R"#(Removes undo information from the list of undos of the manager and all documents which have been modified during the transaction.)#" 
          )
        .def("DumpTransaction",
             (void (TDocStd_MultiTransactionManager::*)( Standard_OStream &  ) const) static_cast<void (TDocStd_MultiTransactionManager::*)( Standard_OStream &  ) const>(&TDocStd_MultiTransactionManager::DumpTransaction),
             R"#(Dumps transactions in undos and redos)#"  , py::arg("theOS")
          )
        .def("AddDocument",
             (void (TDocStd_MultiTransactionManager::*)(  const handle<TDocStd_Document> &  ) ) static_cast<void (TDocStd_MultiTransactionManager::*)(  const handle<TDocStd_Document> &  ) >(&TDocStd_MultiTransactionManager::AddDocument),
             R"#(Adds the document to the transaction manager and checks if it has been already added)#"  , py::arg("theDoc")
          )
        .def("RemoveDocument",
             (void (TDocStd_MultiTransactionManager::*)(  const handle<TDocStd_Document> &  ) ) static_cast<void (TDocStd_MultiTransactionManager::*)(  const handle<TDocStd_Document> &  ) >(&TDocStd_MultiTransactionManager::RemoveDocument),
             R"#(Removes the document from the transaction manager.)#"  , py::arg("theDoc")
          )
        .def("SetNestedTransactionMode",
             (void (TDocStd_MultiTransactionManager::*)(  const Standard_Boolean  ) ) static_cast<void (TDocStd_MultiTransactionManager::*)(  const Standard_Boolean  ) >(&TDocStd_MultiTransactionManager::SetNestedTransactionMode),
             R"#(Sets nested transaction mode if isAllowed == Standard_True NOTE: field myIsNestedTransactionMode exists only for synchronization between several documents and has no effect on transactions of multitransaction manager.)#"  , py::arg("isAllowed")=static_cast< const Standard_Boolean>(Standard_True)
          )
        .def("IsNestedTransactionMode",
             (Standard_Boolean (TDocStd_MultiTransactionManager::*)() const) static_cast<Standard_Boolean (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::IsNestedTransactionMode),
             R"#(Returns Standard_True if NestedTransaction mode is set. Methods for protection of changes outside transactions)#" 
          )
        .def("SetModificationMode",
             (void (TDocStd_MultiTransactionManager::*)(  const Standard_Boolean  ) ) static_cast<void (TDocStd_MultiTransactionManager::*)(  const Standard_Boolean  ) >(&TDocStd_MultiTransactionManager::SetModificationMode),
             R"#(If theTransactionOnly is True, denies all changes outside transactions.)#"  , py::arg("theTransactionOnly")
          )
        .def("ModificationMode",
             (Standard_Boolean (TDocStd_MultiTransactionManager::*)() const) static_cast<Standard_Boolean (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::ModificationMode),
             R"#(Returns True if changes are allowed only inside transactions.)#" 
          )
        .def("ClearUndos",
             (void (TDocStd_MultiTransactionManager::*)() ) static_cast<void (TDocStd_MultiTransactionManager::*)() >(&TDocStd_MultiTransactionManager::ClearUndos),
             R"#(Clears undos in the manager and in documents.)#" 
          )
        .def("ClearRedos",
             (void (TDocStd_MultiTransactionManager::*)() ) static_cast<void (TDocStd_MultiTransactionManager::*)() >(&TDocStd_MultiTransactionManager::ClearRedos),
             R"#(Clears redos in the manager and in documents.)#" 
          )
        .def("GetUndoLimit",
             (Standard_Integer (TDocStd_MultiTransactionManager::*)() const) static_cast<Standard_Integer (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::GetUndoLimit),
             R"#(Returns undo limit for the manager.)#" 
          )
        .def("IsNestedTransactionMode",
             (Standard_Boolean (TDocStd_MultiTransactionManager::*)() const) static_cast<Standard_Boolean (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::IsNestedTransactionMode),
             R"#(Returns Standard_True if NestedTransaction mode is set. Methods for protection of changes outside transactions)#" 
          )
        .def("HasOpenCommand",
             (Standard_Boolean (TDocStd_MultiTransactionManager::*)() const) static_cast<Standard_Boolean (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::HasOpenCommand),
             R"#(Returns true if a transaction is opened.)#" 
          )
        .def("ModificationMode",
             (Standard_Boolean (TDocStd_MultiTransactionManager::*)() const) static_cast<Standard_Boolean (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::ModificationMode),
             R"#(Returns True if changes are allowed only inside transactions.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    ( const char * (*)() ) static_cast< const char * (*)() >(&TDocStd_MultiTransactionManager::get_type_name),
                    R"#()#" 
          )
        .def_static("get_type_descriptor_s",
                    ( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&TDocStd_MultiTransactionManager::get_type_descriptor),
                    R"#()#" 
          )
    // 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("GetAvailableUndos",
             ( const TDocStd_SequenceOfApplicationDelta & (TDocStd_MultiTransactionManager::*)() const) static_cast< const TDocStd_SequenceOfApplicationDelta & (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::GetAvailableUndos),
             R"#(Returns available manager undos.)#"
             
         )
       .def("GetAvailableRedos",
             ( const TDocStd_SequenceOfApplicationDelta & (TDocStd_MultiTransactionManager::*)() const) static_cast< const TDocStd_SequenceOfApplicationDelta & (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::GetAvailableRedos),
             R"#(Returns available manager redos.)#"
             
         )
       .def("Documents",
             ( const TDocStd_SequenceOfDocument & (TDocStd_MultiTransactionManager::*)() const) static_cast< const TDocStd_SequenceOfDocument & (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::Documents),
             R"#(Returns the added documents to the transaction manager.)#"
             
         )
       .def("DynamicType",
             ( const handle<Standard_Type> & (TDocStd_MultiTransactionManager::*)() const) static_cast< const handle<Standard_Type> & (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::DynamicType),
             R"#()#"
             
         )
       .def("GetAvailableUndos",
             ( const TDocStd_SequenceOfApplicationDelta & (TDocStd_MultiTransactionManager::*)() const) static_cast< const TDocStd_SequenceOfApplicationDelta & (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::GetAvailableUndos),
             R"#(Returns available manager undos.)#"
             
         )
       .def("GetAvailableRedos",
             ( const TDocStd_SequenceOfApplicationDelta & (TDocStd_MultiTransactionManager::*)() const) static_cast< const TDocStd_SequenceOfApplicationDelta & (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::GetAvailableRedos),
             R"#(Returns available manager redos.)#"
             
         )
       .def("Documents",
             ( const TDocStd_SequenceOfDocument & (TDocStd_MultiTransactionManager::*)() const) static_cast< const TDocStd_SequenceOfDocument & (TDocStd_MultiTransactionManager::*)() const>(&TDocStd_MultiTransactionManager::Documents),
             R"#(Returns the added documents to the transaction manager.)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TDocStd_Owner ,opencascade::handle<TDocStd_Owner>  , TDF_Attribute >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("SetDocument",
             (void (TDocStd_Owner::*)(  const handle<TDocStd_Document> &  ) ) static_cast<void (TDocStd_Owner::*)(  const handle<TDocStd_Document> &  ) >(&TDocStd_Owner::SetDocument),
             R"#()#"  , py::arg("document")
          )
        .def("SetDocument",
             (void (TDocStd_Owner::*)( TDocStd_Document *  ) ) static_cast<void (TDocStd_Owner::*)( TDocStd_Document *  ) >(&TDocStd_Owner::SetDocument),
             R"#()#"  , py::arg("document")
          )
        .def("GetDocument",
             (handle<TDocStd_Document> (TDocStd_Owner::*)() const) static_cast<handle<TDocStd_Document> (TDocStd_Owner::*)() const>(&TDocStd_Owner::GetDocument),
             R"#()#" 
          )
        .def("Restore",
             (void (TDocStd_Owner::*)(  const handle<TDF_Attribute> &  ) ) static_cast<void (TDocStd_Owner::*)(  const handle<TDF_Attribute> &  ) >(&TDocStd_Owner::Restore),
             R"#()#"  , py::arg("With")
          )
        .def("NewEmpty",
             (handle<TDF_Attribute> (TDocStd_Owner::*)() const) static_cast<handle<TDF_Attribute> (TDocStd_Owner::*)() const>(&TDocStd_Owner::NewEmpty),
             R"#()#" 
          )
        .def("Paste",
             (void (TDocStd_Owner::*)(  const handle<TDF_Attribute> & ,   const handle<TDF_RelocationTable> &  ) const) static_cast<void (TDocStd_Owner::*)(  const handle<TDF_Attribute> & ,   const handle<TDF_RelocationTable> &  ) const>(&TDocStd_Owner::Paste),
             R"#()#"  , py::arg("Into"),  py::arg("RT")
          )
        .def("Dump",
             (Standard_OStream & (TDocStd_Owner::*)( Standard_OStream &  ) const) static_cast<Standard_OStream & (TDocStd_Owner::*)( Standard_OStream &  ) const>(&TDocStd_Owner::Dump),
             R"#()#"  , py::arg("anOS")
          )
        .def("DumpJson",
             (void (TDocStd_Owner::*)( Standard_OStream & ,  Standard_Integer  ) const) static_cast<void (TDocStd_Owner::*)( Standard_OStream & ,  Standard_Integer  ) const>(&TDocStd_Owner::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("GetID_s",
                    ( const Standard_GUID & (*)() ) static_cast< const Standard_GUID & (*)() >(&TDocStd_Owner::GetID),
                    R"#(class methods =============)#" 
          )
        .def_static("SetDocument_s",
                    (void (*)(  const handle<TDF_Data> & ,   const handle<TDocStd_Document> &  ) ) static_cast<void (*)(  const handle<TDF_Data> & ,   const handle<TDocStd_Document> &  ) >(&TDocStd_Owner::SetDocument),
                    R"#()#"  , py::arg("indata"),  py::arg("doc")
          )
        .def_static("SetDocument_s",
                    (void (*)(  const handle<TDF_Data> & ,  TDocStd_Document *  ) ) static_cast<void (*)(  const handle<TDF_Data> & ,  TDocStd_Document *  ) >(&TDocStd_Owner::SetDocument),
                    R"#()#"  , py::arg("indata"),  py::arg("doc")
          )
        .def_static("GetDocument_s",
                    (handle<TDocStd_Document> (*)(  const handle<TDF_Data> &  ) ) static_cast<handle<TDocStd_Document> (*)(  const handle<TDF_Data> &  ) >(&TDocStd_Owner::GetDocument),
                    R"#(Owner methods ===============)#"  , py::arg("ofdata")
          )
        .def_static("get_type_name_s",
                    ( const char * (*)() ) static_cast< const char * (*)() >(&TDocStd_Owner::get_type_name),
                    R"#()#" 
          )
        .def_static("get_type_descriptor_s",
                    ( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&TDocStd_Owner::get_type_descriptor),
                    R"#()#" 
          )
    // 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("ID",
             ( const Standard_GUID & (TDocStd_Owner::*)() const) static_cast< const Standard_GUID & (TDocStd_Owner::*)() const>(&TDocStd_Owner::ID),
             R"#()#"
             
         )
       .def("DynamicType",
             ( const handle<Standard_Type> & (TDocStd_Owner::*)() const) static_cast< const handle<Standard_Type> & (TDocStd_Owner::*)() const>(&TDocStd_Owner::DynamicType),
             R"#()#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TDocStd_PathParser , shared_ptr<TDocStd_PathParser>  >>(klass)
    // constructors
        .def(py::init<  const TCollection_ExtendedString & >()  , py::arg("path") )
    // custom constructors
    // methods
        .def("Parse",
             (void (TDocStd_PathParser::*)() ) static_cast<void (TDocStd_PathParser::*)() >(&TDocStd_PathParser::Parse),
             R"#()#" 
          )
        .def("Trek",
             (TCollection_ExtendedString (TDocStd_PathParser::*)() const) static_cast<TCollection_ExtendedString (TDocStd_PathParser::*)() const>(&TDocStd_PathParser::Trek),
             R"#()#" 
          )
        .def("Name",
             (TCollection_ExtendedString (TDocStd_PathParser::*)() const) static_cast<TCollection_ExtendedString (TDocStd_PathParser::*)() const>(&TDocStd_PathParser::Name),
             R"#()#" 
          )
        .def("Extension",
             (TCollection_ExtendedString (TDocStd_PathParser::*)() const) static_cast<TCollection_ExtendedString (TDocStd_PathParser::*)() const>(&TDocStd_PathParser::Extension),
             R"#()#" 
          )
        .def("Path",
             (TCollection_ExtendedString (TDocStd_PathParser::*)() const) static_cast<TCollection_ExtendedString (TDocStd_PathParser::*)() const>(&TDocStd_PathParser::Path),
             R"#()#" 
          )
        .def("Length",
             (Standard_Integer (TDocStd_PathParser::*)() const) static_cast<Standard_Integer (TDocStd_PathParser::*)() const>(&TDocStd_PathParser::Length),
             R"#()#" 
          )
    // 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 TDocStd_XLink from ./opencascade/TDocStd_XLink.hxx
    klass = m.attr("TDocStd_XLink");


    // nested enums

    static_cast<py::class_<TDocStd_XLink ,opencascade::handle<TDocStd_XLink>  , TDF_Attribute >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("Update",
             (handle<TDF_Reference> (TDocStd_XLink::*)() ) static_cast<handle<TDF_Reference> (TDocStd_XLink::*)() >(&TDocStd_XLink::Update),
             R"#(Updates the data referenced in this external link attribute.)#" 
          )
        .def("DocumentEntry",
             (void (TDocStd_XLink::*)(  const TCollection_AsciiString &  ) ) static_cast<void (TDocStd_XLink::*)(  const TCollection_AsciiString &  ) >(&TDocStd_XLink::DocumentEntry),
             R"#(Sets the name aDocEntry for the external document in this external link attribute.)#"  , py::arg("aDocEntry")
          )
        .def("LabelEntry",
             (void (TDocStd_XLink::*)(  const TDF_Label &  ) ) static_cast<void (TDocStd_XLink::*)(  const TDF_Label &  ) >(&TDocStd_XLink::LabelEntry),
             R"#(Sets the label entry for this external link attribute with the label aLabel. aLabel pilots the importation of data from the document entry.)#"  , py::arg("aLabel")
          )
        .def("LabelEntry",
             (void (TDocStd_XLink::*)(  const TCollection_AsciiString &  ) ) static_cast<void (TDocStd_XLink::*)(  const TCollection_AsciiString &  ) >(&TDocStd_XLink::LabelEntry),
             R"#(Sets the label entry for this external link attribute as a document identified by aLabEntry.)#"  , py::arg("aLabEntry")
          )
        .def("AfterAddition",
             (void (TDocStd_XLink::*)() ) static_cast<void (TDocStd_XLink::*)() >(&TDocStd_XLink::AfterAddition),
             R"#(Updates the XLinkRoot attribute by adding <me> to its list.)#" 
          )
        .def("BeforeRemoval",
             (void (TDocStd_XLink::*)() ) static_cast<void (TDocStd_XLink::*)() >(&TDocStd_XLink::BeforeRemoval),
             R"#(Updates the XLinkRoot attribute by removing <me> from its list.)#" 
          )
        .def("BeforeUndo",
             (Standard_Boolean (TDocStd_XLink::*)(  const handle<TDF_AttributeDelta> & ,   const Standard_Boolean  ) ) static_cast<Standard_Boolean (TDocStd_XLink::*)(  const handle<TDF_AttributeDelta> & ,   const Standard_Boolean  ) >(&TDocStd_XLink::BeforeUndo),
             R"#(Something to do before applying <anAttDelta>.)#"  , py::arg("anAttDelta"),  py::arg("forceIt")=static_cast< const Standard_Boolean>(Standard_False)
          )
        .def("AfterUndo",
             (Standard_Boolean (TDocStd_XLink::*)(  const handle<TDF_AttributeDelta> & ,   const Standard_Boolean  ) ) static_cast<Standard_Boolean (TDocStd_XLink::*)(  const handle<TDF_AttributeDelta> & ,   const Standard_Boolean  ) >(&TDocStd_XLink::AfterUndo),
             R"#(Something to do after applying <anAttDelta>.)#"  , py::arg("anAttDelta"),  py::arg("forceIt")=static_cast< const Standard_Boolean>(Standard_False)
          )
        .def("BackupCopy",
             (handle<TDF_Attribute> (TDocStd_XLink::*)() const) static_cast<handle<TDF_Attribute> (TDocStd_XLink::*)() const>(&TDocStd_XLink::BackupCopy),
             R"#(Returns a null handle. Raise always for it is nonsense to use this method.)#" 
          )
        .def("Restore",
             (void (TDocStd_XLink::*)(  const handle<TDF_Attribute> &  ) ) static_cast<void (TDocStd_XLink::*)(  const handle<TDF_Attribute> &  ) >(&TDocStd_XLink::Restore),
             R"#(Does nothing.)#"  , py::arg("anAttribute")
          )
        .def("NewEmpty",
             (handle<TDF_Attribute> (TDocStd_XLink::*)() const) static_cast<handle<TDF_Attribute> (TDocStd_XLink::*)() const>(&TDocStd_XLink::NewEmpty),
             R"#(Returns a null handle.)#" 
          )
        .def("Paste",
             (void (TDocStd_XLink::*)(  const handle<TDF_Attribute> & ,   const handle<TDF_RelocationTable> &  ) const) static_cast<void (TDocStd_XLink::*)(  const handle<TDF_Attribute> & ,   const handle<TDF_RelocationTable> &  ) const>(&TDocStd_XLink::Paste),
             R"#(Does nothing.)#"  , py::arg("intoAttribute"),  py::arg("aRelocationTable")
          )
        .def("Dump",
             (Standard_OStream & (TDocStd_XLink::*)( Standard_OStream &  ) const) static_cast<Standard_OStream & (TDocStd_XLink::*)( Standard_OStream &  ) const>(&TDocStd_XLink::Dump),
             R"#(Dumps the attribute on <aStream>.)#"  , py::arg("anOS")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("Set_s",
                    (handle<TDocStd_XLink> (*)(  const TDF_Label &  ) ) static_cast<handle<TDocStd_XLink> (*)(  const TDF_Label &  ) >(&TDocStd_XLink::Set),
                    R"#(Sets an empty external reference, at the label aLabel.)#"  , py::arg("atLabel")
          )
        .def_static("GetID_s",
                    ( const Standard_GUID & (*)() ) static_cast< const Standard_GUID & (*)() >(&TDocStd_XLink::GetID),
                    R"#(Returns the GUID for external links.)#" 
          )
        .def_static("get_type_name_s",
                    ( const char * (*)() ) static_cast< const char * (*)() >(&TDocStd_XLink::get_type_name),
                    R"#()#" 
          )
        .def_static("get_type_descriptor_s",
                    ( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&TDocStd_XLink::get_type_descriptor),
                    R"#()#" 
          )
    // 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("ID",
             ( const Standard_GUID & (TDocStd_XLink::*)() const) static_cast< const Standard_GUID & (TDocStd_XLink::*)() const>(&TDocStd_XLink::ID),
             R"#(Returns the ID of the attribute.)#"
             
         )
       .def("DocumentEntry",
             ( const TCollection_AsciiString & (TDocStd_XLink::*)() const) static_cast< const TCollection_AsciiString & (TDocStd_XLink::*)() const>(&TDocStd_XLink::DocumentEntry),
             R"#(Returns the contents of the document identified by aDocEntry. aDocEntry provides external data to this external link attribute.)#"
             
         )
       .def("LabelEntry",
             ( const TCollection_AsciiString & (TDocStd_XLink::*)() const) static_cast< const TCollection_AsciiString & (TDocStd_XLink::*)() const>(&TDocStd_XLink::LabelEntry),
             R"#(Returns the contents of the field <myLabelEntry>.)#"
             
         )
       .def("DynamicType",
             ( const handle<Standard_Type> & (TDocStd_XLink::*)() const) static_cast< const handle<Standard_Type> & (TDocStd_XLink::*)() const>(&TDocStd_XLink::DynamicType),
             R"#()#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TDocStd_XLinkIterator , shared_ptr<TDocStd_XLinkIterator>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init<  const handle<TDocStd_Document> & >()  , py::arg("D") )
    // custom constructors
    // methods
        .def("Initialize",
             (void (TDocStd_XLinkIterator::*)(  const handle<TDocStd_Document> &  ) ) static_cast<void (TDocStd_XLinkIterator::*)(  const handle<TDocStd_Document> &  ) >(&TDocStd_XLinkIterator::Initialize),
             R"#(Restarts an iteration with <D>.)#"  , py::arg("D")
          )
        .def("More",
             (Standard_Boolean (TDocStd_XLinkIterator::*)() const) static_cast<Standard_Boolean (TDocStd_XLinkIterator::*)() const>(&TDocStd_XLinkIterator::More),
             R"#(Returns True if there is a current Item in the iteration.)#" 
          )
        .def("Next",
             (void (TDocStd_XLinkIterator::*)() ) static_cast<void (TDocStd_XLinkIterator::*)() >(&TDocStd_XLinkIterator::Next),
             R"#(Move to the next item; raises if there is no more item.)#" 
          )
        .def("Value",
             (TDocStd_XLinkPtr (TDocStd_XLinkIterator::*)() const) static_cast<TDocStd_XLinkPtr (TDocStd_XLinkIterator::*)() const>(&TDocStd_XLinkIterator::Value),
             R"#(Returns the current item; a null handle if there is none.)#" 
          )
        .def("More",
             (Standard_Boolean (TDocStd_XLinkIterator::*)() const) static_cast<Standard_Boolean (TDocStd_XLinkIterator::*)() const>(&TDocStd_XLinkIterator::More),
             R"#(Returns True if there is a current Item in the iteration.)#" 
          )
        .def("Value",
             (TDocStd_XLink * (TDocStd_XLinkIterator::*)() const) static_cast<TDocStd_XLink * (TDocStd_XLinkIterator::*)() const>(&TDocStd_XLinkIterator::Value),
             R"#(Returns the current item; a null handle if there is none.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

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


    // nested enums

    static_cast<py::class_<TDocStd_XLinkRoot ,opencascade::handle<TDocStd_XLinkRoot>  , TDF_Attribute >>(klass)
    // constructors
    // custom constructors
    // methods
        .def("BackupCopy",
             (handle<TDF_Attribute> (TDocStd_XLinkRoot::*)() const) static_cast<handle<TDF_Attribute> (TDocStd_XLinkRoot::*)() const>(&TDocStd_XLinkRoot::BackupCopy),
             R"#(Returns a null handle.)#" 
          )
        .def("Restore",
             (void (TDocStd_XLinkRoot::*)(  const handle<TDF_Attribute> &  ) ) static_cast<void (TDocStd_XLinkRoot::*)(  const handle<TDF_Attribute> &  ) >(&TDocStd_XLinkRoot::Restore),
             R"#(Does nothing.)#"  , py::arg("anAttribute")
          )
        .def("NewEmpty",
             (handle<TDF_Attribute> (TDocStd_XLinkRoot::*)() const) static_cast<handle<TDF_Attribute> (TDocStd_XLinkRoot::*)() const>(&TDocStd_XLinkRoot::NewEmpty),
             R"#(Returns a null handle.)#" 
          )
        .def("Paste",
             (void (TDocStd_XLinkRoot::*)(  const handle<TDF_Attribute> & ,   const handle<TDF_RelocationTable> &  ) const) static_cast<void (TDocStd_XLinkRoot::*)(  const handle<TDF_Attribute> & ,   const handle<TDF_RelocationTable> &  ) const>(&TDocStd_XLinkRoot::Paste),
             R"#(Does nothing.)#"  , py::arg("intoAttribute"),  py::arg("aRelocationTable")
          )
        .def("Dump",
             (Standard_OStream & (TDocStd_XLinkRoot::*)( Standard_OStream &  ) const) static_cast<Standard_OStream & (TDocStd_XLinkRoot::*)( Standard_OStream &  ) const>(&TDocStd_XLinkRoot::Dump),
             R"#(Dumps the attribute on <aStream>.)#"  , py::arg("anOS")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("GetID_s",
                    ( const Standard_GUID & (*)() ) static_cast< const Standard_GUID & (*)() >(&TDocStd_XLinkRoot::GetID),
                    R"#(Returns the ID: 2a96b61d-ec8b-11d0-bee7-080009dc3333)#" 
          )
        .def_static("Set_s",
                    (handle<TDocStd_XLinkRoot> (*)(  const handle<TDF_Data> &  ) ) static_cast<handle<TDocStd_XLinkRoot> (*)(  const handle<TDF_Data> &  ) >(&TDocStd_XLinkRoot::Set),
                    R"#(Sets an empty XLinkRoot to Root or gets the existing one. Only one attribute per TDF_Data.)#"  , py::arg("aDF")
          )
        .def_static("get_type_name_s",
                    ( const char * (*)() ) static_cast< const char * (*)() >(&TDocStd_XLinkRoot::get_type_name),
                    R"#()#" 
          )
        .def_static("get_type_descriptor_s",
                    ( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&TDocStd_XLinkRoot::get_type_descriptor),
                    R"#()#" 
          )
    // 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("ID",
             ( const Standard_GUID & (TDocStd_XLinkRoot::*)() const) static_cast< const Standard_GUID & (TDocStd_XLinkRoot::*)() const>(&TDocStd_XLinkRoot::ID),
             R"#(Returns the ID of the attribute.)#"
             
         )
       .def("DynamicType",
             ( const handle<Standard_Type> & (TDocStd_XLinkRoot::*)() const) static_cast< const handle<Standard_Type> & (TDocStd_XLinkRoot::*)() const>(&TDocStd_XLinkRoot::DynamicType),
             R"#()#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TDocStd_XLinkTool , shared_ptr<TDocStd_XLinkTool>  >>(klass)
    // constructors
        .def(py::init<  >()  )
    // custom constructors
    // methods
        .def("CopyWithLink",
             (void (TDocStd_XLinkTool::*)(  const TDF_Label & ,   const TDF_Label &  ) ) static_cast<void (TDocStd_XLinkTool::*)(  const TDF_Label & ,   const TDF_Label &  ) >(&TDocStd_XLinkTool::CopyWithLink),
             R"#(Copies the content of the label <fromsource> to the label <intarget>. The link is registered with an XLink attribute by <intarget> label. if the content of <fromsource> is not self-contained, and/or <intarget> has already an XLink attribute, an exception is raised.)#"  , py::arg("intarget"),  py::arg("fromsource")
          )
        .def("UpdateLink",
             (void (TDocStd_XLinkTool::*)(  const TDF_Label &  ) ) static_cast<void (TDocStd_XLinkTool::*)(  const TDF_Label &  ) >(&TDocStd_XLinkTool::UpdateLink),
             R"#(Update the external reference set at <L>. Example Handle(TDocStd_Document) aDoc; if (!OCAFTest::GetDocument(1,aDoc)) return 1; Handle(TDataStd_Reference) aRef; TDocStd_XLinkTool xlinktool; if (!OCAFTest::Find(aDoc,2),TDataStd_Reference::GetID(),aRef) return 1; xlinktool.UpdateLink(aRef->Label()); Exceptions Standard_DomainError if <L> has no XLink attribute.)#"  , py::arg("L")
          )
        .def("Copy",
             (void (TDocStd_XLinkTool::*)(  const TDF_Label & ,   const TDF_Label &  ) ) static_cast<void (TDocStd_XLinkTool::*)(  const TDF_Label & ,   const TDF_Label &  ) >(&TDocStd_XLinkTool::Copy),
             R"#(Copy the content of <fromsource> under <intarget>. No link is registered. No check is done. Example Handle(TDocStd_Document) DOC, XDOC; TDF_Label L, XL; TDocStd_XLinkTool xlinktool; xlinktool.Copy(L,XL); Exceptions: Standard_DomainError if the contents of fromsource are not entirely in the scope of this label, in other words, are not self-contained. !!! ==> Warning: If the document manages shapes use the next way: TDocStd_XLinkTool xlinktool; xlinktool.Copy(L,XL); TopTools_DataMapOfShapeShape M; TNaming::ChangeShapes(target,M);)#"  , py::arg("intarget"),  py::arg("fromsource")
          )
        .def("IsDone",
             (Standard_Boolean (TDocStd_XLinkTool::*)() const) static_cast<Standard_Boolean (TDocStd_XLinkTool::*)() const>(&TDocStd_XLinkTool::IsDone),
             R"#()#" 
          )
        .def("DataSet",
             (handle<TDF_DataSet> (TDocStd_XLinkTool::*)() const) static_cast<handle<TDF_DataSet> (TDocStd_XLinkTool::*)() const>(&TDocStd_XLinkTool::DataSet),
             R"#()#" 
          )
        .def("RelocationTable",
             (handle<TDF_RelocationTable> (TDocStd_XLinkTool::*)() const) static_cast<handle<TDF_RelocationTable> (TDocStd_XLinkTool::*)() const>(&TDocStd_XLinkTool::RelocationTable),
             R"#()#" 
          )
    // 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
;

// functions

// ./opencascade/TDocStd.hxx
// ./opencascade/TDocStd_Application.hxx
// ./opencascade/TDocStd_ApplicationDelta.hxx
// ./opencascade/TDocStd_CompoundDelta.hxx
// ./opencascade/TDocStd_Context.hxx
// ./opencascade/TDocStd_DataMapIteratorOfLabelIDMapDataMap.hxx
// ./opencascade/TDocStd_Document.hxx
// ./opencascade/TDocStd_FormatVersion.hxx
// ./opencascade/TDocStd_LabelIDMapDataMap.hxx
// ./opencascade/TDocStd_Modified.hxx
// ./opencascade/TDocStd_MultiTransactionManager.hxx
// ./opencascade/TDocStd_Owner.hxx
// ./opencascade/TDocStd_PathParser.hxx
// ./opencascade/TDocStd_SequenceOfApplicationDelta.hxx
// ./opencascade/TDocStd_SequenceOfDocument.hxx
// ./opencascade/TDocStd_XLink.hxx
// ./opencascade/TDocStd_XLinkIterator.hxx
// ./opencascade/TDocStd_XLinkPtr.hxx
// ./opencascade/TDocStd_XLinkRoot.hxx
// ./opencascade/TDocStd_XLinkTool.hxx

// Additional functions


// operators

// register typdefs
    register_template_NCollection_DataMap<TDF_Label, TDF_IDMap>(m,"TDocStd_LabelIDMapDataMap");
    register_template_NCollection_Sequence<opencascade::handle<TDocStd_ApplicationDelta>>(m,"TDocStd_SequenceOfApplicationDelta");
    register_template_NCollection_Sequence<opencascade::handle<TDocStd_Document>>(m,"TDocStd_SequenceOfDocument");


// exceptions

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

};

// user-defined post-inclusion per module

// user-defined post