OCC.Core.BinObjMgt module¶
BinObjMgt module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binobjmgt.html
-
class
BinObjMgt_Persistent
(*args)¶ Bases:
object
- Empty constructor
- rtype
None
-
Destroy
()¶ - Frees the allocated memory; This object can be reused after call to Init
- rtype
None
-
GetAsciiString
()¶ - Parameters
theValue –
- type theValue
TCollection_AsciiString
- rtype
BinObjMgt_Persistent
-
GetBoolean
()¶ - Parameters
theValue –
- type theValue
bool
- rtype
BinObjMgt_Persistent
-
GetByte
()¶ - Parameters
theValue –
- type theValue
Standard_Byte
- rtype
BinObjMgt_Persistent
-
GetByteArray
()¶ - Get C array of unsigned chars, theLength is the number of elements; theArray must point to a space enough to place theLength elements
- param theArray
- type theArray
BinObjMgt_PByte
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
GetCharArray
()¶ - Get C array of char, theLength is the number of elements; theArray must point to a space enough to place theLength elements
- param theArray
- type theArray
BinObjMgt_PChar
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
GetCharacter
()¶ - Parameters
theValue –
- type theValue
Standard_Character
- rtype
BinObjMgt_Persistent
-
GetExtCharArray
()¶ - Get C array of ExtCharacter, theLength is the number of elements; theArray must point to a space enough to place theLength elements
- param theArray
- type theArray
BinObjMgt_PExtChar
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
GetExtCharacter
()¶ - Parameters
theValue –
- type theValue
Standard_ExtCharacter
- rtype
BinObjMgt_Persistent
-
GetExtendedString
()¶ - Parameters
theValue –
- type theValue
TCollection_ExtendedString
- rtype
BinObjMgt_Persistent
-
GetGUID
()¶ - Parameters
theValue –
- type theValue
Standard_GUID
- rtype
BinObjMgt_Persistent
-
GetIntArray
()¶ - Get C array of int, theLength is the number of elements; theArray must point to a space enough to place theLength elements
- param theArray
- type theArray
BinObjMgt_PInteger
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
GetInteger
()¶ - Parameters
theValue –
- type theValue
int
- rtype
BinObjMgt_Persistent
-
GetLabel
()¶ - Parameters
theDS –
- type theDS
TDF_Data
- param theValue
- type theValue
TDF_Label
- rtype
BinObjMgt_Persistent
-
GetReal
()¶ - Parameters
theValue –
- type theValue
float
- rtype
BinObjMgt_Persistent
-
GetRealArray
()¶ - Get C array of double, theLength is the number of elements; theArray must point to a space enough to place theLength elements
- param theArray
- type theArray
BinObjMgt_PReal
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
GetShortReal
()¶ - Parameters
theValue –
- type theValue
Standard_ShortReal
- rtype
BinObjMgt_Persistent
-
GetShortRealArray
()¶ - Get C array of float, theLength is the number of elements; theArray must point to a space enough to place theLength elements
- param theArray
- type theArray
BinObjMgt_PShortReal
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
Id
()¶ - Returns the Id of the object
- rtype
int
-
Init
()¶ - Initializes me to reuse again
- rtype
None
-
IsError
()¶ - Indicates an error after Get methods or SetPosition
- rtype
bool
-
IsOK
()¶ - Indicates a good state after Get methods or SetPosition
- rtype
bool
-
Length
()¶ - Returns the length of data
- rtype
int
-
Position
()¶ - Tells the current position for get/put
- rtype
int
-
PutAsciiString
()¶ - Offset in output buffer is word-aligned
- param theValue
- type theValue
TCollection_AsciiString
- rtype
BinObjMgt_Persistent
-
PutBoolean
()¶ - Parameters
theValue –
- type theValue
bool
- rtype
BinObjMgt_Persistent
-
PutByte
()¶ - Parameters
theValue –
- type theValue
Standard_Byte
- rtype
BinObjMgt_Persistent
-
PutByteArray
()¶ - Put C array of unsigned chars, theLength is the number of elements
- param theArray
- type theArray
BinObjMgt_PByte
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
PutCString
()¶ - Offset in output buffer is not aligned
- param theValue
- type theValue
char *
- rtype
BinObjMgt_Persistent
-
PutCharArray
()¶ - Put C array of char, theLength is the number of elements
- param theArray
- type theArray
BinObjMgt_PChar
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
PutCharacter
()¶ - Parameters
theValue –
- type theValue
Standard_Character
- rtype
BinObjMgt_Persistent
-
PutExtCharArray
()¶ - Put C array of ExtCharacter, theLength is the number of elements
- param theArray
- type theArray
BinObjMgt_PExtChar
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
PutExtCharacter
()¶ - Parameters
theValue –
- type theValue
Standard_ExtCharacter
- rtype
BinObjMgt_Persistent
-
PutExtendedString
()¶ - Offset in output buffer is word-aligned
- param theValue
- type theValue
TCollection_ExtendedString
- rtype
BinObjMgt_Persistent
-
PutGUID
()¶ - Parameters
theValue –
- type theValue
Standard_GUID
- rtype
BinObjMgt_Persistent
-
PutIntArray
()¶ - Put C array of int, theLength is the number of elements
- param theArray
- type theArray
BinObjMgt_PInteger
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
PutInteger
()¶ - Parameters
theValue –
- type theValue
int
- rtype
BinObjMgt_Persistent
-
PutLabel
()¶ - Parameters
theValue –
- type theValue
TDF_Label
- rtype
BinObjMgt_Persistent
-
PutReal
()¶ - Parameters
theValue –
- type theValue
float
- rtype
BinObjMgt_Persistent
-
PutRealArray
()¶ - Put C array of double, theLength is the number of elements
- param theArray
- type theArray
BinObjMgt_PReal
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
PutShortReal
()¶ - Parameters
theValue –
- type theValue
Standard_ShortReal
- rtype
BinObjMgt_Persistent
-
PutShortRealArray
()¶ - Put C array of float, theLength is the number of elements
- param theArray
- type theArray
BinObjMgt_PShortReal
- param theLength
- type theLength
int
- rtype
BinObjMgt_Persistent
-
ReadFromString
(BinObjMgt_Persistent self, std::string src)¶
-
SetId
()¶ - Sets the Id of the object
- param theId
- type theId
int
- rtype
None
-
SetPosition
()¶ - Sets the current position for get/put. Resets an error state depending on the validity of thePos. Returns the new state (value of IsOK())
- param thePos
- type thePos
int
- rtype
bool
-
SetTypeId
()¶ - Sets the Id of the type of the object
- param theId
- type theId
int
- rtype
None
-
Truncate
()¶ - Truncates the buffer by current position, i.e. updates mySize
- rtype
None
-
TypeId
()¶ - Returns the Id of the type of the object
- rtype
int
-
WriteToString
(BinObjMgt_Persistent self) → std::string¶
-
property
thisown
¶ The membership flag
-
class
BinObjMgt_RRelocationTable
¶ Bases:
OCC.Core.TColStd.TColStd_DataMapOfIntegerTransient
-
Clear
()¶ - Parameters
doReleaseMemory – default value is Standard_True :type doReleaseMemory: bool :rtype: None
-
GetHeaderData
()¶ - Returns a handle to the header data of the file that is begin read
- rtype
opencascade::handle<Storage_HeaderData>
-
SetHeaderData
()¶ - Sets the storage header data. //! @param theHeaderData header data of the file that is begin read
- param theHeaderData
- type theHeaderData
Storage_HeaderData
- rtype
None
-
property
thisown
¶ The membership flag
-