File: TCollection.cpp

package info (click to toggle)
python-ocp 7.8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,720 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (1139 lines) | stat: -rw-r--r-- 111,886 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
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

// 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 <TCollection_ExtendedString.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TCollection_AsciiString.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TCollection_HExtendedString.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TCollection_HAsciiString.hxx>

// module includes
#include <TCollection.hxx>
#include <TCollection_AsciiString.hxx>
#include <TCollection_ExtendedString.hxx>
#include <TCollection_HAsciiString.hxx>
#include <TCollection_HExtendedString.hxx>

// template related includes


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

// user-defined inclusion per module

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


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

//Python trampoline classes

// classes

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

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

    // nested enums

    static_cast<py::class_<TCollection , shared_ptr<TCollection>  >>(klass)
    // constructors
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("NextPrimeForMap_s",
                    (Standard_Integer (*)( const Standard_Integer  ) ) static_cast<Standard_Integer (*)( const Standard_Integer  ) >(&TCollection::NextPrimeForMap),
                    R"#(Returns a prime number greater than <I> suitable to dimension a Map. When <I> becomes great there is a limit on the result (today the limit is around 1 000 000). This is not a limit of the number of items but a limit in the number of buckets. i.e. there will be more collisions in the map.)#"  , py::arg("I")
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

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


    // nested enums

    static_cast<py::class_<TCollection_AsciiString , shared_ptr<TCollection_AsciiString>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Standard_CString >()  , py::arg("message") )
        .def(py::init< const Standard_CString,const Standard_Integer >()  , py::arg("message"),  py::arg("aLen") )
        .def(py::init< const Standard_Character >()  , py::arg("aChar") )
        .def(py::init< const Standard_Integer,const Standard_Character >()  , py::arg("length"),  py::arg("filler") )
        .def(py::init< const Standard_Integer >()  , py::arg("value") )
        .def(py::init< const Standard_Real >()  , py::arg("value") )
        .def(py::init< const TCollection_AsciiString & >()  , py::arg("astring") )
        .def(py::init< const TCollection_AsciiString &,const Standard_Character >()  , py::arg("astring"),  py::arg("message") )
        .def(py::init< const TCollection_AsciiString &,const Standard_CString >()  , py::arg("astring"),  py::arg("message") )
        .def(py::init< const TCollection_AsciiString &,const TCollection_AsciiString & >()  , py::arg("astring"),  py::arg("message") )
        .def(py::init< const TCollection_ExtendedString &,const Standard_Character >()  , py::arg("astring"),  py::arg("replaceNonAscii")=static_cast<const Standard_Character>(0) )
        .def(py::init< const Standard_WideChar * >()  , py::arg("theStringUtf") )
    // custom constructors
    // methods
        .def("AssignCat",
             (void (TCollection_AsciiString::*)( const Standard_Character  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Character  ) >(&TCollection_AsciiString::AssignCat),
             R"#(Appends <other> to me. This is an unary operator.)#"  , py::arg("other")
          )
        .def("AssignCat",
             (void (TCollection_AsciiString::*)( const Standard_Integer  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer  ) >(&TCollection_AsciiString::AssignCat),
             R"#(Appends <other> to me. This is an unary operator.)#"  , py::arg("other")
          )
        .def("AssignCat",
             (void (TCollection_AsciiString::*)( const Standard_Real  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Real  ) >(&TCollection_AsciiString::AssignCat),
             R"#(Appends <other> to me. This is an unary operator.)#"  , py::arg("other")
          )
        .def("AssignCat",
             (void (TCollection_AsciiString::*)( const Standard_CString  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_CString  ) >(&TCollection_AsciiString::AssignCat),
             R"#(Appends <other> to me. This is an unary operator. ex: aString += "Dummy" To catenate more than one CString, you must put a AsciiString before. Example: aString += "Hello " + "Dolly" IS NOT VALID ! But astring += anotherString + "Hello " + "Dolly" is valid.)#"  , py::arg("other")
          )
        .def("AssignCat",
             (void (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) ) static_cast<void (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) >(&TCollection_AsciiString::AssignCat),
             R"#(Appends <other> to me. This is an unary operator. Example: aString += anotherString)#"  , py::arg("other")
          )
        .def("Capitalize",
             (void (TCollection_AsciiString::*)() ) static_cast<void (TCollection_AsciiString::*)() >(&TCollection_AsciiString::Capitalize),
             R"#(Converts the first character into its corresponding upper-case character and the other characters into lowercase Example: before me = "hellO " after me = "Hello ")#" 
          )
        .def("Cat",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Character  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Character  ) const>(&TCollection_AsciiString::Cat),
             R"#(Appends <other> to me. Syntax: aString = aString + "Dummy" Example: aString contains "I say " aString = aString + "Hello " + "Dolly" gives "I say Hello Dolly" To catenate more than one CString, you must put a String before. So the following example is WRONG ! aString = "Hello " + "Dolly" THIS IS NOT ALLOWED This rule is applicable to AssignCat (operator +=) too.)#"  , py::arg("other")
          )
        .def("Cat",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer  ) const>(&TCollection_AsciiString::Cat),
             R"#(Appends <other> to me. Syntax: aString = aString + 15; Example: aString contains "I say " gives "I say 15" To catenate more than one CString, you must put a String before. So the following example is WRONG ! aString = "Hello " + "Dolly" THIS IS NOT ALLOWED This rule is applicable to AssignCat (operator +=) too.)#"  , py::arg("other")
          )
        .def("Cat",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Real  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Real  ) const>(&TCollection_AsciiString::Cat),
             R"#(Appends <other> to me. Syntax: aString = aString + 15.15; Example: aString contains "I say " gives "I say 15.15" To catenate more than one CString, you must put a String before. So the following example is WRONG ! aString = "Hello " + "Dolly" THIS IS NOT ALLOWED This rule is applicable to AssignCat (operator +=) too.)#"  , py::arg("other")
          )
        .def("Cat",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_CString  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_CString  ) const>(&TCollection_AsciiString::Cat),
             R"#(Appends <other> to me. Syntax: aString = aString + "Dummy" Example: aString contains "I say " aString = aString + "Hello " + "Dolly" gives "I say Hello Dolly" To catenate more than one CString, you must put a String before. So the following example is WRONG ! aString = "Hello " + "Dolly" THIS IS NOT ALLOWED This rule is applicable to AssignCat (operator +=) too.)#"  , py::arg("other")
          )
        .def("Cat",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::Cat),
             R"#(Appends <other> to me. Example: aString = aString + anotherString)#"  , py::arg("other")
          )
        .def("Center",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character  ) >(&TCollection_AsciiString::Center),
             R"#(Modifies this ASCII string so that its length becomes equal to Width and the new characters are equal to Filler. New characters are added both at the beginning and at the end of this string. If Width is less than the length of this ASCII string, nothing happens. Example TCollection_AsciiString myAlphabet("abcdef"); myAlphabet.Center(9,' '); assert ( myAlphabet == " abcdef " );)#"  , py::arg("Width"),  py::arg("Filler")
          )
        .def("ChangeAll",
             (void (TCollection_AsciiString::*)( const Standard_Character ,  const Standard_Character ,  const Standard_Boolean  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Character ,  const Standard_Character ,  const Standard_Boolean  ) >(&TCollection_AsciiString::ChangeAll),
             R"#(Substitutes all the characters equal to aChar by NewChar in the AsciiString <me>. The substitution can be case sensitive. If you don't use default case sensitive, no matter whether aChar is uppercase or not. Example: me = "Histake" -> ChangeAll('H','M',Standard_True) gives me = "Mistake")#"  , py::arg("aChar"),  py::arg("NewChar"),  py::arg("CaseSensitive")=static_cast<const Standard_Boolean>(Standard_True)
          )
        .def("Clear",
             (void (TCollection_AsciiString::*)() ) static_cast<void (TCollection_AsciiString::*)() >(&TCollection_AsciiString::Clear),
             R"#(Removes all characters contained in <me>. This produces an empty AsciiString.)#" 
          )
        .def("Copy",
             (void (TCollection_AsciiString::*)( const Standard_CString  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_CString  ) >(&TCollection_AsciiString::Copy),
             R"#(Copy <fromwhere> to <me>. Used as operator = Example: aString = anotherCString;)#"  , py::arg("fromwhere")
          )
        .def("Copy",
             (void (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) ) static_cast<void (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) >(&TCollection_AsciiString::Copy),
             R"#(Copy <fromwhere> to <me>. Used as operator = Example: aString = anotherString;)#"  , py::arg("fromwhere")
          )
        .def("Swap",
             (void (TCollection_AsciiString::*)( TCollection_AsciiString &  ) ) static_cast<void (TCollection_AsciiString::*)( TCollection_AsciiString &  ) >(&TCollection_AsciiString::Swap),
             R"#(Exchange the data of two strings (without reallocating memory).)#"  , py::arg("theOther")
          )
        .def("FirstLocationInSet",
             (Standard_Integer (TCollection_AsciiString::*)( const TCollection_AsciiString & ,  const Standard_Integer ,  const Standard_Integer  ) const) static_cast<Standard_Integer (TCollection_AsciiString::*)( const TCollection_AsciiString & ,  const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_AsciiString::FirstLocationInSet),
             R"#(Returns the index of the first character of <me> that is present in <Set>. The search begins to the index FromIndex and ends to the the index ToIndex. Returns zero if failure. Raises an exception if FromIndex or ToIndex is out of range. Example: before me = "aabAcAa", S = "Aa", FromIndex = 1, Toindex = 7 after me = "aabAcAa" returns 1)#"  , py::arg("Set"),  py::arg("FromIndex"),  py::arg("ToIndex")
          )
        .def("FirstLocationNotInSet",
             (Standard_Integer (TCollection_AsciiString::*)( const TCollection_AsciiString & ,  const Standard_Integer ,  const Standard_Integer  ) const) static_cast<Standard_Integer (TCollection_AsciiString::*)( const TCollection_AsciiString & ,  const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_AsciiString::FirstLocationNotInSet),
             R"#(Returns the index of the first character of <me> that is not present in the set <Set>. The search begins to the index FromIndex and ends to the the index ToIndex in <me>. Returns zero if failure. Raises an exception if FromIndex or ToIndex is out of range. Example: before me = "aabAcAa", S = "Aa", FromIndex = 1, Toindex = 7 after me = "aabAcAa" returns 3)#"  , py::arg("Set"),  py::arg("FromIndex"),  py::arg("ToIndex")
          )
        .def("Insert",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character  ) >(&TCollection_AsciiString::Insert),
             R"#(Inserts a Character at position <where>. Example: aString contains "hy not ?" aString.Insert(1,'W'); gives "Why not ?" aString contains "Wh" aString.Insert(3,'y'); gives "Why" aString contains "Way" aString.Insert(2,'h'); gives "Why")#"  , py::arg("where"),  py::arg("what")
          )
        .def("Insert",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_CString  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_CString  ) >(&TCollection_AsciiString::Insert),
             R"#(Inserts a CString at position <where>. Example: aString contains "O more" aString.Insert(2,"nce"); gives "Once more")#"  , py::arg("where"),  py::arg("what")
          )
        .def("Insert",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const TCollection_AsciiString &  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const TCollection_AsciiString &  ) >(&TCollection_AsciiString::Insert),
             R"#(Inserts a AsciiString at position <where>.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("InsertAfter",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const TCollection_AsciiString &  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const TCollection_AsciiString &  ) >(&TCollection_AsciiString::InsertAfter),
             R"#(Pushing a string after a specific index in the string <me>. Raises an exception if Index is out of bounds. - less than 0 (InsertAfter), or less than 1 (InsertBefore), or - greater than the number of characters in this ASCII string. Example: before me = "cde" , Index = 0 , other = "ab" after me = "abcde" , other = "ab")#"  , py::arg("Index"),  py::arg("other")
          )
        .def("InsertBefore",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const TCollection_AsciiString &  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const TCollection_AsciiString &  ) >(&TCollection_AsciiString::InsertBefore),
             R"#(Pushing a string before a specific index in the string <me>. Raises an exception if Index is out of bounds. - less than 0 (InsertAfter), or less than 1 (InsertBefore), or - greater than the number of characters in this ASCII string. Example: before me = "cde" , Index = 1 , other = "ab" after me = "abcde" , other = "ab")#"  , py::arg("Index"),  py::arg("other")
          )
        .def("IsEmpty",
             (Standard_Boolean (TCollection_AsciiString::*)() const) static_cast<Standard_Boolean (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::IsEmpty),
             R"#(Returns True if the string <me> contains zero character.)#" 
          )
        .def("IsEqual",
             (Standard_Boolean (TCollection_AsciiString::*)( const Standard_CString  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( const Standard_CString  ) const>(&TCollection_AsciiString::IsEqual),
             R"#(Returns true if the characters in this ASCII string are identical to the characters in ASCII string other. Note that this method is an alias of operator ==.)#"  , py::arg("other")
          )
        .def("IsEqual",
             (Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::IsEqual),
             R"#(Returns true if the characters in this ASCII string are identical to the characters in ASCII string other. Note that this method is an alias of operator ==.)#"  , py::arg("other")
          )
        .def("IsDifferent",
             (Standard_Boolean (TCollection_AsciiString::*)( const Standard_CString  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( const Standard_CString  ) const>(&TCollection_AsciiString::IsDifferent),
             R"#(Returns true if there are differences between the characters in this ASCII string and ASCII string other. Note that this method is an alias of operator !=)#"  , py::arg("other")
          )
        .def("IsDifferent",
             (Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::IsDifferent),
             R"#(Returns true if there are differences between the characters in this ASCII string and ASCII string other. Note that this method is an alias of operator !=)#"  , py::arg("other")
          )
        .def("IsLess",
             (Standard_Boolean (TCollection_AsciiString::*)( const Standard_CString  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( const Standard_CString  ) const>(&TCollection_AsciiString::IsLess),
             R"#(Returns TRUE if <me> is 'ASCII' less than <other>.)#"  , py::arg("other")
          )
        .def("IsLess",
             (Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::IsLess),
             R"#(Returns TRUE if <me> is 'ASCII' less than <other>.)#"  , py::arg("other")
          )
        .def("IsGreater",
             (Standard_Boolean (TCollection_AsciiString::*)( const Standard_CString  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( const Standard_CString  ) const>(&TCollection_AsciiString::IsGreater),
             R"#(Returns TRUE if <me> is 'ASCII' greater than <other>.)#"  , py::arg("other")
          )
        .def("IsGreater",
             (Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::IsGreater),
             R"#(Returns TRUE if <me> is 'ASCII' greater than <other>.)#"  , py::arg("other")
          )
        .def("StartsWith",
             (Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::StartsWith),
             R"#(Determines whether the beginning of this string instance matches the specified string.)#"  , py::arg("theStartString")
          )
        .def("EndsWith",
             (Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::EndsWith),
             R"#(Determines whether the end of this string instance matches the specified string.)#"  , py::arg("theEndString")
          )
        .def("IntegerValue",
             (Standard_Integer (TCollection_AsciiString::*)() const) static_cast<Standard_Integer (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::IntegerValue),
             R"#(Converts a AsciiString containing a numeric expression to an Integer. Example: "215" returns 215.)#" 
          )
        .def("IsIntegerValue",
             (Standard_Boolean (TCollection_AsciiString::*)() const) static_cast<Standard_Boolean (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::IsIntegerValue),
             R"#(Returns True if the AsciiString contains an integer value. Note: an integer value is considered to be a real value as well.)#" 
          )
        .def("IsRealValue",
             (Standard_Boolean (TCollection_AsciiString::*)( Standard_Boolean  ) const) static_cast<Standard_Boolean (TCollection_AsciiString::*)( Standard_Boolean  ) const>(&TCollection_AsciiString::IsRealValue),
             R"#(Returns True if the AsciiString starts with some characters that can be interpreted as integer or real value.)#"  , py::arg("theToCheckFull")=static_cast<Standard_Boolean>(Standard_False)
          )
        .def("IsAscii",
             (Standard_Boolean (TCollection_AsciiString::*)() const) static_cast<Standard_Boolean (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::IsAscii),
             R"#(Returns True if the AsciiString contains only ASCII characters between ' ' and '~'. This means no control character and no extended ASCII code.)#" 
          )
        .def("LeftAdjust",
             (void (TCollection_AsciiString::*)() ) static_cast<void (TCollection_AsciiString::*)() >(&TCollection_AsciiString::LeftAdjust),
             R"#(Removes all space characters in the beginning of the string.)#" 
          )
        .def("LeftJustify",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character  ) >(&TCollection_AsciiString::LeftJustify),
             R"#(left justify Length becomes equal to Width and the new characters are equal to Filler. If Width < Length nothing happens. Raises an exception if Width is less than zero. Example: before me = "abcdef" , Width = 9 , Filler = ' ' after me = "abcdef ")#"  , py::arg("Width"),  py::arg("Filler")
          )
        .def("Length",
             (Standard_Integer (TCollection_AsciiString::*)() const) static_cast<Standard_Integer (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::Length),
             R"#(Returns number of characters in <me>. This is the same functionality as 'strlen' in C. Example TCollection_AsciiString myAlphabet("abcdef"); assert ( myAlphabet.Length() == 6 ); - 1 is the position of the first character in this string. - The length of this string gives the position of its last character. - Positions less than or equal to zero, or greater than the length of this string are invalid in functions which identify a character of this string by its position.)#" 
          )
        .def("Location",
             (Standard_Integer (TCollection_AsciiString::*)( const TCollection_AsciiString & ,  const Standard_Integer ,  const Standard_Integer  ) const) static_cast<Standard_Integer (TCollection_AsciiString::*)( const TCollection_AsciiString & ,  const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_AsciiString::Location),
             R"#(Returns an index in the string <me> of the first occurrence of the string S in the string <me> from the starting index FromIndex to the ending index ToIndex returns zero if failure Raises an exception if FromIndex or ToIndex is out of range. Example: before me = "aabAaAa", S = "Aa", FromIndex = 1, ToIndex = 7 after me = "aabAaAa" returns 4)#"  , py::arg("other"),  py::arg("FromIndex"),  py::arg("ToIndex")
          )
        .def("Location",
             (Standard_Integer (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character ,  const Standard_Integer ,  const Standard_Integer  ) const) static_cast<Standard_Integer (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character ,  const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_AsciiString::Location),
             R"#(Returns the index of the nth occurrence of the character C in the string <me> from the starting index FromIndex to the ending index ToIndex. Returns zero if failure. Raises an exception if FromIndex or ToIndex is out of range. Example: before me = "aabAa", N = 3, C = 'a', FromIndex = 1, ToIndex = 5 after me = "aabAa" returns 5)#"  , py::arg("N"),  py::arg("C"),  py::arg("FromIndex"),  py::arg("ToIndex")
          )
        .def("LowerCase",
             (void (TCollection_AsciiString::*)() ) static_cast<void (TCollection_AsciiString::*)() >(&TCollection_AsciiString::LowerCase),
             R"#(Converts <me> to its lower-case equivalent. Example TCollection_AsciiString myString("Hello Dolly"); myString.UpperCase(); assert ( myString == "HELLO DOLLY" ); myString.LowerCase(); assert ( myString == "hello dolly" );)#" 
          )
        .def("Prepend",
             (void (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) ) static_cast<void (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) >(&TCollection_AsciiString::Prepend),
             R"#(Inserts the string other at the beginning of this ASCII string. Example TCollection_AsciiString myAlphabet("cde"); TCollection_AsciiString myBegin("ab"); myAlphabet.Prepend(myBegin); assert ( myAlphabet == "abcde" );)#"  , py::arg("other")
          )
        .def("Print",
             (void (TCollection_AsciiString::*)( std::ostream &  ) const) static_cast<void (TCollection_AsciiString::*)( std::ostream &  ) const>(&TCollection_AsciiString::Print),
             R"#(Displays <me> on a stream.)#"  , py::arg("astream")
          )
        .def("Read",
             (void (TCollection_AsciiString::*)( std::istream &  ) ) static_cast<void (TCollection_AsciiString::*)( std::istream &  ) >(&TCollection_AsciiString::Read),
             R"#(Read <me> from a stream.)#"  , py::arg("astream")
          )
        .def("RealValue",
             (Standard_Real (TCollection_AsciiString::*)() const) static_cast<Standard_Real (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::RealValue),
             R"#(Converts an AsciiString containing a numeric expression. to a Real. Example: ex: "215" returns 215.0. ex: "3.14159267" returns 3.14159267.)#" 
          )
        .def("RemoveAll",
             (void (TCollection_AsciiString::*)( const Standard_Character ,  const Standard_Boolean  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Character ,  const Standard_Boolean  ) >(&TCollection_AsciiString::RemoveAll),
             R"#(Remove all the occurrences of the character C in the string. Example: before me = "HellLLo", C = 'L' , CaseSensitive = True after me = "Hello")#"  , py::arg("C"),  py::arg("CaseSensitive")
          )
        .def("RemoveAll",
             (void (TCollection_AsciiString::*)( const Standard_Character  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Character  ) >(&TCollection_AsciiString::RemoveAll),
             R"#(Removes every <what> characters from <me>.)#"  , py::arg("what")
          )
        .def("Remove",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Integer  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Integer  ) >(&TCollection_AsciiString::Remove),
             R"#(Erases <ahowmany> characters from position <where>, <where> included. Example: aString contains "Hello" aString.Remove(2,2) erases 2 characters from position 2 This gives "Hlo".)#"  , py::arg("where"),  py::arg("ahowmany")=static_cast<const Standard_Integer>(1)
          )
        .def("RightAdjust",
             (void (TCollection_AsciiString::*)() ) static_cast<void (TCollection_AsciiString::*)() >(&TCollection_AsciiString::RightAdjust),
             R"#(Removes all space characters at the end of the string.)#" 
          )
        .def("RightJustify",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character  ) >(&TCollection_AsciiString::RightJustify),
             R"#(Right justify. Length becomes equal to Width and the new characters are equal to Filler. if Width < Length nothing happens. Raises an exception if Width is less than zero. Example: before me = "abcdef" , Width = 9 , Filler = ' ' after me = " abcdef")#"  , py::arg("Width"),  py::arg("Filler")
          )
        .def("Search",
             (Standard_Integer (TCollection_AsciiString::*)( const Standard_CString  ) const) static_cast<Standard_Integer (TCollection_AsciiString::*)( const Standard_CString  ) const>(&TCollection_AsciiString::Search),
             R"#(Searches a CString in <me> from the beginning and returns position of first item <what> matching. it returns -1 if not found. Example: aString contains "Sample single test" aString.Search("le") returns 5)#"  , py::arg("what")
          )
        .def("Search",
             (Standard_Integer (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<Standard_Integer (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::Search),
             R"#(Searches an AsciiString in <me> from the beginning and returns position of first item <what> matching. It returns -1 if not found.)#"  , py::arg("what")
          )
        .def("SearchFromEnd",
             (Standard_Integer (TCollection_AsciiString::*)( const Standard_CString  ) const) static_cast<Standard_Integer (TCollection_AsciiString::*)( const Standard_CString  ) const>(&TCollection_AsciiString::SearchFromEnd),
             R"#(Searches a CString in a AsciiString from the end and returns position of first item <what> matching. It returns -1 if not found. Example: aString contains "Sample single test" aString.SearchFromEnd("le") returns 12)#"  , py::arg("what")
          )
        .def("SearchFromEnd",
             (Standard_Integer (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<Standard_Integer (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::SearchFromEnd),
             R"#(Searches a AsciiString in another AsciiString from the end and returns position of first item <what> matching. It returns -1 if not found.)#"  , py::arg("what")
          )
        .def("SetValue",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Character  ) >(&TCollection_AsciiString::SetValue),
             R"#(Replaces one character in the AsciiString at position <where>. If <where> is less than zero or greater than the length of <me> an exception is raised. Example: aString contains "Garbake" astring.Replace(6,'g') gives <me> = "Garbage")#"  , py::arg("where"),  py::arg("what")
          )
        .def("SetValue",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_CString  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_CString  ) >(&TCollection_AsciiString::SetValue),
             R"#(Replaces a part of <me> by a CString. If <where> is less than zero or greater than the length of <me> an exception is raised. Example: aString contains "abcde" aString.SetValue(4,"1234567") gives <me> = "abc1234567")#"  , py::arg("where"),  py::arg("what")
          )
        .def("SetValue",
             (void (TCollection_AsciiString::*)( const Standard_Integer ,  const TCollection_AsciiString &  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer ,  const TCollection_AsciiString &  ) >(&TCollection_AsciiString::SetValue),
             R"#(Replaces a part of <me> by another AsciiString.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("Split",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer  ) ) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer  ) >(&TCollection_AsciiString::Split),
             R"#(Splits a AsciiString into two sub-strings. Example: aString contains "abcdefg" aString.Split(3) gives <me> = "abc" and returns "defg")#"  , py::arg("where")
          )
        .def("SubString",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Integer  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_AsciiString::SubString),
             R"#(Creation of a sub-string of the string <me>. The sub-string starts to the index Fromindex and ends to the index ToIndex. Raises an exception if ToIndex or FromIndex is out of bounds Example: before me = "abcdefg", ToIndex=3, FromIndex=6 after me = "abcdefg" returns "cdef")#"  , py::arg("FromIndex"),  py::arg("ToIndex")
          )
        .def("ToCString",
             (Standard_CString (TCollection_AsciiString::*)() const) static_cast<Standard_CString (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::ToCString),
             R"#(Returns pointer to AsciiString (char *). This is useful for some casual manipulations. Warning: Because this "char *" is 'const', you can't modify its contents.)#" 
          )
        .def("Token",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_CString ,  const Standard_Integer  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_CString ,  const Standard_Integer  ) const>(&TCollection_AsciiString::Token),
             R"#(Extracts <whichone> token from <me>. By default, the <separators> is set to space and tabulation. By default, the token extracted is the first one (whichone = 1). <separators> contains all separators you need. If no token indexed by <whichone> is found, it returns empty AsciiString. Example: aString contains "This is a message" aString.Token() returns "This" aString.Token(" ",4) returns "message" aString.Token(" ",2) returns "is" aString.Token(" ",9) returns "" Other separators than space character and tabulation are allowed : aString contains "1234; test:message , value" aString.Token("; :,",4) returns "value" aString.Token("; :,",2) returns "test")#"  , py::arg("separators")=static_cast<const Standard_CString>(" \t"),  py::arg("whichone")=static_cast<const Standard_Integer>(1)
          )
        .def("Trunc",
             (void (TCollection_AsciiString::*)( const Standard_Integer  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer  ) >(&TCollection_AsciiString::Trunc),
             R"#(Truncates <me> to <ahowmany> characters. Example: me = "Hello Dolly" -> Trunc(3) -> me = "Hel")#"  , py::arg("ahowmany")
          )
        .def("UpperCase",
             (void (TCollection_AsciiString::*)() ) static_cast<void (TCollection_AsciiString::*)() >(&TCollection_AsciiString::UpperCase),
             R"#(Converts <me> to its upper-case equivalent.)#" 
          )
        .def("UsefullLength",
             (Standard_Integer (TCollection_AsciiString::*)() const) static_cast<Standard_Integer (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::UsefullLength),
             R"#(Length of the string ignoring all spaces (' ') and the control character at the end.)#" 
          )
        .def("Value",
             (Standard_Character (TCollection_AsciiString::*)( const Standard_Integer  ) const) static_cast<Standard_Character (TCollection_AsciiString::*)( const Standard_Integer  ) const>(&TCollection_AsciiString::Value),
             R"#(Returns character at position <where> in <me>. If <where> is less than zero or greater than the length of <me>, an exception is raised. Example: aString contains "Hello" aString.Value(2) returns 'e')#"  , py::arg("where")
          )
        .def("HashCode",
             (size_t (TCollection_AsciiString::*)() const) static_cast<size_t (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::HashCode),
             R"#(Computes a hash code for the given ASCII string Returns the same integer value as the hash function for TCollection_ExtendedString)#" 
          )
        .def("ToCString",
             (Standard_CString (TCollection_AsciiString::*)() const) static_cast<Standard_CString (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::ToCString),
             R"#(Returns pointer to AsciiString (char *). This is useful for some casual manipulations. Warning: Because this "char *" is 'const', you can't modify its contents.)#" 
          )
        .def("Length",
             (Standard_Integer (TCollection_AsciiString::*)() const) static_cast<Standard_Integer (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::Length),
             R"#(Returns number of characters in <me>. This is the same functionality as 'strlen' in C. Example TCollection_AsciiString myAlphabet("abcdef"); assert ( myAlphabet.Length() == 6 ); - 1 is the position of the first character in this string. - The length of this string gives the position of its last character. - Positions less than or equal to zero, or greater than the length of this string are invalid in functions which identify a character of this string by its position.)#" 
          )
        .def("Cat",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::Cat),
             R"#(Appends <other> to me. Example: aString = aString + anotherString)#"  , py::arg("other")
          )
        .def("Cat",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_CString  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_CString  ) const>(&TCollection_AsciiString::Cat),
             R"#(Appends <other> to me. Syntax: aString = aString + "Dummy" Example: aString contains "I say " aString = aString + "Hello " + "Dolly" gives "I say Hello Dolly" To catenate more than one CString, you must put a String before. So the following example is WRONG ! aString = "Hello " + "Dolly" THIS IS NOT ALLOWED This rule is applicable to AssignCat (operator +=) too.)#"  , py::arg("other")
          )
        .def("Cat",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Character  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Character  ) const>(&TCollection_AsciiString::Cat),
             R"#(Appends <other> to me. Syntax: aString = aString + "Dummy" Example: aString contains "I say " aString = aString + "Hello " + "Dolly" gives "I say Hello Dolly" To catenate more than one CString, you must put a String before. So the following example is WRONG ! aString = "Hello " + "Dolly" THIS IS NOT ALLOWED This rule is applicable to AssignCat (operator +=) too.)#"  , py::arg("other")
          )
        .def("Cat",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer  ) const>(&TCollection_AsciiString::Cat),
             R"#(Appends <other> to me. Syntax: aString = aString + 15; Example: aString contains "I say " gives "I say 15" To catenate more than one CString, you must put a String before. So the following example is WRONG ! aString = "Hello " + "Dolly" THIS IS NOT ALLOWED This rule is applicable to AssignCat (operator +=) too.)#"  , py::arg("other")
          )
        .def("Cat",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Real  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Real  ) const>(&TCollection_AsciiString::Cat),
             R"#(Appends <other> to me. Syntax: aString = aString + 15.15; Example: aString contains "I say " gives "I say 15.15" To catenate more than one CString, you must put a String before. So the following example is WRONG ! aString = "Hello " + "Dolly" THIS IS NOT ALLOWED This rule is applicable to AssignCat (operator +=) too.)#"  , py::arg("other")
          )
        .def("HashCode",
             (size_t (TCollection_AsciiString::*)() const) static_cast<size_t (TCollection_AsciiString::*)() const>(&TCollection_AsciiString::HashCode),
             R"#(Computes a hash code for the given ASCII string Returns the same integer value as the hash function for TCollection_ExtendedString)#" 
          )
        .def("SubString",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Integer  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_AsciiString::SubString),
             R"#(Creation of a sub-string of the string <me>. The sub-string starts to the index Fromindex and ends to the index ToIndex. Raises an exception if ToIndex or FromIndex is out of bounds Example: before me = "abcdefg", ToIndex=3, FromIndex=6 after me = "abcdefg" returns "cdef")#"  , py::arg("FromIndex"),  py::arg("ToIndex")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("IsEqual_s",
                    (Standard_Boolean (*)( const TCollection_AsciiString & ,  const TCollection_AsciiString &  ) ) static_cast<Standard_Boolean (*)( const TCollection_AsciiString & ,  const TCollection_AsciiString &  ) >(&TCollection_AsciiString::IsEqual),
                    R"#(Returns True when the two strings are the same. (Just for HashCode for AsciiString))#"  , py::arg("string1"),  py::arg("string2")
          )
        .def_static("IsEqual_s",
                    (Standard_Boolean (*)( const TCollection_AsciiString & ,  const Standard_CString  ) ) static_cast<Standard_Boolean (*)( const TCollection_AsciiString & ,  const Standard_CString  ) >(&TCollection_AsciiString::IsEqual),
                    R"#(Returns True when the two strings are the same. (Just for HashCode for AsciiString))#"  , py::arg("string1"),  py::arg("string2")
          )
        .def_static("IsSameString_s",
                    (Standard_Boolean (*)( const TCollection_AsciiString & ,  const TCollection_AsciiString & ,  const Standard_Boolean  ) ) static_cast<Standard_Boolean (*)( const TCollection_AsciiString & ,  const TCollection_AsciiString & ,  const Standard_Boolean  ) >(&TCollection_AsciiString::IsSameString),
                    R"#(Returns True if the strings contain same characters.)#"  , py::arg("theString1"),  py::arg("theString2"),  py::arg("theIsCaseSensitive")
          )
    // static methods using call by reference i.s.o. return
    // operators
        .def("__iadd__",
             (void (TCollection_AsciiString::*)( const Standard_Character  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Character  ) >(&TCollection_AsciiString::operator+=),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
        .def("__iadd__",
             (void (TCollection_AsciiString::*)( const Standard_Integer  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Integer  ) >(&TCollection_AsciiString::operator+=),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
        .def("__iadd__",
             (void (TCollection_AsciiString::*)( const Standard_Real  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_Real  ) >(&TCollection_AsciiString::operator+=),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
        .def("__iadd__",
             (void (TCollection_AsciiString::*)( const Standard_CString  ) ) static_cast<void (TCollection_AsciiString::*)( const Standard_CString  ) >(&TCollection_AsciiString::operator+=),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
        .def("__iadd__",
             (void (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) ) static_cast<void (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) >(&TCollection_AsciiString::operator+=),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
        .def("__add__",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Character  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Character  ) const>(&TCollection_AsciiString::operator+),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
        .def("__add__",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Integer  ) const>(&TCollection_AsciiString::operator+),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
        .def("__add__",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Real  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_Real  ) const>(&TCollection_AsciiString::operator+),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
        .def("__add__",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_CString  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const Standard_CString  ) const>(&TCollection_AsciiString::operator+),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
        .def("__add__",
             (TCollection_AsciiString (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const) static_cast<TCollection_AsciiString (TCollection_AsciiString::*)( const TCollection_AsciiString &  ) const>(&TCollection_AsciiString::operator+),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

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


    // nested enums

    static_cast<py::class_<TCollection_ExtendedString , shared_ptr<TCollection_ExtendedString>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Standard_CString,const Standard_Boolean >()  , py::arg("astring"),  py::arg("isMultiByte")=static_cast<const Standard_Boolean>(Standard_False) )
        .def(py::init< const Standard_ExtString >()  , py::arg("astring") )
        .def(py::init< const Standard_WideChar * >()  , py::arg("theStringUtf") )
        .def(py::init< const Standard_Character >()  , py::arg("aChar") )
        .def(py::init< const Standard_ExtCharacter >()  , py::arg("aChar") )
        .def(py::init< const Standard_Integer,const Standard_ExtCharacter >()  , py::arg("length"),  py::arg("filler") )
        .def(py::init< const Standard_Integer >()  , py::arg("value") )
        .def(py::init< const Standard_Real >()  , py::arg("value") )
        .def(py::init< const TCollection_ExtendedString & >()  , py::arg("astring") )
        .def(py::init< const TCollection_AsciiString &,const Standard_Boolean >()  , py::arg("astring"),  py::arg("isMultiByte")=static_cast<const Standard_Boolean>(Standard_True) )
    // custom constructors
    // methods
        .def("AssignCat",
             (void (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) ) static_cast<void (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) >(&TCollection_ExtendedString::AssignCat),
             R"#(Appends the other extended string to this extended string. Note that this method is an alias of operator +=. Example: aString += anotherString)#"  , py::arg("other")
          )
        .def("AssignCat",
             (void (TCollection_ExtendedString::*)( const Standard_Utf16Char  ) ) static_cast<void (TCollection_ExtendedString::*)( const Standard_Utf16Char  ) >(&TCollection_ExtendedString::AssignCat),
             R"#(Appends the utf16 char to this extended string.)#"  , py::arg("theChar")
          )
        .def("Cat",
             (TCollection_ExtendedString (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const) static_cast<TCollection_ExtendedString (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const>(&TCollection_ExtendedString::Cat),
             R"#(Appends <other> to me.)#"  , py::arg("other")
          )
        .def("ChangeAll",
             (void (TCollection_ExtendedString::*)( const Standard_ExtCharacter ,  const Standard_ExtCharacter  ) ) static_cast<void (TCollection_ExtendedString::*)( const Standard_ExtCharacter ,  const Standard_ExtCharacter  ) >(&TCollection_ExtendedString::ChangeAll),
             R"#(Substitutes all the characters equal to aChar by NewChar in the ExtendedString <me>. The substitution can be case sensitive. If you don't use default case sensitive, no matter whether aChar is uppercase or not.)#"  , py::arg("aChar"),  py::arg("NewChar")
          )
        .def("Clear",
             (void (TCollection_ExtendedString::*)() ) static_cast<void (TCollection_ExtendedString::*)() >(&TCollection_ExtendedString::Clear),
             R"#(Removes all characters contained in <me>. This produces an empty ExtendedString.)#" 
          )
        .def("Copy",
             (void (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) ) static_cast<void (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) >(&TCollection_ExtendedString::Copy),
             R"#(Copy <fromwhere> to <me>. Used as operator =)#"  , py::arg("fromwhere")
          )
        .def("Swap",
             (void (TCollection_ExtendedString::*)( TCollection_ExtendedString &  ) ) static_cast<void (TCollection_ExtendedString::*)( TCollection_ExtendedString &  ) >(&TCollection_ExtendedString::Swap),
             R"#(Exchange the data of two strings (without reallocating memory).)#"  , py::arg("theOther")
          )
        .def("Insert",
             (void (TCollection_ExtendedString::*)( const Standard_Integer ,  const Standard_ExtCharacter  ) ) static_cast<void (TCollection_ExtendedString::*)( const Standard_Integer ,  const Standard_ExtCharacter  ) >(&TCollection_ExtendedString::Insert),
             R"#(Insert a Character at position <where>.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("Insert",
             (void (TCollection_ExtendedString::*)( const Standard_Integer ,  const TCollection_ExtendedString &  ) ) static_cast<void (TCollection_ExtendedString::*)( const Standard_Integer ,  const TCollection_ExtendedString &  ) >(&TCollection_ExtendedString::Insert),
             R"#(Insert a ExtendedString at position <where>.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("IsEmpty",
             (Standard_Boolean (TCollection_ExtendedString::*)() const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)() const>(&TCollection_ExtendedString::IsEmpty),
             R"#(Returns True if this string contains no characters.)#" 
          )
        .def("IsEqual",
             (Standard_Boolean (TCollection_ExtendedString::*)( const Standard_ExtString  ) const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)( const Standard_ExtString  ) const>(&TCollection_ExtendedString::IsEqual),
             R"#(Returns true if the characters in this extended string are identical to the characters in the other extended string. Note that this method is an alias of operator ==)#"  , py::arg("other")
          )
        .def("IsEqual",
             (Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const>(&TCollection_ExtendedString::IsEqual),
             R"#(Returns true if the characters in this extended string are identical to the characters in the other extended string. Note that this method is an alias of operator ==)#"  , py::arg("other")
          )
        .def("IsDifferent",
             (Standard_Boolean (TCollection_ExtendedString::*)( const Standard_ExtString  ) const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)( const Standard_ExtString  ) const>(&TCollection_ExtendedString::IsDifferent),
             R"#(Returns true if there are differences between the characters in this extended string and the other extended string. Note that this method is an alias of operator !=.)#"  , py::arg("other")
          )
        .def("IsDifferent",
             (Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const>(&TCollection_ExtendedString::IsDifferent),
             R"#(Returns true if there are differences between the characters in this extended string and the other extended string. Note that this method is an alias of operator !=.)#"  , py::arg("other")
          )
        .def("IsLess",
             (Standard_Boolean (TCollection_ExtendedString::*)( const Standard_ExtString  ) const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)( const Standard_ExtString  ) const>(&TCollection_ExtendedString::IsLess),
             R"#(Returns TRUE if <me> is less than <other>.)#"  , py::arg("other")
          )
        .def("IsLess",
             (Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const>(&TCollection_ExtendedString::IsLess),
             R"#(Returns TRUE if <me> is less than <other>.)#"  , py::arg("other")
          )
        .def("IsGreater",
             (Standard_Boolean (TCollection_ExtendedString::*)( const Standard_ExtString  ) const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)( const Standard_ExtString  ) const>(&TCollection_ExtendedString::IsGreater),
             R"#(Returns TRUE if <me> is greater than <other>.)#"  , py::arg("other")
          )
        .def("IsGreater",
             (Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const>(&TCollection_ExtendedString::IsGreater),
             R"#(Returns TRUE if <me> is greater than <other>.)#"  , py::arg("other")
          )
        .def("StartsWith",
             (Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const>(&TCollection_ExtendedString::StartsWith),
             R"#(Determines whether the beginning of this string instance matches the specified string.)#"  , py::arg("theStartString")
          )
        .def("EndsWith",
             (Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const>(&TCollection_ExtendedString::EndsWith),
             R"#(Determines whether the end of this string instance matches the specified string.)#"  , py::arg("theEndString")
          )
        .def("IsAscii",
             (Standard_Boolean (TCollection_ExtendedString::*)() const) static_cast<Standard_Boolean (TCollection_ExtendedString::*)() const>(&TCollection_ExtendedString::IsAscii),
             R"#(Returns True if the ExtendedString contains only "Ascii Range" characters .)#" 
          )
        .def("Length",
             (Standard_Integer (TCollection_ExtendedString::*)() const) static_cast<Standard_Integer (TCollection_ExtendedString::*)() const>(&TCollection_ExtendedString::Length),
             R"#(Returns the number of 16-bit code units (might be greater than number of Unicode symbols if string contains surrogate pairs).)#" 
          )
        .def("Print",
             (void (TCollection_ExtendedString::*)( std::ostream &  ) const) static_cast<void (TCollection_ExtendedString::*)( std::ostream &  ) const>(&TCollection_ExtendedString::Print),
             R"#(Displays <me> .)#"  , py::arg("astream")
          )
        .def("RemoveAll",
             (void (TCollection_ExtendedString::*)( const Standard_ExtCharacter  ) ) static_cast<void (TCollection_ExtendedString::*)( const Standard_ExtCharacter  ) >(&TCollection_ExtendedString::RemoveAll),
             R"#(Removes every <what> characters from <me>.)#"  , py::arg("what")
          )
        .def("Remove",
             (void (TCollection_ExtendedString::*)( const Standard_Integer ,  const Standard_Integer  ) ) static_cast<void (TCollection_ExtendedString::*)( const Standard_Integer ,  const Standard_Integer  ) >(&TCollection_ExtendedString::Remove),
             R"#(Erases <ahowmany> characters from position <where>,<where> included.)#"  , py::arg("where"),  py::arg("ahowmany")=static_cast<const Standard_Integer>(1)
          )
        .def("Search",
             (Standard_Integer (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const) static_cast<Standard_Integer (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const>(&TCollection_ExtendedString::Search),
             R"#(Searches a ExtendedString in <me> from the beginning and returns position of first item <what> matching. it returns -1 if not found.)#"  , py::arg("what")
          )
        .def("SearchFromEnd",
             (Standard_Integer (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const) static_cast<Standard_Integer (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const>(&TCollection_ExtendedString::SearchFromEnd),
             R"#(Searches a ExtendedString in another ExtendedString from the end and returns position of first item <what> matching. it returns -1 if not found.)#"  , py::arg("what")
          )
        .def("SetValue",
             (void (TCollection_ExtendedString::*)( const Standard_Integer ,  const Standard_ExtCharacter  ) ) static_cast<void (TCollection_ExtendedString::*)( const Standard_Integer ,  const Standard_ExtCharacter  ) >(&TCollection_ExtendedString::SetValue),
             R"#(Replaces one character in the ExtendedString at position <where>. If <where> is less than zero or greater than the length of <me> an exception is raised.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("SetValue",
             (void (TCollection_ExtendedString::*)( const Standard_Integer ,  const TCollection_ExtendedString &  ) ) static_cast<void (TCollection_ExtendedString::*)( const Standard_Integer ,  const TCollection_ExtendedString &  ) >(&TCollection_ExtendedString::SetValue),
             R"#(Replaces a part of <me> by another ExtendedString see above.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("Split",
             (TCollection_ExtendedString (TCollection_ExtendedString::*)( const Standard_Integer  ) ) static_cast<TCollection_ExtendedString (TCollection_ExtendedString::*)( const Standard_Integer  ) >(&TCollection_ExtendedString::Split),
             R"#(Splits this extended string into two sub-strings at position where. - The second sub-string (from position where + 1 of this string to the end) is returned in a new extended string. - this extended string is modified: its last characters are removed, it becomes equal to the first sub-string (from the first character to position where). Example: aString contains "abcdefg" aString.Split(3) gives <me> = "abc" and returns "defg")#"  , py::arg("where")
          )
        .def("Token",
             (TCollection_ExtendedString (TCollection_ExtendedString::*)( const Standard_ExtString ,  const Standard_Integer  ) const) static_cast<TCollection_ExtendedString (TCollection_ExtendedString::*)( const Standard_ExtString ,  const Standard_Integer  ) const>(&TCollection_ExtendedString::Token),
             R"#(Extracts <whichone> token from <me>. By default, the <separators> is set to space and tabulation. By default, the token extracted is the first one (whichone = 1). <separators> contains all separators you need. If no token indexed by <whichone> is found, it returns an empty AsciiString. Example: aString contains "This is a message" aString.Token() returns "This" aString.Token(" ",4) returns "message" aString.Token(" ",2) returns "is" aString.Token(" ",9) returns "" Other separators than space character and tabulation are allowed : aString contains "1234; test:message , value" aString.Token("; :,",4) returns "value" aString.Token("; :,",2) returns "test")#"  , py::arg("separators"),  py::arg("whichone")=static_cast<const Standard_Integer>(1)
          )
        .def("ToExtString",
             (Standard_ExtString (TCollection_ExtendedString::*)() const) static_cast<Standard_ExtString (TCollection_ExtendedString::*)() const>(&TCollection_ExtendedString::ToExtString),
             R"#(Returns pointer to ExtString)#" 
          )
        .def("Trunc",
             (void (TCollection_ExtendedString::*)( const Standard_Integer  ) ) static_cast<void (TCollection_ExtendedString::*)( const Standard_Integer  ) >(&TCollection_ExtendedString::Trunc),
             R"#(Truncates <me> to <ahowmany> characters. Example: me = "Hello Dolly" -> Trunc(3) -> me = "Hel" Exceptions Standard_OutOfRange if ahowmany is greater than the length of this string.)#"  , py::arg("ahowmany")
          )
        .def("Value",
             (Standard_ExtCharacter (TCollection_ExtendedString::*)( const Standard_Integer  ) const) static_cast<Standard_ExtCharacter (TCollection_ExtendedString::*)( const Standard_Integer  ) const>(&TCollection_ExtendedString::Value),
             R"#(Returns character at position <where> in <me>. If <where> is less than zero or greater than the length of <me>, an exception is raised. Example: aString contains "Hello" aString.Value(2) returns 'e' Exceptions Standard_OutOfRange if where lies outside the bounds of this extended string.)#"  , py::arg("where")
          )
        .def("HashCode",
             (size_t (TCollection_ExtendedString::*)() const) static_cast<size_t (TCollection_ExtendedString::*)() const>(&TCollection_ExtendedString::HashCode),
             R"#(Returns a hashed value for the extended string. Note: if string is ASCII, the computed value is the same as the value computed with the HashCode function on a TCollection_AsciiString string composed with equivalent ASCII characters.)#" 
          )
        .def("LengthOfCString",
             (Standard_Integer (TCollection_ExtendedString::*)() const) static_cast<Standard_Integer (TCollection_ExtendedString::*)() const>(&TCollection_ExtendedString::LengthOfCString),
             R"#(Returns expected CString length in UTF8 coding. It can be used for memory calculation before converting to CString containing symbols in UTF8 coding.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("IsEqual_s",
                    (Standard_Boolean (*)( const TCollection_ExtendedString & ,  const TCollection_ExtendedString &  ) ) static_cast<Standard_Boolean (*)( const TCollection_ExtendedString & ,  const TCollection_ExtendedString &  ) >(&TCollection_ExtendedString::IsEqual),
                    R"#(Returns true if the characters in this extended string are identical to the characters in the other extended string. Note that this method is an alias of operator ==.)#"  , py::arg("theString1"),  py::arg("theString2")
          )
    // static methods using call by reference i.s.o. return
    // operators
        .def("__iadd__",
             (void (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) ) static_cast<void (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) >(&TCollection_ExtendedString::operator+=),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
        .def("__add__",
             (TCollection_ExtendedString (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const) static_cast<TCollection_ExtendedString (TCollection_ExtendedString::*)( const TCollection_ExtendedString &  ) const>(&TCollection_ExtendedString::operator+),
             py::is_operator(),
             R"#(None)#"  , py::arg("other")
          )
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

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


    // nested enums

    static_cast<py::class_<TCollection_HAsciiString ,opencascade::handle<TCollection_HAsciiString>  , Standard_Transient >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Standard_CString >()  , py::arg("message") )
        .def(py::init< const Standard_Character >()  , py::arg("aChar") )
        .def(py::init< const Standard_Integer,const Standard_Character >()  , py::arg("length"),  py::arg("filler") )
        .def(py::init< const Standard_Integer >()  , py::arg("value") )
        .def(py::init< const Standard_Real >()  , py::arg("value") )
        .def(py::init< const TCollection_AsciiString & >()  , py::arg("aString") )
        .def(py::init< const opencascade::handle<TCollection_HAsciiString> & >()  , py::arg("aString") )
        .def(py::init< const opencascade::handle<TCollection_HExtendedString> &,const Standard_Character >()  , py::arg("aString"),  py::arg("replaceNonAscii") )
    // custom constructors
    // methods
        .def("AssignCat",
             (void (TCollection_HAsciiString::*)( const Standard_CString  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_CString  ) >(&TCollection_HAsciiString::AssignCat),
             R"#(Appends <other> to me.)#"  , py::arg("other")
          )
        .def("AssignCat",
             (void (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) ) static_cast<void (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) >(&TCollection_HAsciiString::AssignCat),
             R"#(Appends <other> to me. Example: aString = aString + anotherString)#"  , py::arg("other")
          )
        .def("Capitalize",
             (void (TCollection_HAsciiString::*)() ) static_cast<void (TCollection_HAsciiString::*)() >(&TCollection_HAsciiString::Capitalize),
             R"#(Converts the first character into its corresponding upper-case character and the other characters into lowercase. Example: before me = "hellO " after me = "Hello ")#" 
          )
        .def("Cat",
             (opencascade::handle<TCollection_HAsciiString> (TCollection_HAsciiString::*)( const Standard_CString  ) const) static_cast<opencascade::handle<TCollection_HAsciiString> (TCollection_HAsciiString::*)( const Standard_CString  ) const>(&TCollection_HAsciiString::Cat),
             R"#(Creates a new string by concatenation of this ASCII string and the other ASCII string. Example: aString = aString + anotherString aString = aString + "Dummy" aString contains "I say " aString = aString + "Hello " + "Dolly" gives "I say Hello Dolly" Warning: To catenate more than one CString, you must put a String before. So the following example is WRONG ! aString = "Hello " + "Dolly" THIS IS NOT ALLOWED This rule is applicable to AssignCat (operator +=) too.)#"  , py::arg("other")
          )
        .def("Cat",
             (opencascade::handle<TCollection_HAsciiString> (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const) static_cast<opencascade::handle<TCollection_HAsciiString> (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const>(&TCollection_HAsciiString::Cat),
             R"#(Creates a new string by concatenation of this ASCII string and the other ASCII string. Example: aString = aString + anotherString)#"  , py::arg("other")
          )
        .def("Center",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character  ) >(&TCollection_HAsciiString::Center),
             R"#(Modifies this ASCII string so that its length becomes equal to Width and the new characters are equal to Filler. New characters are added both at the beginning and at the end of this string. If Width is less than the length of this ASCII string, nothing happens. Example Handle(TCollection_HAsciiString) myAlphabet = new TCollection_HAsciiString ("abcdef"); myAlphabet->Center(9,' '); assert ( !strcmp( myAlphabet->ToCString(), " abcdef ") );)#"  , py::arg("Width"),  py::arg("Filler")
          )
        .def("ChangeAll",
             (void (TCollection_HAsciiString::*)( const Standard_Character ,  const Standard_Character ,  const Standard_Boolean  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Character ,  const Standard_Character ,  const Standard_Boolean  ) >(&TCollection_HAsciiString::ChangeAll),
             R"#(Replaces all characters equal to aChar by NewChar in this ASCII string. The substitution is case sensitive if CaseSensitive is true (default value). If you do not use the default case sensitive option, it does not matter whether aChar is upper-case or not. Example Handle(TCollection_HAsciiString) myMistake = new TCollection_HAsciiString ("Hather"); myMistake->ChangeAll('H','F'); assert ( !strcmp( myMistake->ToCString(), "Father") );)#"  , py::arg("aChar"),  py::arg("NewChar"),  py::arg("CaseSensitive")=static_cast<const Standard_Boolean>(Standard_True)
          )
        .def("Clear",
             (void (TCollection_HAsciiString::*)() ) static_cast<void (TCollection_HAsciiString::*)() >(&TCollection_HAsciiString::Clear),
             R"#(Removes all characters contained in <me>. This produces an empty HAsciiString.)#" 
          )
        .def("FirstLocationInSet",
             (Standard_Integer (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> & ,  const Standard_Integer ,  const Standard_Integer  ) const) static_cast<Standard_Integer (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> & ,  const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_HAsciiString::FirstLocationInSet),
             R"#(Returns the index of the first character of <me> that is present in <Set>. The search begins to the index FromIndex and ends to the the index ToIndex. Returns zero if failure. Raises an exception if FromIndex or ToIndex is out of range Example: before me = "aabAcAa", S = "Aa", FromIndex = 1, Toindex = 7 after me = "aabAcAa" returns 1)#"  , py::arg("Set"),  py::arg("FromIndex"),  py::arg("ToIndex")
          )
        .def("FirstLocationNotInSet",
             (Standard_Integer (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> & ,  const Standard_Integer ,  const Standard_Integer  ) const) static_cast<Standard_Integer (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> & ,  const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_HAsciiString::FirstLocationNotInSet),
             R"#(Returns the index of the first character of <me> that is not present in the set <Set>. The search begins to the index FromIndex and ends to the the index ToIndex in <me>. Returns zero if failure. Raises an exception if FromIndex or ToIndex is out of range. Example: before me = "aabAcAa", S = "Aa", FromIndex = 1, Toindex = 7 after me = "aabAcAa" returns 3)#"  , py::arg("Set"),  py::arg("FromIndex"),  py::arg("ToIndex")
          )
        .def("Insert",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character  ) >(&TCollection_HAsciiString::Insert),
             R"#(Insert a Character at position <where>. Example: aString contains "hy not ?" aString.Insert(1,'W'); gives "Why not ?" aString contains "Wh" aString.Insert(3,'y'); gives "Why" aString contains "Way" aString.Insert(2,'h'); gives "Why")#"  , py::arg("where"),  py::arg("what")
          )
        .def("Insert",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_CString  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_CString  ) >(&TCollection_HAsciiString::Insert),
             R"#(Insert a HAsciiString at position <where>.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("Insert",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HAsciiString> &  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HAsciiString> &  ) >(&TCollection_HAsciiString::Insert),
             R"#(Insert a HAsciiString at position <where>.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("InsertAfter",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HAsciiString> &  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HAsciiString> &  ) >(&TCollection_HAsciiString::InsertAfter),
             R"#(Inserts the other ASCII string a after a specific index in the string <me> Example: before me = "cde" , Index = 0 , other = "ab" after me = "abcde" , other = "ab")#"  , py::arg("Index"),  py::arg("other")
          )
        .def("InsertBefore",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HAsciiString> &  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HAsciiString> &  ) >(&TCollection_HAsciiString::InsertBefore),
             R"#(Inserts the other ASCII string a before a specific index in the string <me> Raises an exception if Index is out of bounds Example: before me = "cde" , Index = 1 , other = "ab" after me = "abcde" , other = "ab")#"  , py::arg("Index"),  py::arg("other")
          )
        .def("IsEmpty",
             (Standard_Boolean (TCollection_HAsciiString::*)() const) static_cast<Standard_Boolean (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::IsEmpty),
             R"#(Returns True if the string <me> contains zero character)#" 
          )
        .def("IsLess",
             (Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const) static_cast<Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const>(&TCollection_HAsciiString::IsLess),
             R"#(Returns TRUE if <me> is 'ASCII' less than <other>.)#"  , py::arg("other")
          )
        .def("IsGreater",
             (Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const) static_cast<Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const>(&TCollection_HAsciiString::IsGreater),
             R"#(Returns TRUE if <me> is 'ASCII' greater than <other>.)#"  , py::arg("other")
          )
        .def("IntegerValue",
             (Standard_Integer (TCollection_HAsciiString::*)() const) static_cast<Standard_Integer (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::IntegerValue),
             R"#(Converts a HAsciiString containing a numeric expression to an Integer. Example: "215" returns 215.)#" 
          )
        .def("IsIntegerValue",
             (Standard_Boolean (TCollection_HAsciiString::*)() const) static_cast<Standard_Boolean (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::IsIntegerValue),
             R"#(Returns True if the string contains an integer value.)#" 
          )
        .def("IsRealValue",
             (Standard_Boolean (TCollection_HAsciiString::*)() const) static_cast<Standard_Boolean (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::IsRealValue),
             R"#(Returns True if the string contains a real value.)#" 
          )
        .def("IsAscii",
             (Standard_Boolean (TCollection_HAsciiString::*)() const) static_cast<Standard_Boolean (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::IsAscii),
             R"#(Returns True if the string contains only ASCII characters between ' ' and '~'. This means no control character and no extended ASCII code.)#" 
          )
        .def("IsDifferent",
             (Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const) static_cast<Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const>(&TCollection_HAsciiString::IsDifferent),
             R"#(Returns True if the string S not contains same characters than the string <me>.)#"  , py::arg("S")
          )
        .def("IsSameString",
             (Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const) static_cast<Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const>(&TCollection_HAsciiString::IsSameString),
             R"#(Returns True if the string S contains same characters than the string <me>.)#"  , py::arg("S")
          )
        .def("IsSameString",
             (Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> & ,  const Standard_Boolean  ) const) static_cast<Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> & ,  const Standard_Boolean  ) const>(&TCollection_HAsciiString::IsSameString),
             R"#(Returns True if the string S contains same characters than the string <me>.)#"  , py::arg("S"),  py::arg("CaseSensitive")
          )
        .def("LeftAdjust",
             (void (TCollection_HAsciiString::*)() ) static_cast<void (TCollection_HAsciiString::*)() >(&TCollection_HAsciiString::LeftAdjust),
             R"#(Removes all space characters in the beginning of the string)#" 
          )
        .def("LeftJustify",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character  ) >(&TCollection_HAsciiString::LeftJustify),
             R"#(Left justify. Length becomes equal to Width and the new characters are equal to Filler if Width < Length nothing happens Raises an exception if Width is less than zero Example: before me = "abcdef" , Width = 9 , Filler = ' ' after me = "abcdef ")#"  , py::arg("Width"),  py::arg("Filler")
          )
        .def("Length",
             (Standard_Integer (TCollection_HAsciiString::*)() const) static_cast<Standard_Integer (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::Length),
             R"#(Returns number of characters in <me>. This is the same functionality as 'strlen' in C.)#" 
          )
        .def("Location",
             (Standard_Integer (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> & ,  const Standard_Integer ,  const Standard_Integer  ) const) static_cast<Standard_Integer (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> & ,  const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_HAsciiString::Location),
             R"#(returns an index in the string <me> of the first occurrence of the string S in the string <me> from the starting index FromIndex to the ending index ToIndex returns zero if failure Raises an exception if FromIndex or ToIndex is out of range. Example: before me = "aabAaAa", S = "Aa", FromIndex = 1, ToIndex = 7 after me = "aabAaAa" returns 4)#"  , py::arg("other"),  py::arg("FromIndex"),  py::arg("ToIndex")
          )
        .def("Location",
             (Standard_Integer (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character ,  const Standard_Integer ,  const Standard_Integer  ) const) static_cast<Standard_Integer (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character ,  const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_HAsciiString::Location),
             R"#(Returns the index of the nth occurrence of the character C in the string <me> from the starting index FromIndex to the ending index ToIndex. Returns zero if failure. Raises an exception if FromIndex or ToIndex is out of range Example: before me = "aabAa", N = 3, C = 'a', FromIndex = 1, ToIndex = 5 after me = "aabAa" returns 5)#"  , py::arg("N"),  py::arg("C"),  py::arg("FromIndex"),  py::arg("ToIndex")
          )
        .def("LowerCase",
             (void (TCollection_HAsciiString::*)() ) static_cast<void (TCollection_HAsciiString::*)() >(&TCollection_HAsciiString::LowerCase),
             R"#(Converts <me> to its lower-case equivalent.)#" 
          )
        .def("Prepend",
             (void (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) ) static_cast<void (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) >(&TCollection_HAsciiString::Prepend),
             R"#(Inserts the other string at the beginning of the string <me> Example: before me = "cde" , S = "ab" after me = "abcde" , S = "ab")#"  , py::arg("other")
          )
        .def("Print",
             (void (TCollection_HAsciiString::*)( std::ostream &  ) const) static_cast<void (TCollection_HAsciiString::*)( std::ostream &  ) const>(&TCollection_HAsciiString::Print),
             R"#(Prints this string on the stream <astream>.)#"  , py::arg("astream")
          )
        .def("RealValue",
             (Standard_Real (TCollection_HAsciiString::*)() const) static_cast<Standard_Real (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::RealValue),
             R"#(Converts a string containing a numeric expression to a Real. Example: "215" returns 215.0. "3.14159267" returns 3.14159267.)#" 
          )
        .def("RemoveAll",
             (void (TCollection_HAsciiString::*)( const Standard_Character ,  const Standard_Boolean  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Character ,  const Standard_Boolean  ) >(&TCollection_HAsciiString::RemoveAll),
             R"#(Remove all the occurrences of the character C in the string Example: before me = "HellLLo", C = 'L' , CaseSensitive = True after me = "Hello")#"  , py::arg("C"),  py::arg("CaseSensitive")
          )
        .def("RemoveAll",
             (void (TCollection_HAsciiString::*)( const Standard_Character  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Character  ) >(&TCollection_HAsciiString::RemoveAll),
             R"#(Removes every <what> characters from <me>)#"  , py::arg("what")
          )
        .def("Remove",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Integer  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Integer  ) >(&TCollection_HAsciiString::Remove),
             R"#(Erases <ahowmany> characters from position <where>, <where> included. Example: aString contains "Hello" aString.Erase(2,2) erases 2 characters from position 1 This gives "Hlo".)#"  , py::arg("where"),  py::arg("ahowmany")=static_cast<const Standard_Integer>(1)
          )
        .def("RightAdjust",
             (void (TCollection_HAsciiString::*)() ) static_cast<void (TCollection_HAsciiString::*)() >(&TCollection_HAsciiString::RightAdjust),
             R"#(Removes all space characters at the end of the string.)#" 
          )
        .def("RightJustify",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character  ) >(&TCollection_HAsciiString::RightJustify),
             R"#(Right justify. Length becomes equal to Width and the new characters are equal to Filler if Width < Length nothing happens Raises an exception if Width is less than zero Example: before me = "abcdef" , Width = 9 , Filler = ' ' after me = " abcdef")#"  , py::arg("Width"),  py::arg("Filler")
          )
        .def("Search",
             (Standard_Integer (TCollection_HAsciiString::*)( const Standard_CString  ) const) static_cast<Standard_Integer (TCollection_HAsciiString::*)( const Standard_CString  ) const>(&TCollection_HAsciiString::Search),
             R"#(Searches a CString in <me> from the beginning and returns position of first item <what> matching. It returns -1 if not found. Example: aString contains "Sample single test" aString.Search("le") returns 5)#"  , py::arg("what")
          )
        .def("Search",
             (Standard_Integer (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const) static_cast<Standard_Integer (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const>(&TCollection_HAsciiString::Search),
             R"#(Searches a String in <me> from the beginning and returns position of first item <what> matching. it returns -1 if not found.)#"  , py::arg("what")
          )
        .def("SearchFromEnd",
             (Standard_Integer (TCollection_HAsciiString::*)( const Standard_CString  ) const) static_cast<Standard_Integer (TCollection_HAsciiString::*)( const Standard_CString  ) const>(&TCollection_HAsciiString::SearchFromEnd),
             R"#(Searches a CString in a String from the end and returns position of first item <what> matching. It returns -1 if not found. Example: aString contains "Sample single test" aString.SearchFromEnd("le") returns 12)#"  , py::arg("what")
          )
        .def("SearchFromEnd",
             (Standard_Integer (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const) static_cast<Standard_Integer (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const>(&TCollection_HAsciiString::SearchFromEnd),
             R"#(Searches a HAsciiString in another HAsciiString from the end and returns position of first item <what> matching. It returns -1 if not found.)#"  , py::arg("what")
          )
        .def("SetValue",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Character  ) >(&TCollection_HAsciiString::SetValue),
             R"#(Replaces one character in the string at position <where>. If <where> is less than zero or greater than the length of <me> an exception is raised. Example: aString contains "Garbake" astring.Replace(6,'g') gives <me> = "Garbage")#"  , py::arg("where"),  py::arg("what")
          )
        .def("SetValue",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_CString  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_CString  ) >(&TCollection_HAsciiString::SetValue),
             R"#(Replaces a part of <me> in the string at position <where>. If <where> is less than zero or greater than the length of <me> an exception is raised. Example: aString contains "Garbake" astring.Replace(6,'g') gives <me> = "Garbage")#"  , py::arg("where"),  py::arg("what")
          )
        .def("SetValue",
             (void (TCollection_HAsciiString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HAsciiString> &  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HAsciiString> &  ) >(&TCollection_HAsciiString::SetValue),
             R"#(Replaces a part of <me> by another string.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("Split",
             (opencascade::handle<TCollection_HAsciiString> (TCollection_HAsciiString::*)( const Standard_Integer  ) ) static_cast<opencascade::handle<TCollection_HAsciiString> (TCollection_HAsciiString::*)( const Standard_Integer  ) >(&TCollection_HAsciiString::Split),
             R"#(Splits a HAsciiString into two sub-strings. Example: aString contains "abcdefg" aString.Split(3) gives <me> = "abc" and returns "defg")#"  , py::arg("where")
          )
        .def("SubString",
             (opencascade::handle<TCollection_HAsciiString> (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Integer  ) const) static_cast<opencascade::handle<TCollection_HAsciiString> (TCollection_HAsciiString::*)( const Standard_Integer ,  const Standard_Integer  ) const>(&TCollection_HAsciiString::SubString),
             R"#(Creation of a sub-string of the string <me>. The sub-string starts to the index Fromindex and ends to the index ToIndex. Raises an exception if ToIndex or FromIndex is out of bounds Example: before me = "abcdefg", ToIndex=3, FromIndex=6 after me = "abcdefg" returns "cdef")#"  , py::arg("FromIndex"),  py::arg("ToIndex")
          )
        .def("ToCString",
             (Standard_CString (TCollection_HAsciiString::*)() const) static_cast<Standard_CString (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::ToCString),
             R"#(Returns pointer to string (char *) This is useful for some casual manipulations Because this "char *" is 'const', you can't modify its contents.)#" 
          )
        .def("Token",
             (opencascade::handle<TCollection_HAsciiString> (TCollection_HAsciiString::*)( const Standard_CString ,  const Standard_Integer  ) const) static_cast<opencascade::handle<TCollection_HAsciiString> (TCollection_HAsciiString::*)( const Standard_CString ,  const Standard_Integer  ) const>(&TCollection_HAsciiString::Token),
             R"#(Extracts <whichone> token from <me>. By default, the <separators> is set to space and tabulation. By default, the token extracted is the first one (whichone = 1). <separators> contains all separators you need. If no token indexed by <whichone> is found, it returns an empty String. Example: aString contains "This is a message" aString.Token() returns "This" aString.Token(" ",4) returns "message" aString.Token(" ",2) returns "is" aString.Token(" ",9) returns "" Other separators than space character and tabulation are allowed aString contains "1234; test:message , value" aString.Token("; :,",4) returns "value" aString.Token("; :,",2) returns "test")#"  , py::arg("separators")=static_cast<const Standard_CString>(" \t"),  py::arg("whichone")=static_cast<const Standard_Integer>(1)
          )
        .def("Trunc",
             (void (TCollection_HAsciiString::*)( const Standard_Integer  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_Integer  ) >(&TCollection_HAsciiString::Trunc),
             R"#(Truncates <me> to <ahowmany> characters. Example: me = "Hello Dolly" -> Trunc(3) -> me = "Hel")#"  , py::arg("ahowmany")
          )
        .def("UpperCase",
             (void (TCollection_HAsciiString::*)() ) static_cast<void (TCollection_HAsciiString::*)() >(&TCollection_HAsciiString::UpperCase),
             R"#(Converts <me> to its upper-case equivalent.)#" 
          )
        .def("UsefullLength",
             (Standard_Integer (TCollection_HAsciiString::*)() const) static_cast<Standard_Integer (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::UsefullLength),
             R"#(Length of the string ignoring all spaces (' ') and the control character at the end.)#" 
          )
        .def("Value",
             (Standard_Character (TCollection_HAsciiString::*)( const Standard_Integer  ) const) static_cast<Standard_Character (TCollection_HAsciiString::*)( const Standard_Integer  ) const>(&TCollection_HAsciiString::Value),
             R"#(Returns character at position <where> in <me>. If <where> is less than zero or greater than the length of <me>, an exception is raised. Example: aString contains "Hello" aString.Value(2) returns 'e')#"  , py::arg("where")
          )
        .def("IsSameState",
             (Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const) static_cast<Standard_Boolean (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) const>(&TCollection_HAsciiString::IsSameState),
             R"#(None)#"  , py::arg("other")
          )
        .def("AssignCat",
             (void (TCollection_HAsciiString::*)( const Standard_CString  ) ) static_cast<void (TCollection_HAsciiString::*)( const Standard_CString  ) >(&TCollection_HAsciiString::AssignCat),
             R"#(Appends <other> to me.)#"  , py::arg("other")
          )
        .def("AssignCat",
             (void (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) ) static_cast<void (TCollection_HAsciiString::*)( const opencascade::handle<TCollection_HAsciiString> &  ) >(&TCollection_HAsciiString::AssignCat),
             R"#(Appends <other> to me. Example: aString = aString + anotherString)#"  , py::arg("other")
          )
        .def("Length",
             (Standard_Integer (TCollection_HAsciiString::*)() const) static_cast<Standard_Integer (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::Length),
             R"#(Returns number of characters in <me>. This is the same functionality as 'strlen' in C.)#" 
          )
        .def("ToCString",
             (Standard_CString (TCollection_HAsciiString::*)() const) static_cast<Standard_CString (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::ToCString),
             R"#(Returns pointer to string (char *) This is useful for some casual manipulations Because this "char *" is 'const', you can't modify its contents.)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&TCollection_HAsciiString::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&TCollection_HAsciiString::get_type_descriptor),
                    R"#(None)#" 
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("String",
             (const TCollection_AsciiString & (TCollection_HAsciiString::*)() const) static_cast<const TCollection_AsciiString & (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::String),
             R"#(Returns the field myString.)#"
             
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (TCollection_HAsciiString::*)() const) static_cast<const opencascade::handle<Standard_Type> & (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::DynamicType),
             R"#(None)#"
             
         )
       .def("String",
             (const TCollection_AsciiString & (TCollection_HAsciiString::*)() const) static_cast<const TCollection_AsciiString & (TCollection_HAsciiString::*)() const>(&TCollection_HAsciiString::String),
             R"#(Returns the field myString.)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TCollection_HExtendedString ,opencascade::handle<TCollection_HExtendedString>  , Standard_Transient >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const Standard_CString >()  , py::arg("message") )
        .def(py::init< const Standard_ExtString >()  , py::arg("message") )
        .def(py::init< const Standard_ExtCharacter >()  , py::arg("aChar") )
        .def(py::init< const Standard_Integer,const Standard_ExtCharacter >()  , py::arg("length"),  py::arg("filler") )
        .def(py::init< const TCollection_ExtendedString & >()  , py::arg("aString") )
        .def(py::init< const opencascade::handle<TCollection_HAsciiString> & >()  , py::arg("aString") )
        .def(py::init< const opencascade::handle<TCollection_HExtendedString> & >()  , py::arg("aString") )
    // custom constructors
    // methods
        .def("AssignCat",
             (void (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) ) static_cast<void (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) >(&TCollection_HExtendedString::AssignCat),
             R"#(Appends <other> to me.)#"  , py::arg("other")
          )
        .def("Cat",
             (opencascade::handle<TCollection_HExtendedString> (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const) static_cast<opencascade::handle<TCollection_HExtendedString> (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const>(&TCollection_HExtendedString::Cat),
             R"#(Returns a string appending <other> to me.)#"  , py::arg("other")
          )
        .def("ChangeAll",
             (void (TCollection_HExtendedString::*)( const Standard_ExtCharacter ,  const Standard_ExtCharacter  ) ) static_cast<void (TCollection_HExtendedString::*)( const Standard_ExtCharacter ,  const Standard_ExtCharacter  ) >(&TCollection_HExtendedString::ChangeAll),
             R"#(Substitutes all the characters equal to aChar by NewChar in the string <me>.)#"  , py::arg("aChar"),  py::arg("NewChar")
          )
        .def("Clear",
             (void (TCollection_HExtendedString::*)() ) static_cast<void (TCollection_HExtendedString::*)() >(&TCollection_HExtendedString::Clear),
             R"#(Removes all characters contained in <me>. This produces an empty ExtendedString.)#" 
          )
        .def("IsEmpty",
             (Standard_Boolean (TCollection_HExtendedString::*)() const) static_cast<Standard_Boolean (TCollection_HExtendedString::*)() const>(&TCollection_HExtendedString::IsEmpty),
             R"#(Returns True if the string <me> contains zero character)#" 
          )
        .def("Insert",
             (void (TCollection_HExtendedString::*)( const Standard_Integer ,  const Standard_ExtCharacter  ) ) static_cast<void (TCollection_HExtendedString::*)( const Standard_Integer ,  const Standard_ExtCharacter  ) >(&TCollection_HExtendedString::Insert),
             R"#(Insert a ExtCharacter at position <where>. Example: aString contains "hy not ?" aString.Insert(1,'W'); gives "Why not ?" aString contains "Wh" aString.Insert(3,'y'); gives "Why" aString contains "Way" aString.Insert(2,'h'); gives "Why")#"  , py::arg("where"),  py::arg("what")
          )
        .def("Insert",
             (void (TCollection_HExtendedString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HExtendedString> &  ) ) static_cast<void (TCollection_HExtendedString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HExtendedString> &  ) >(&TCollection_HExtendedString::Insert),
             R"#(Insert a HExtendedString at position <where>.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("IsLess",
             (Standard_Boolean (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const) static_cast<Standard_Boolean (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const>(&TCollection_HExtendedString::IsLess),
             R"#(Returns TRUE if <me> is less than <other>.)#"  , py::arg("other")
          )
        .def("IsGreater",
             (Standard_Boolean (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const) static_cast<Standard_Boolean (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const>(&TCollection_HExtendedString::IsGreater),
             R"#(Returns TRUE if <me> is greater than <other>.)#"  , py::arg("other")
          )
        .def("IsAscii",
             (Standard_Boolean (TCollection_HExtendedString::*)() const) static_cast<Standard_Boolean (TCollection_HExtendedString::*)() const>(&TCollection_HExtendedString::IsAscii),
             R"#(Returns True if the string contains only "Ascii Range" characters)#" 
          )
        .def("Length",
             (Standard_Integer (TCollection_HExtendedString::*)() const) static_cast<Standard_Integer (TCollection_HExtendedString::*)() const>(&TCollection_HExtendedString::Length),
             R"#(Returns number of characters in <me>. This is the same functionality as 'strlen' in C.)#" 
          )
        .def("Remove",
             (void (TCollection_HExtendedString::*)( const Standard_Integer ,  const Standard_Integer  ) ) static_cast<void (TCollection_HExtendedString::*)( const Standard_Integer ,  const Standard_Integer  ) >(&TCollection_HExtendedString::Remove),
             R"#(Erases <ahowmany> characters from position <where>, <where> included. Example: aString contains "Hello" aString.Erase(2,2) erases 2 characters from position 1 This gives "Hlo".)#"  , py::arg("where"),  py::arg("ahowmany")=static_cast<const Standard_Integer>(1)
          )
        .def("RemoveAll",
             (void (TCollection_HExtendedString::*)( const Standard_ExtCharacter  ) ) static_cast<void (TCollection_HExtendedString::*)( const Standard_ExtCharacter  ) >(&TCollection_HExtendedString::RemoveAll),
             R"#(Removes every <what> characters from <me>.)#"  , py::arg("what")
          )
        .def("SetValue",
             (void (TCollection_HExtendedString::*)( const Standard_Integer ,  const Standard_ExtCharacter  ) ) static_cast<void (TCollection_HExtendedString::*)( const Standard_Integer ,  const Standard_ExtCharacter  ) >(&TCollection_HExtendedString::SetValue),
             R"#(Replaces one character in the string at position <where>. If <where> is less than zero or greater than the length of <me> an exception is raised. Example: aString contains "Garbake" astring.Replace(6,'g') gives <me> = "Garbage")#"  , py::arg("where"),  py::arg("what")
          )
        .def("SetValue",
             (void (TCollection_HExtendedString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HExtendedString> &  ) ) static_cast<void (TCollection_HExtendedString::*)( const Standard_Integer ,  const opencascade::handle<TCollection_HExtendedString> &  ) >(&TCollection_HExtendedString::SetValue),
             R"#(Replaces a part of <me> by another string.)#"  , py::arg("where"),  py::arg("what")
          )
        .def("Split",
             (opencascade::handle<TCollection_HExtendedString> (TCollection_HExtendedString::*)( const Standard_Integer  ) ) static_cast<opencascade::handle<TCollection_HExtendedString> (TCollection_HExtendedString::*)( const Standard_Integer  ) >(&TCollection_HExtendedString::Split),
             R"#(Splits a ExtendedString into two sub-strings. Example: aString contains "abcdefg" aString.Split(3) gives <me> = "abc" and returns "defg")#"  , py::arg("where")
          )
        .def("Search",
             (Standard_Integer (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const) static_cast<Standard_Integer (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const>(&TCollection_HExtendedString::Search),
             R"#(Searches a String in <me> from the beginning and returns position of first item <what> matching. It returns -1 if not found.)#"  , py::arg("what")
          )
        .def("SearchFromEnd",
             (Standard_Integer (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const) static_cast<Standard_Integer (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const>(&TCollection_HExtendedString::SearchFromEnd),
             R"#(Searches a ExtendedString in another ExtendedString from the end and returns position of first item <what> matching. It returns -1 if not found.)#"  , py::arg("what")
          )
        .def("ToExtString",
             (Standard_ExtString (TCollection_HExtendedString::*)() const) static_cast<Standard_ExtString (TCollection_HExtendedString::*)() const>(&TCollection_HExtendedString::ToExtString),
             R"#(Returns pointer to ExtString)#" 
          )
        .def("Token",
             (opencascade::handle<TCollection_HExtendedString> (TCollection_HExtendedString::*)( const Standard_ExtString ,  const Standard_Integer  ) const) static_cast<opencascade::handle<TCollection_HExtendedString> (TCollection_HExtendedString::*)( const Standard_ExtString ,  const Standard_Integer  ) const>(&TCollection_HExtendedString::Token),
             R"#(Extracts <whichone> token from <me>. By default, the <separators> is set to space and tabulation. By default, the token extracted is the first one (whichone = 1). <separators> contains all separators you need. If no token indexed by <whichone> is found, it returns an empty String. Example: aString contains "This is a message" aString.Token() returns "This" aString.Token(" ",4) returns "message" aString.Token(" ",2) returns "is" aString.Token(" ",9) returns "" Other separators than space character and tabulation are allowed aString contains "1234; test:message , value" aString.Token("; :,",4) returns "value" aString.Token("; :,",2) returns "test")#"  , py::arg("separators"),  py::arg("whichone")=static_cast<const Standard_Integer>(1)
          )
        .def("Trunc",
             (void (TCollection_HExtendedString::*)( const Standard_Integer  ) ) static_cast<void (TCollection_HExtendedString::*)( const Standard_Integer  ) >(&TCollection_HExtendedString::Trunc),
             R"#(Truncates <me> to <ahowmany> characters. Example: me = "Hello Dolly" -> Trunc(3) -> me = "Hel")#"  , py::arg("ahowmany")
          )
        .def("Value",
             (Standard_ExtCharacter (TCollection_HExtendedString::*)( const Standard_Integer  ) const) static_cast<Standard_ExtCharacter (TCollection_HExtendedString::*)( const Standard_Integer  ) const>(&TCollection_HExtendedString::Value),
             R"#(Returns ExtCharacter at position <where> in <me>. If <where> is less than zero or greater than the length of <me>, an exception is raised. Example: aString contains "Hello" aString.Value(2) returns 'e')#"  , py::arg("where")
          )
        .def("Print",
             (void (TCollection_HExtendedString::*)( std::ostream &  ) const) static_cast<void (TCollection_HExtendedString::*)( std::ostream &  ) const>(&TCollection_HExtendedString::Print),
             R"#(Displays <me> .)#"  , py::arg("astream")
          )
        .def("IsSameState",
             (Standard_Boolean (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const) static_cast<Standard_Boolean (TCollection_HExtendedString::*)( const opencascade::handle<TCollection_HExtendedString> &  ) const>(&TCollection_HExtendedString::IsSameState),
             R"#(None)#"  , py::arg("other")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&TCollection_HExtendedString::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&TCollection_HExtendedString::get_type_descriptor),
                    R"#(None)#" 
          )
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("String",
             (const TCollection_ExtendedString & (TCollection_HExtendedString::*)() const) static_cast<const TCollection_ExtendedString & (TCollection_HExtendedString::*)() const>(&TCollection_HExtendedString::String),
             R"#(Returns the field myString)#"
             
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (TCollection_HExtendedString::*)() const) static_cast<const opencascade::handle<Standard_Type> & (TCollection_HExtendedString::*)() const>(&TCollection_HExtendedString::DynamicType),
             R"#(None)#"
             
         )
;

// functions
// ./opencascade/TCollection.hxx
// ./opencascade/TCollection_AsciiString.hxx
    m.def("IsEqual",
          (Standard_Boolean (*)( const TCollection_AsciiString & ,  const TCollection_AsciiString &  ))  static_cast<Standard_Boolean (*)( const TCollection_AsciiString & ,  const TCollection_AsciiString &  )>(&IsEqual),
          R"#(None)#"  , py::arg("string1"),  py::arg("string2")
          );
// ./opencascade/TCollection_ExtendedString.hxx
// ./opencascade/TCollection_HAsciiString.hxx
// ./opencascade/TCollection_HExtendedString.hxx

// Additional functions

// operators

// register typdefs


// exceptions

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

};

// user-defined post-inclusion per module

// user-defined post