File: TopLoc.cpp

package info (click to toggle)
python-ocp 7.8.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 64,724 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (452 lines) | stat: -rw-r--r-- 23,368 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

// 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 <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopLoc_Datum3D.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <TopLoc_SListNodeOfItemLocation.hxx>
#include <TopLoc_ItemLocation.hxx>

// module includes
#include <TopLoc_Datum3D.hxx>
#include <TopLoc_IndexedMapOfLocation.hxx>
#include <TopLoc_ItemLocation.hxx>
#include <TopLoc_Location.hxx>
#include <TopLoc_MapIteratorOfMapOfLocation.hxx>
#include <TopLoc_MapOfLocation.hxx>
#include <TopLoc_SListNodeOfItemLocation.hxx>
#include <TopLoc_SListOfItemLocation.hxx>

// template related includes

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

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

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


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

// user-defined inclusion per module

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


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

//Python trampoline classes

// classes

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


    // nested enums

    static_cast<py::class_<TopLoc_Datum3D ,opencascade::handle<TopLoc_Datum3D>  , Standard_Transient >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const gp_Trsf & >()  , py::arg("T") )
    // custom constructors
    // methods
        .def("Form",
             (gp_TrsfForm (TopLoc_Datum3D::*)() const) static_cast<gp_TrsfForm (TopLoc_Datum3D::*)() const>(&TopLoc_Datum3D::Form),
             R"#(Return transformation form.)#" 
          )
        .def("DumpJson",
             (void (TopLoc_Datum3D::*)( std::ostream & ,  Standard_Integer  ) const) static_cast<void (TopLoc_Datum3D::*)( std::ostream & ,  Standard_Integer  ) const>(&TopLoc_Datum3D::DumpJson),
             R"#(Dumps the content of me into the stream)#"  , py::arg("theOStream"),  py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
          )
        .def("ShallowDump",
             (void (TopLoc_Datum3D::*)( std::ostream &  ) const) static_cast<void (TopLoc_Datum3D::*)( std::ostream &  ) const>(&TopLoc_Datum3D::ShallowDump),
             R"#(Writes the contents of this Datum3D to the stream S.)#"  , py::arg("S")
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&TopLoc_Datum3D::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&TopLoc_Datum3D::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("Transformation",
             (const gp_Trsf & (TopLoc_Datum3D::*)() const) static_cast<const gp_Trsf & (TopLoc_Datum3D::*)() const>(&TopLoc_Datum3D::Transformation),
             R"#(Returns a gp_Trsf which, when applied to this datum, produces the default datum.)#"
             
         )
       .def("Trsf",
             (const gp_Trsf & (TopLoc_Datum3D::*)() const) static_cast<const gp_Trsf & (TopLoc_Datum3D::*)() const>(&TopLoc_Datum3D::Trsf),
             R"#(Returns a gp_Trsf which, when applied to this datum, produces the default datum.)#"
             
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (TopLoc_Datum3D::*)() const) static_cast<const opencascade::handle<Standard_Type> & (TopLoc_Datum3D::*)() const>(&TopLoc_Datum3D::DynamicType),
             R"#(None)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TopLoc_ItemLocation , shared_ptr<TopLoc_ItemLocation>  >>(klass)
    // constructors
        .def(py::init< const opencascade::handle<TopLoc_Datum3D> &,const Standard_Integer >()  , py::arg("D"),  py::arg("P") )
    // custom constructors
    // methods
        .def("DumpJson",
             (void (TopLoc_ItemLocation::*)( std::ostream & ,  Standard_Integer  ) const) static_cast<void (TopLoc_ItemLocation::*)( std::ostream & ,  Standard_Integer  ) const>(&TopLoc_ItemLocation::DumpJson),
             R"#(Dumps the content of me into the stream)#"  , py::arg("theOStream"),  py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
          )
    // methods using call by reference i.s.o. return
    // static methods
    // 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 TopLoc_Location from ./opencascade/TopLoc_Location.hxx
    klass = m.attr("TopLoc_Location");


    // nested enums

    static_cast<py::class_<TopLoc_Location , shared_ptr<TopLoc_Location>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const gp_Trsf & >()  , py::arg("T") )
        .def(py::init< const opencascade::handle<TopLoc_Datum3D> & >()  , py::arg("D") )
    // custom constructors
    // methods
        .def("IsIdentity",
             (Standard_Boolean (TopLoc_Location::*)() const) static_cast<Standard_Boolean (TopLoc_Location::*)() const>(&TopLoc_Location::IsIdentity),
             R"#(Returns true if this location is equal to the Identity transformation.)#" 
          )
        .def("Identity",
             (void (TopLoc_Location::*)() ) static_cast<void (TopLoc_Location::*)() >(&TopLoc_Location::Identity),
             R"#(Resets this location to the Identity transformation.)#" 
          )
        .def("FirstPower",
             (Standard_Integer (TopLoc_Location::*)() const) static_cast<Standard_Integer (TopLoc_Location::*)() const>(&TopLoc_Location::FirstPower),
             R"#(Returns the power elevation of the first elementary datum. Exceptions Standard_NoSuchObject if this location is empty.)#" 
          )
        .def("Inverted",
             (TopLoc_Location (TopLoc_Location::*)() const) static_cast<TopLoc_Location (TopLoc_Location::*)() const>(&TopLoc_Location::Inverted),
             R"#(Returns the inverse of <me>.)#" 
          )
        .def("Multiplied",
             (TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const) static_cast<TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const>(&TopLoc_Location::Multiplied),
             R"#(Returns <me> * <Other>, the elementary datums are concatenated.)#"  , py::arg("Other")
          )
        .def("Divided",
             (TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const) static_cast<TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const>(&TopLoc_Location::Divided),
             R"#(Returns <me> / <Other>.)#"  , py::arg("Other")
          )
        .def("Predivided",
             (TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const) static_cast<TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const>(&TopLoc_Location::Predivided),
             R"#(Returns <Other>.Inverted() * <me>.)#"  , py::arg("Other")
          )
        .def("Powered",
             (TopLoc_Location (TopLoc_Location::*)( const Standard_Integer  ) const) static_cast<TopLoc_Location (TopLoc_Location::*)( const Standard_Integer  ) const>(&TopLoc_Location::Powered),
             R"#(Returns me at the power <pwr>. If <pwr> is zero returns Identity. <pwr> can be lower than zero (usual meaning for powers).)#"  , py::arg("pwr")
          )
        .def("HashCode",
             (size_t (TopLoc_Location::*)() const) static_cast<size_t (TopLoc_Location::*)() const>(&TopLoc_Location::HashCode),
             R"#(Returns a hashed value for this local coordinate system. This value is used, with map tables, to store and retrieve the object easily)#" 
          )
        .def("IsEqual",
             (Standard_Boolean (TopLoc_Location::*)( const TopLoc_Location &  ) const) static_cast<Standard_Boolean (TopLoc_Location::*)( const TopLoc_Location &  ) const>(&TopLoc_Location::IsEqual),
             R"#(Returns true if this location and the location Other have the same elementary data, i.e. contain the same series of TopLoc_Datum3D and respective powers. This method is an alias for operator ==.)#"  , py::arg("Other")
          )
        .def("IsDifferent",
             (Standard_Boolean (TopLoc_Location::*)( const TopLoc_Location &  ) const) static_cast<Standard_Boolean (TopLoc_Location::*)( const TopLoc_Location &  ) const>(&TopLoc_Location::IsDifferent),
             R"#(Returns true if this location and the location Other do not have the same elementary data, i.e. do not contain the same series of TopLoc_Datum3D and respective powers. This method is an alias for operator !=.)#"  , py::arg("Other")
          )
        .def("DumpJson",
             (void (TopLoc_Location::*)( std::ostream & ,  Standard_Integer  ) const) static_cast<void (TopLoc_Location::*)( std::ostream & ,  Standard_Integer  ) const>(&TopLoc_Location::DumpJson),
             R"#(Dumps the content of me into the stream)#"  , py::arg("theOStream"),  py::arg("theDepth")=static_cast<Standard_Integer>(- 1)
          )
        .def("ShallowDump",
             (void (TopLoc_Location::*)( std::ostream &  ) const) static_cast<void (TopLoc_Location::*)( std::ostream &  ) const>(&TopLoc_Location::ShallowDump),
             R"#(Prints the contents of <me> on the stream .)#"  , py::arg("S")
          )
        .def("Clear",
             (void (TopLoc_Location::*)() ) static_cast<void (TopLoc_Location::*)() >(&TopLoc_Location::Clear),
             R"#(Clear myItems)#" 
          )
        .def("IsIdentity",
             (Standard_Boolean (TopLoc_Location::*)() const) static_cast<Standard_Boolean (TopLoc_Location::*)() const>(&TopLoc_Location::IsIdentity),
             R"#(Returns true if this location is equal to the Identity transformation.)#" 
          )
        .def("Identity",
             (void (TopLoc_Location::*)() ) static_cast<void (TopLoc_Location::*)() >(&TopLoc_Location::Identity),
             R"#(Resets this location to the Identity transformation.)#" 
          )
        .def("FirstPower",
             (Standard_Integer (TopLoc_Location::*)() const) static_cast<Standard_Integer (TopLoc_Location::*)() const>(&TopLoc_Location::FirstPower),
             R"#(Returns the power elevation of the first elementary datum. Exceptions Standard_NoSuchObject if this location is empty.)#" 
          )
        .def("HashCode",
             (size_t (TopLoc_Location::*)() const) static_cast<size_t (TopLoc_Location::*)() const>(&TopLoc_Location::HashCode),
             R"#(Returns a hashed value for this local coordinate system. This value is used, with map tables, to store and retrieve the object easily)#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("ScalePrec_s",
                    (Standard_Real (*)() ) static_cast<Standard_Real (*)() >(&TopLoc_Location::ScalePrec),
                    R"#(None)#" 
          )
    // static methods using call by reference i.s.o. return
    // operators
        .def("__mul__",
             (TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const) static_cast<TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const>(&TopLoc_Location::operator*),
             py::is_operator(),
             R"#(None)#"  , py::arg("Other")
          )
        .def("__rmul__",
             (TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const) static_cast<TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const>(&TopLoc_Location::operator*),
             py::is_operator(),
             R"#(None)#"  , py::arg("Other")
          )
        .def("__truediv__",
             (TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const) static_cast<TopLoc_Location (TopLoc_Location::*)( const TopLoc_Location &  ) const>(&TopLoc_Location::operator/),
             py::is_operator(),
             R"#(None)#"  , py::arg("Other")
          )
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("FirstDatum",
             (const opencascade::handle<TopLoc_Datum3D> & (TopLoc_Location::*)() const) static_cast<const opencascade::handle<TopLoc_Datum3D> & (TopLoc_Location::*)() const>(&TopLoc_Location::FirstDatum),
             R"#(Returns the first elementary datum of the Location. Use the NextLocation function recursively to access the other data comprising this location. Exceptions Standard_NoSuchObject if this location is empty.)#"
             
         )
       .def("NextLocation",
             (const TopLoc_Location & (TopLoc_Location::*)() const) static_cast<const TopLoc_Location & (TopLoc_Location::*)() const>(&TopLoc_Location::NextLocation),
             R"#(Returns a Location representing <me> without the first datum. We have the relation :)#"
             
         )
       .def("Transformation",
             (const gp_Trsf & (TopLoc_Location::*)() const) static_cast<const gp_Trsf & (TopLoc_Location::*)() const>(&TopLoc_Location::Transformation),
             R"#(Returns the transformation associated to the coordinate system.)#"
             
         )
       .def("FirstDatum",
             (const opencascade::handle<TopLoc_Datum3D> & (TopLoc_Location::*)() const) static_cast<const opencascade::handle<TopLoc_Datum3D> & (TopLoc_Location::*)() const>(&TopLoc_Location::FirstDatum),
             R"#(Returns the first elementary datum of the Location. Use the NextLocation function recursively to access the other data comprising this location. Exceptions Standard_NoSuchObject if this location is empty.)#"
             
         )
       .def("NextLocation",
             (const TopLoc_Location & (TopLoc_Location::*)() const) static_cast<const TopLoc_Location & (TopLoc_Location::*)() const>(&TopLoc_Location::NextLocation),
             R"#(Returns a Location representing <me> without the first datum. We have the relation :)#"
             
         )
