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
|
// 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 <StepData_StepReaderData.hxx>
#include <Interface_Check.hxx>
#include <StepAP242_DraughtingModelItemAssociation.hxx>
#include <StepData_StepWriter.hxx>
#include <Interface_EntityIterator.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <StepData_StepReaderData.hxx>
#include <Interface_Check.hxx>
#include <StepAP242_GeometricItemSpecificUsage.hxx>
#include <StepData_StepWriter.hxx>
#include <Interface_EntityIterator.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <StepData_StepReaderData.hxx>
#include <Interface_Check.hxx>
#include <StepAP242_IdAttribute.hxx>
#include <StepData_StepWriter.hxx>
#include <Interface_EntityIterator.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <StepData_StepReaderData.hxx>
#include <Interface_Check.hxx>
#include <StepAP242_ItemIdentifiedRepresentationUsage.hxx>
#include <StepData_StepWriter.hxx>
#include <Interface_EntityIterator.hxx>
// module includes
#include <RWStepAP242_RWDraughtingModelItemAssociation.hxx>
#include <RWStepAP242_RWGeometricItemSpecificUsage.hxx>
#include <RWStepAP242_RWIdAttribute.hxx>
#include <RWStepAP242_RWItemIdentifiedRepresentationUsage.hxx>
// template related includes
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
// Module definiiton
void register_RWStepAP242(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("RWStepAP242"));
py::object klass;
//Python trampoline classes
// classes
// Class RWStepAP242_RWDraughtingModelItemAssociation from ./opencascade/RWStepAP242_RWDraughtingModelItemAssociation.hxx
klass = m.attr("RWStepAP242_RWDraughtingModelItemAssociation");
// nested enums
static_cast<py::class_<RWStepAP242_RWDraughtingModelItemAssociation , shared_ptr<RWStepAP242_RWDraughtingModelItemAssociation> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("WriteStep",
(void (RWStepAP242_RWDraughtingModelItemAssociation::*)( StepData_StepWriter & , const opencascade::handle<StepAP242_DraughtingModelItemAssociation> & ) const) static_cast<void (RWStepAP242_RWDraughtingModelItemAssociation::*)( StepData_StepWriter & , const opencascade::handle<StepAP242_DraughtingModelItemAssociation> & ) const>(&RWStepAP242_RWDraughtingModelItemAssociation::WriteStep),
R"#(None)#" , py::arg("SW"), py::arg("ent")
)
.def("Share",
(void (RWStepAP242_RWDraughtingModelItemAssociation::*)( const opencascade::handle<StepAP242_DraughtingModelItemAssociation> & , Interface_EntityIterator & ) const) static_cast<void (RWStepAP242_RWDraughtingModelItemAssociation::*)( const opencascade::handle<StepAP242_DraughtingModelItemAssociation> & , Interface_EntityIterator & ) const>(&RWStepAP242_RWDraughtingModelItemAssociation::Share),
R"#(None)#" , py::arg("ent"), py::arg("iter")
)
// methods using call by reference i.s.o. return
.def("ReadStep",
[]( RWStepAP242_RWDraughtingModelItemAssociation &self , const opencascade::handle<StepData_StepReaderData> & data,const Standard_Integer num,Interface_Check& ach,const opencascade::handle<StepAP242_DraughtingModelItemAssociation> & ent ){
opencascade::handle<Interface_Check> ach_ptr; ach_ptr = &ach;
self.ReadStep(data,num,ach_ptr,ent);
if ( ach_ptr.get() != &ach ) copy_if_copy_constructible(ach, *ach_ptr);
return std::make_tuple(); },
R"#(None)#" , py::arg("data"), py::arg("num"), py::arg("ach"), py::arg("ent")
)
// 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 RWStepAP242_RWGeometricItemSpecificUsage from ./opencascade/RWStepAP242_RWGeometricItemSpecificUsage.hxx
klass = m.attr("RWStepAP242_RWGeometricItemSpecificUsage");
// nested enums
static_cast<py::class_<RWStepAP242_RWGeometricItemSpecificUsage , shared_ptr<RWStepAP242_RWGeometricItemSpecificUsage> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("WriteStep",
(void (RWStepAP242_RWGeometricItemSpecificUsage::*)( StepData_StepWriter & , const opencascade::handle<StepAP242_GeometricItemSpecificUsage> & ) const) static_cast<void (RWStepAP242_RWGeometricItemSpecificUsage::*)( StepData_StepWriter & , const opencascade::handle<StepAP242_GeometricItemSpecificUsage> & ) const>(&RWStepAP242_RWGeometricItemSpecificUsage::WriteStep),
R"#(None)#" , py::arg("SW"), py::arg("ent")
)
.def("Share",
(void (RWStepAP242_RWGeometricItemSpecificUsage::*)( const opencascade::handle<StepAP242_GeometricItemSpecificUsage> & , Interface_EntityIterator & ) const) static_cast<void (RWStepAP242_RWGeometricItemSpecificUsage::*)( const opencascade::handle<StepAP242_GeometricItemSpecificUsage> & , Interface_EntityIterator & ) const>(&RWStepAP242_RWGeometricItemSpecificUsage::Share),
R"#(None)#" , py::arg("ent"), py::arg("iter")
)
// methods using call by reference i.s.o. return
.def("ReadStep",
[]( RWStepAP242_RWGeometricItemSpecificUsage &self , const opencascade::handle<StepData_StepReaderData> & data,const Standard_Integer num,Interface_Check& ach,const opencascade::handle<StepAP242_GeometricItemSpecificUsage> & ent ){
opencascade::handle<Interface_Check> ach_ptr; ach_ptr = &ach;
self.ReadStep(data,num,ach_ptr,ent);
if ( ach_ptr.get() != &ach ) copy_if_copy_constructible(ach, *ach_ptr);
return std::make_tuple(); },
R"#(None)#" , py::arg("data"), py::arg("num"), py::arg("ach"), py::arg("ent")
)
// 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 RWStepAP242_RWIdAttribute from ./opencascade/RWStepAP242_RWIdAttribute.hxx
klass = m.attr("RWStepAP242_RWIdAttribute");
// nested enums
static_cast<py::class_<RWStepAP242_RWIdAttribute , shared_ptr<RWStepAP242_RWIdAttribute> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("WriteStep",
(void (RWStepAP242_RWIdAttribute::*)( StepData_StepWriter & , const opencascade::handle<StepAP242_IdAttribute> & ) const) static_cast<void (RWStepAP242_RWIdAttribute::*)( StepData_StepWriter & , const opencascade::handle<StepAP242_IdAttribute> & ) const>(&RWStepAP242_RWIdAttribute::WriteStep),
R"#(None)#" , py::arg("SW"), py::arg("ent")
)
.def("Share",
(void (RWStepAP242_RWIdAttribute::*)( const opencascade::handle<StepAP242_IdAttribute> & , Interface_EntityIterator & ) const) static_cast<void (RWStepAP242_RWIdAttribute::*)( const opencascade::handle<StepAP242_IdAttribute> & , Interface_EntityIterator & ) const>(&RWStepAP242_RWIdAttribute::Share),
R"#(None)#" , py::arg("ent"), py::arg("iter")
)
// methods using call by reference i.s.o. return
.def("ReadStep",
[]( RWStepAP242_RWIdAttribute &self , const opencascade::handle<StepData_StepReaderData> & data,const Standard_Integer num,Interface_Check& ach,const opencascade::handle<StepAP242_IdAttribute> & ent ){
opencascade::handle<Interface_Check> ach_ptr; ach_ptr = &ach;
self.ReadStep(data,num,ach_ptr,ent);
if ( ach_ptr.get() != &ach ) copy_if_copy_constructible(ach, *ach_ptr);
return std::make_tuple(); },
R"#(None)#" , py::arg("data"), py::arg("num"), py::arg("ach"), py::arg("ent")
)
// 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 RWStepAP242_RWItemIdentifiedRepresentationUsage from ./opencascade/RWStepAP242_RWItemIdentifiedRepresentationUsage.hxx
klass = m.attr("RWStepAP242_RWItemIdentifiedRepresentationUsage");
// nested enums
static_cast<py::class_<RWStepAP242_RWItemIdentifiedRepresentationUsage , shared_ptr<RWStepAP242_RWItemIdentifiedRepresentationUsage> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("WriteStep",
(void (RWStepAP242_RWItemIdentifiedRepresentationUsage::*)( StepData_StepWriter & , const opencascade::handle<StepAP242_ItemIdentifiedRepresentationUsage> & ) const) static_cast<void (RWStepAP242_RWItemIdentifiedRepresentationUsage::*)( StepData_StepWriter & , const opencascade::handle<StepAP242_ItemIdentifiedRepresentationUsage> & ) const>(&RWStepAP242_RWItemIdentifiedRepresentationUsage::WriteStep),
R"#(None)#" , py::arg("SW"), py::arg("ent")
)
.def("Share",
(void (RWStepAP242_RWItemIdentifiedRepresentationUsage::*)( const opencascade::handle<StepAP242_ItemIdentifiedRepresentationUsage> & , Interface_EntityIterator & ) const) static_cast<void (RWStepAP242_RWItemIdentifiedRepresentationUsage::*)( const opencascade::handle<StepAP242_ItemIdentifiedRepresentationUsage> & , Interface_EntityIterator & ) const>(&RWStepAP242_RWItemIdentifiedRepresentationUsage::Share),
R"#(None)#" , py::arg("ent"), py::arg("iter")
)
// methods using call by reference i.s.o. return
.def("ReadStep",
[]( RWStepAP242_RWItemIdentifiedRepresentationUsage &self , const opencascade::handle<StepData_StepReaderData> & data,const Standard_Integer num,Interface_Check& ach,const opencascade::handle<StepAP242_ItemIdentifiedRepresentationUsage> & ent ){
opencascade::handle<Interface_Check> ach_ptr; ach_ptr = &ach;
self.ReadStep(data,num,ach_ptr,ent);
if ( ach_ptr.get() != &ach ) copy_if_copy_constructible(ach, *ach_ptr);
return std::make_tuple(); },
R"#(None)#" , py::arg("data"), py::arg("num"), py::arg("ach"), py::arg("ent")
)
// static methods
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
;
// functions
// ./opencascade/RWStepAP242_RWDraughtingModelItemAssociation.hxx
// ./opencascade/RWStepAP242_RWGeometricItemSpecificUsage.hxx
// ./opencascade/RWStepAP242_RWIdAttribute.hxx
// ./opencascade/RWStepAP242_RWItemIdentifiedRepresentationUsage.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
|