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
|
// 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 <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 <TCollection_AsciiString.hxx>
#include <TCollection_ExtendedString.hxx>
#include <TDF_Label.hxx>
#include <Standard_GUID.hxx>
#include <TDF_Data.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
// module includes
#include <BinObjMgt_PByte.hxx>
#include <BinObjMgt_PChar.hxx>
#include <BinObjMgt_Persistent.hxx>
#include <BinObjMgt_PExtChar.hxx>
#include <BinObjMgt_PInteger.hxx>
#include <BinObjMgt_Position.hxx>
#include <BinObjMgt_PReal.hxx>
#include <BinObjMgt_PShortReal.hxx>
#include <BinObjMgt_RRelocationTable.hxx>
#include <BinObjMgt_SRelocationTable.hxx>
// template related includes
// user-defined pre
#include "OCP_specific.inc"
// user-defined inclusion per module
// Module definiiton
void register_BinObjMgt(py::module &main_module) {
py::module m = static_cast<py::module>(main_module.attr("BinObjMgt"));
py::object klass;
//Python trampoline classes
// classes
// Class BinObjMgt_Persistent from ./opencascade/BinObjMgt_Persistent.hxx
klass = m.attr("BinObjMgt_Persistent");
// nested enums
static_cast<py::class_<BinObjMgt_Persistent , shared_ptr<BinObjMgt_Persistent> >>(klass)
// constructors
.def(py::init< >() )
// custom constructors
// methods
.def("PutCharacter",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Character ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Character ) >(&BinObjMgt_Persistent::PutCharacter),
R"#()#" , py::arg("theValue")
)
.def("PutByte",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Byte ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Byte ) >(&BinObjMgt_Persistent::PutByte),
R"#()#" , py::arg("theValue")
)
.def("PutExtCharacter",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_ExtCharacter ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_ExtCharacter ) >(&BinObjMgt_Persistent::PutExtCharacter),
R"#()#" , py::arg("theValue")
)
.def("PutInteger",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Integer ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Integer ) >(&BinObjMgt_Persistent::PutInteger),
R"#()#" , py::arg("theValue")
)
.def("PutBoolean",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Boolean ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Boolean ) >(&BinObjMgt_Persistent::PutBoolean),
R"#()#" , py::arg("theValue")
)
.def("PutReal",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Real ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Real ) >(&BinObjMgt_Persistent::PutReal),
R"#()#" , py::arg("theValue")
)
.def("PutShortReal",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_ShortReal ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_ShortReal ) >(&BinObjMgt_Persistent::PutShortReal),
R"#()#" , py::arg("theValue")
)
.def("PutCString",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_CString ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_CString ) >(&BinObjMgt_Persistent::PutCString),
R"#(Offset in output buffer is not aligned)#" , py::arg("theValue")
)
.def("PutAsciiString",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const TCollection_AsciiString & ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const TCollection_AsciiString & ) >(&BinObjMgt_Persistent::PutAsciiString),
R"#(Offset in output buffer is word-aligned)#" , py::arg("theValue")
)
.def("PutExtendedString",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const TCollection_ExtendedString & ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const TCollection_ExtendedString & ) >(&BinObjMgt_Persistent::PutExtendedString),
R"#(Offset in output buffer is word-aligned)#" , py::arg("theValue")
)
.def("PutLabel",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const TDF_Label & ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const TDF_Label & ) >(&BinObjMgt_Persistent::PutLabel),
R"#()#" , py::arg("theValue")
)
.def("PutGUID",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_GUID & ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_GUID & ) >(&BinObjMgt_Persistent::PutGUID),
R"#()#" , py::arg("theValue")
)
.def("PutCharArray",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PChar , const Standard_Integer ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PChar , const Standard_Integer ) >(&BinObjMgt_Persistent::PutCharArray),
R"#(Put C array of char, theLength is the number of elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("PutByteArray",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PByte , const Standard_Integer ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PByte , const Standard_Integer ) >(&BinObjMgt_Persistent::PutByteArray),
R"#(Put C array of unsigned chars, theLength is the number of elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("PutExtCharArray",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PExtChar , const Standard_Integer ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PExtChar , const Standard_Integer ) >(&BinObjMgt_Persistent::PutExtCharArray),
R"#(Put C array of ExtCharacter, theLength is the number of elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("PutIntArray",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PInteger , const Standard_Integer ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PInteger , const Standard_Integer ) >(&BinObjMgt_Persistent::PutIntArray),
R"#(Put C array of int, theLength is the number of elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("PutRealArray",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PReal , const Standard_Integer ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PReal , const Standard_Integer ) >(&BinObjMgt_Persistent::PutRealArray),
R"#(Put C array of double, theLength is the number of elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("PutShortRealArray",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PShortReal , const Standard_Integer ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PShortReal , const Standard_Integer ) >(&BinObjMgt_Persistent::PutShortRealArray),
R"#(Put C array of float, theLength is the number of elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("GetCharacter",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Character & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Character & ) const>(&BinObjMgt_Persistent::GetCharacter),
R"#()#" , py::arg("theValue")
)
.def("GetByte",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Byte & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Byte & ) const>(&BinObjMgt_Persistent::GetByte),
R"#()#" , py::arg("theValue")
)
.def("GetExtCharacter",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_ExtCharacter & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_ExtCharacter & ) const>(&BinObjMgt_Persistent::GetExtCharacter),
R"#()#" , py::arg("theValue")
)
.def("GetInteger",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Integer & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Integer & ) const>(&BinObjMgt_Persistent::GetInteger),
R"#()#" , py::arg("theValue")
)
.def("GetBoolean",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Boolean & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Boolean & ) const>(&BinObjMgt_Persistent::GetBoolean),
R"#()#" , py::arg("theValue")
)
.def("GetReal",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Real & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Real & ) const>(&BinObjMgt_Persistent::GetReal),
R"#()#" , py::arg("theValue")
)
.def("GetShortReal",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_ShortReal & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_ShortReal & ) const>(&BinObjMgt_Persistent::GetShortReal),
R"#()#" , py::arg("theValue")
)
.def("GetAsciiString",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( TCollection_AsciiString & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( TCollection_AsciiString & ) const>(&BinObjMgt_Persistent::GetAsciiString),
R"#()#" , py::arg("theValue")
)
.def("GetExtendedString",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( TCollection_ExtendedString & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( TCollection_ExtendedString & ) const>(&BinObjMgt_Persistent::GetExtendedString),
R"#()#" , py::arg("theValue")
)
.def("GetLabel",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const handle<TDF_Data> & , TDF_Label & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const handle<TDF_Data> & , TDF_Label & ) const>(&BinObjMgt_Persistent::GetLabel),
R"#()#" , py::arg("theDS"), py::arg("theValue")
)
.def("GetGUID",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_GUID & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_GUID & ) const>(&BinObjMgt_Persistent::GetGUID),
R"#()#" , py::arg("theValue")
)
.def("GetCharArray",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PChar , const Standard_Integer ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PChar , const Standard_Integer ) const>(&BinObjMgt_Persistent::GetCharArray),
R"#(Get C array of char, theLength is the number of elements; theArray must point to a space enough to place theLength elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("GetByteArray",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PByte , const Standard_Integer ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PByte , const Standard_Integer ) const>(&BinObjMgt_Persistent::GetByteArray),
R"#(Get C array of unsigned chars, theLength is the number of elements; theArray must point to a space enough to place theLength elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("GetExtCharArray",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PExtChar , const Standard_Integer ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PExtChar , const Standard_Integer ) const>(&BinObjMgt_Persistent::GetExtCharArray),
R"#(Get C array of ExtCharacter, theLength is the number of elements; theArray must point to a space enough to place theLength elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("GetIntArray",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PInteger , const Standard_Integer ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PInteger , const Standard_Integer ) const>(&BinObjMgt_Persistent::GetIntArray),
R"#(Get C array of int, theLength is the number of elements; theArray must point to a space enough to place theLength elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("GetRealArray",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PReal , const Standard_Integer ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PReal , const Standard_Integer ) const>(&BinObjMgt_Persistent::GetRealArray),
R"#(Get C array of double, theLength is the number of elements; theArray must point to a space enough to place theLength elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("GetShortRealArray",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PShortReal , const Standard_Integer ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const BinObjMgt_PShortReal , const Standard_Integer ) const>(&BinObjMgt_Persistent::GetShortRealArray),
R"#(Get C array of float, theLength is the number of elements; theArray must point to a space enough to place theLength elements)#" , py::arg("theArray"), py::arg("theLength")
)
.def("Position",
(Standard_Integer (BinObjMgt_Persistent::*)() const) static_cast<Standard_Integer (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::Position),
R"#(Tells the current position for get/put)#"
)
.def("SetPosition",
(Standard_Boolean (BinObjMgt_Persistent::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (BinObjMgt_Persistent::*)( const Standard_Integer ) const>(&BinObjMgt_Persistent::SetPosition),
R"#(Sets the current position for get/put. Resets an error state depending on the validity of thePos. Returns the new state (value of IsOK()))#" , py::arg("thePos")
)
.def("Truncate",
(void (BinObjMgt_Persistent::*)() ) static_cast<void (BinObjMgt_Persistent::*)() >(&BinObjMgt_Persistent::Truncate),
R"#(Truncates the buffer by current position, i.e. updates mySize)#"
)
.def("IsError",
(Standard_Boolean (BinObjMgt_Persistent::*)() const) static_cast<Standard_Boolean (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::IsError),
R"#(Indicates an error after Get methods or SetPosition)#"
)
.def("IsOK",
(Standard_Boolean (BinObjMgt_Persistent::*)() const) static_cast<Standard_Boolean (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::IsOK),
R"#(Indicates a good state after Get methods or SetPosition)#"
)
.def("Init",
(void (BinObjMgt_Persistent::*)() ) static_cast<void (BinObjMgt_Persistent::*)() >(&BinObjMgt_Persistent::Init),
R"#(Initializes me to reuse again)#"
)
.def("SetId",
(void (BinObjMgt_Persistent::*)( const Standard_Integer ) ) static_cast<void (BinObjMgt_Persistent::*)( const Standard_Integer ) >(&BinObjMgt_Persistent::SetId),
R"#(Sets the Id of the object)#" , py::arg("theId")
)
.def("SetTypeId",
(void (BinObjMgt_Persistent::*)( const Standard_Integer ) ) static_cast<void (BinObjMgt_Persistent::*)( const Standard_Integer ) >(&BinObjMgt_Persistent::SetTypeId),
R"#(Sets the Id of the type of the object)#" , py::arg("theId")
)
.def("Id",
(Standard_Integer (BinObjMgt_Persistent::*)() const) static_cast<Standard_Integer (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::Id),
R"#(Returns the Id of the object)#"
)
.def("TypeId",
(Standard_Integer (BinObjMgt_Persistent::*)() const) static_cast<Standard_Integer (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::TypeId),
R"#(Returns the Id of the type of the object)#"
)
.def("Length",
(Standard_Integer (BinObjMgt_Persistent::*)() const) static_cast<Standard_Integer (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::Length),
R"#(Returns the length of data)#"
)
.def("Write",
(Standard_OStream & (BinObjMgt_Persistent::*)( Standard_OStream & , const Standard_Boolean ) ) static_cast<Standard_OStream & (BinObjMgt_Persistent::*)( Standard_OStream & , const Standard_Boolean ) >(&BinObjMgt_Persistent::Write),
R"#(Stores <me> to the stream. inline Standard_OStream& operator<< (Standard_OStream&, BinObjMgt_Persistent&) is also available. If theDirectStream is true, after this data the direct stream data is stored.)#" , py::arg("theOS"), py::arg("theDirectStream")=static_cast< const Standard_Boolean>(Standard_False)
)
.def("Read",
(Standard_IStream & (BinObjMgt_Persistent::*)( Standard_IStream & ) ) static_cast<Standard_IStream & (BinObjMgt_Persistent::*)( Standard_IStream & ) >(&BinObjMgt_Persistent::Read),
R"#(Retrieves <me> from the stream. inline Standard_IStream& operator>> (Standard_IStream&, BinObjMgt_Persistent&) is also available)#" , py::arg("theIS")
)
.def("Destroy",
(void (BinObjMgt_Persistent::*)() ) static_cast<void (BinObjMgt_Persistent::*)() >(&BinObjMgt_Persistent::Destroy),
R"#(Frees the allocated memory; This object can be reused after call to Init)#"
)
.def("SetOStream",
(void (BinObjMgt_Persistent::*)( Standard_OStream & ) ) static_cast<void (BinObjMgt_Persistent::*)( Standard_OStream & ) >(&BinObjMgt_Persistent::SetOStream),
R"#(Sets the stream for direct writing)#" , py::arg("theStream")
)
.def("SetIStream",
(void (BinObjMgt_Persistent::*)( Standard_IStream & ) ) static_cast<void (BinObjMgt_Persistent::*)( Standard_IStream & ) >(&BinObjMgt_Persistent::SetIStream),
R"#(Sets the stream for direct reading)#" , py::arg("theStream")
)
.def("IsDirect",
(Standard_Boolean (BinObjMgt_Persistent::*)() ) static_cast<Standard_Boolean (BinObjMgt_Persistent::*)() >(&BinObjMgt_Persistent::IsDirect),
R"#(Returns true if after this record a direct writing to the stream is performed.)#"
)
.def("StreamStart",
(handle<BinObjMgt_Position> (BinObjMgt_Persistent::*)() ) static_cast<handle<BinObjMgt_Position> (BinObjMgt_Persistent::*)() >(&BinObjMgt_Persistent::StreamStart),
R"#(Returns the start position of the direct writing in the stream)#"
)
.def("SetId",
(void (BinObjMgt_Persistent::*)( const Standard_Integer ) ) static_cast<void (BinObjMgt_Persistent::*)( const Standard_Integer ) >(&BinObjMgt_Persistent::SetId),
R"#(Sets the Id of the object)#" , py::arg("theId")
)
.def("SetTypeId",
(void (BinObjMgt_Persistent::*)( const Standard_Integer ) ) static_cast<void (BinObjMgt_Persistent::*)( const Standard_Integer ) >(&BinObjMgt_Persistent::SetTypeId),
R"#(Sets the Id of the type of the object)#" , py::arg("theTypeId")
)
.def("Id",
(Standard_Integer (BinObjMgt_Persistent::*)() const) static_cast<Standard_Integer (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::Id),
R"#(Returns the Id of the object)#"
)
.def("TypeId",
(Standard_Integer (BinObjMgt_Persistent::*)() const) static_cast<Standard_Integer (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::TypeId),
R"#(Returns the Id of the type of the object)#"
)
.def("Length",
(Standard_Integer (BinObjMgt_Persistent::*)() const) static_cast<Standard_Integer (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::Length),
R"#(Returns the length of data)#"
)
.def("Position",
(Standard_Integer (BinObjMgt_Persistent::*)() const) static_cast<Standard_Integer (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::Position),
R"#(Tells the current position for get/put)#"
)
.def("SetPosition",
(Standard_Boolean (BinObjMgt_Persistent::*)( const Standard_Integer ) const) static_cast<Standard_Boolean (BinObjMgt_Persistent::*)( const Standard_Integer ) const>(&BinObjMgt_Persistent::SetPosition),
R"#(Sets the current position for get/put. Resets an error state depending on the validity of thePos. Returns the new state (value of IsOK()))#" , py::arg("thePos")
)
.def("Truncate",
(void (BinObjMgt_Persistent::*)() ) static_cast<void (BinObjMgt_Persistent::*)() >(&BinObjMgt_Persistent::Truncate),
R"#(Truncates the buffer by current position, i.e. updates mySize)#"
)
.def("IsError",
(Standard_Boolean (BinObjMgt_Persistent::*)() const) static_cast<Standard_Boolean (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::IsError),
R"#(Indicates an error after Get methods or SetPosition)#"
)
.def("IsOK",
(Standard_Boolean (BinObjMgt_Persistent::*)() const) static_cast<Standard_Boolean (BinObjMgt_Persistent::*)() const>(&BinObjMgt_Persistent::IsOK),
R"#(Indicates a good state after Get methods or SetPosition)#"
)
.def("PutBoolean",
(BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Boolean ) ) static_cast<BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( const Standard_Boolean ) >(&BinObjMgt_Persistent::PutBoolean),
R"#()#" , py::arg("theValue")
)
.def("GetBoolean",
( const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Boolean & ) const) static_cast< const BinObjMgt_Persistent & (BinObjMgt_Persistent::*)( Standard_Boolean & ) const>(&BinObjMgt_Persistent::GetBoolean),
R"#()#" , py::arg("theValue")
)
// 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 BinObjMgt_Position from ./opencascade/BinObjMgt_Position.hxx
klass = m.attr("BinObjMgt_Position");
// nested enums
static_cast<py::class_<BinObjMgt_Position ,opencascade::handle<BinObjMgt_Position> , Standard_Transient >>(klass)
// constructors
.def(py::init< Standard_OStream & >() , py::arg("theStream") )
// custom constructors
// methods
.def("StoreSize",
(void (BinObjMgt_Position::*)( Standard_OStream & ) ) static_cast<void (BinObjMgt_Position::*)( Standard_OStream & ) >(&BinObjMgt_Position::StoreSize),
R"#(Stores the difference between the current position and the stored one.)#" , py::arg("theStream")
)
.def("WriteSize",
(void (BinObjMgt_Position::*)( Standard_OStream & , const Standard_Boolean ) ) static_cast<void (BinObjMgt_Position::*)( Standard_OStream & , const Standard_Boolean ) >(&BinObjMgt_Position::WriteSize),
R"#(Writes stored size at the stored position. Changes the current stream position. If theDummy is true, is writes to the current position zero size.)#" , py::arg("theStream"), py::arg("theDummy")=static_cast< const Standard_Boolean>(Standard_False)
)
// methods using call by reference i.s.o. return
// static methods
.def_static("get_type_name_s",
( const char * (*)() ) static_cast< const char * (*)() >(&BinObjMgt_Position::get_type_name),
R"#()#"
)
.def_static("get_type_descriptor_s",
( const handle<Standard_Type> & (*)() ) static_cast< const handle<Standard_Type> & (*)() >(&BinObjMgt_Position::get_type_descriptor),
R"#()#"
)
// static methods using call by reference i.s.o. return
// operators
// additional methods and static methods
// properties
// methods returning by ref wrapped as properties
.def("DynamicType",
( const handle<Standard_Type> & (BinObjMgt_Position::*)() const) static_cast< const handle<Standard_Type> & (BinObjMgt_Position::*)() const>(&BinObjMgt_Position::DynamicType),
R"#()#"
)
;
// Class BinObjMgt_RRelocationTable from ./opencascade/BinObjMgt_RRelocationTable.hxx
klass = m.attr("BinObjMgt_RRelocationTable");
// default constructor
register_default_constructor<BinObjMgt_RRelocationTable , shared_ptr<BinObjMgt_RRelocationTable>>(m,"BinObjMgt_RRelocationTable");
// nested enums
static_cast<py::class_<BinObjMgt_RRelocationTable , shared_ptr<BinObjMgt_RRelocationTable> >>(klass)
// constructors
// custom constructors
// methods
.def("SetHeaderData",
(void (BinObjMgt_RRelocationTable::*)( const handle<Storage_HeaderData> & ) ) static_cast<void (BinObjMgt_RRelocationTable::*)( const handle<Storage_HeaderData> & ) >(&BinObjMgt_RRelocationTable::SetHeaderData),
R"#(Sets the storage header data.)#" , py::arg("theHeaderData")
)
.def("Clear",
(void (BinObjMgt_RRelocationTable::*)( const Standard_Boolean ) ) static_cast<void (BinObjMgt_RRelocationTable::*)( const Standard_Boolean ) >(&BinObjMgt_RRelocationTable::Clear),
R"#()#" , py::arg("doReleaseMemory")=static_cast< const Standard_Boolean>(Standard_True)
)
// 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("GetHeaderData",
( const handle<Storage_HeaderData> & (BinObjMgt_RRelocationTable::*)() const) static_cast< const handle<Storage_HeaderData> & (BinObjMgt_RRelocationTable::*)() const>(&BinObjMgt_RRelocationTable::GetHeaderData),
R"#(Returns a handle to the header data of the file that is begin read)#"
)
;
// functions
// ./opencascade/BinObjMgt_PByte.hxx
// ./opencascade/BinObjMgt_PChar.hxx
// ./opencascade/BinObjMgt_PExtChar.hxx
// ./opencascade/BinObjMgt_PInteger.hxx
// ./opencascade/BinObjMgt_PReal.hxx
// ./opencascade/BinObjMgt_PShortReal.hxx
// ./opencascade/BinObjMgt_Persistent.hxx
// ./opencascade/BinObjMgt_Position.hxx
// ./opencascade/BinObjMgt_RRelocationTable.hxx
// ./opencascade/BinObjMgt_SRelocationTable.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
|