;

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


    // nested enums

    static_cast<py::class_<TopLoc_SListNodeOfItemLocation ,opencascade::handle<TopLoc_SListNodeOfItemLocation>  , Standard_Transient >>(klass)
    // constructors
        .def(py::init< const TopLoc_ItemLocation &,const TopLoc_SListOfItemLocation & >()  , py::arg("I"),  py::arg("aTail") )
    // custom constructors
    // methods
    // methods using call by reference i.s.o. return
    // static methods
        .def_static("get_type_name_s",
                    (const char * (*)() ) static_cast<const char * (*)() >(&TopLoc_SListNodeOfItemLocation::get_type_name),
                    R"#(None)#" 
          )
        .def_static("get_type_descriptor_s",
                    (const opencascade::handle<Standard_Type> & (*)() ) static_cast<const opencascade::handle<Standard_Type> & (*)() >(&TopLoc_SListNodeOfItemLocation::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("Tail",
             (TopLoc_SListOfItemLocation & (TopLoc_SListNodeOfItemLocation::*)() const) static_cast<TopLoc_SListOfItemLocation & (TopLoc_SListNodeOfItemLocation::*)() const>(&TopLoc_SListNodeOfItemLocation::Tail),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("Value",
             (TopLoc_ItemLocation & (TopLoc_SListNodeOfItemLocation::*)() const) static_cast<TopLoc_ItemLocation & (TopLoc_SListNodeOfItemLocation::*)() const>(&TopLoc_SListNodeOfItemLocation::Value),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("DynamicType",
             (const opencascade::handle<Standard_Type> & (TopLoc_SListNodeOfItemLocation::*)() const) static_cast<const opencascade::handle<Standard_Type> & (TopLoc_SListNodeOfItemLocation::*)() const>(&TopLoc_SListNodeOfItemLocation::DynamicType),
             R"#(None)#"
             
         )
       .def("Tail",
             (TopLoc_SListOfItemLocation & (TopLoc_SListNodeOfItemLocation::*)() const) static_cast<TopLoc_SListOfItemLocation & (TopLoc_SListNodeOfItemLocation::*)() const>(&TopLoc_SListNodeOfItemLocation::Tail),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
       .def("Value",
             (TopLoc_ItemLocation & (TopLoc_SListNodeOfItemLocation::*)() const) static_cast<TopLoc_ItemLocation & (TopLoc_SListNodeOfItemLocation::*)() const>(&TopLoc_SListNodeOfItemLocation::Value),
             R"#(None)#"
             
             , py::return_value_policy::reference_internal
         )
;

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


    // nested enums

    static_cast<py::class_<TopLoc_SListOfItemLocation , shared_ptr<TopLoc_SListOfItemLocation>  >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const TopLoc_ItemLocation &,const TopLoc_SListOfItemLocation & >()  , py::arg("anItem"),  py::arg("aTail") )
        .def(py::init< const TopLoc_SListOfItemLocation & >()  , py::arg("Other") )
    // custom constructors
    // methods
        .def("Assign",
             (TopLoc_SListOfItemLocation & (TopLoc_SListOfItemLocation::*)( const TopLoc_SListOfItemLocation &  ) ) static_cast<TopLoc_SListOfItemLocation & (TopLoc_SListOfItemLocation::*)( const TopLoc_SListOfItemLocation &  ) >(&TopLoc_SListOfItemLocation::Assign),
             R"#(Sets a list from an other one. The lists are shared. The list itself is returned.)#"  , py::arg("Other")
          )
        .def("IsEmpty",
             (Standard_Boolean (TopLoc_SListOfItemLocation::*)() const) static_cast<Standard_Boolean (TopLoc_SListOfItemLocation::*)() const>(&TopLoc_SListOfItemLocation::IsEmpty),
             R"#(Returne true if this list is empty)#" 
          )
        .def("Clear",
             (void (TopLoc_SListOfItemLocation::*)() ) static_cast<void (TopLoc_SListOfItemLocation::*)() >(&TopLoc_SListOfItemLocation::Clear),
             R"#(Sets the list to be empty.)#" 
          )
        .def("Construct",
             (void (TopLoc_SListOfItemLocation::*)( const TopLoc_ItemLocation &  ) ) static_cast<void (TopLoc_SListOfItemLocation::*)( const TopLoc_ItemLocation &  ) >(&TopLoc_SListOfItemLocation::Construct),
             R"#(Replaces the list by a list with <anItem> as Value and the list <me> as tail.)#"  , py::arg("anItem")
          )
        .def("ToTail",
             (void (TopLoc_SListOfItemLocation::*)() ) static_cast<void (TopLoc_SListOfItemLocation::*)() >(&TopLoc_SListOfItemLocation::ToTail),
             R"#(Replaces the list <me> by its tail.)#" 
          )
        .def("More",
             (Standard_Boolean (TopLoc_SListOfItemLocation::*)() const) static_cast<Standard_Boolean (TopLoc_SListOfItemLocation::*)() const>(&TopLoc_SListOfItemLocation::More),
             R"#(Returns True if the iterator has a current value. This is !IsEmpty())#" 
          )
        .def("Next",
             (void (TopLoc_SListOfItemLocation::*)() ) static_cast<void (TopLoc_SListOfItemLocation::*)() >(&TopLoc_SListOfItemLocation::Next),
             R"#(Moves the iterator to the next object in the list. If the iterator is empty it will stay empty. This is ToTail())#" 
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
       .def("Value",
             (const TopLoc_ItemLocation & (TopLoc_SListOfItemLocation::*)() const) static_cast<const TopLoc_ItemLocation & (TopLoc_SListOfItemLocation::*)() const>(&TopLoc_SListOfItemLocation::Value),
             R"#(Returns the current value of the list. An error is raised if the list is empty.)#"
             
         )
       .def("Tail",
             (const TopLoc_SListOfItemLocation & (TopLoc_SListOfItemLocation::*)() const) static_cast<const TopLoc_SListOfItemLocation & (TopLoc_SListOfItemLocation::*)() const>(&TopLoc_SListOfItemLocation::Tail),
             R"#(Returns the current tail of the list. On an empty list the tail is the list itself.)#"
             
         )
;

// functions
// ./opencascade/TopLoc_Datum3D.hxx
    m.def("ShallowDump",
          (void (*)( const opencascade::handle<TopLoc_Datum3D> & ,  std::ostream &  ))  static_cast<void (*)( const opencascade::handle<TopLoc_Datum3D> & ,  std::ostream &  )>(&ShallowDump),
          R"#(None)#"  , py::arg("me"),  py::arg("S")
          );
// ./opencascade/TopLoc_IndexedMapOfLocation.hxx
// ./opencascade/TopLoc_ItemLocation.hxx
// ./opencascade/TopLoc_Location.hxx
    m.def("ShallowDump",
          (void (*)( const TopLoc_Location & ,  std::ostream &  ))  static_cast<void (*)( const TopLoc_Location & ,  std::ostream &  )>(&ShallowDump),
          R"#(None)#"  , py::arg("me"),  py::arg("S")
          );
// ./opencascade/TopLoc_MapIteratorOfMapOfLocation.hxx
// ./opencascade/TopLoc_MapOfLocation.hxx
// ./opencascade/TopLoc_SListNodeOfItemLocation.hxx
// ./opencascade/TopLoc_SListOfItemLocation.hxx

// Additional functions

// operators

// register typdefs
    register_template_NCollection_IndexedMap<TopLoc_Location>(m,"TopLoc_IndexedMapOfLocation");
    register_template_NCollection_Map<TopLoc_Location>(m,"TopLoc_MapOfLocation");


// exceptions

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

};

// user-defined post-inclusion per module

// user-defined post