OCC.Core.BinMDF module¶
BinMDF module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_binmdf.html
-
class
BinMDF_ADriver
(*args, **kwargs)¶ Bases:
OCC.Core.Standard.Standard_Transient
Empty constructor
- Return type
None* Copy constructor – does nothing
- Parameters
& (Standard_Transient) –
- Return type
-
static
DownCast
(t)¶
-
NewEmpty
()¶ - Creates a new attribute from TDF.
- rtype
opencascade::handle<TDF_Attribute>
-
Paste
()¶ - Translate the contents of <aSource> and put it into <aTarget>, using the relocation table <aRelocTable> to keep the sharings.
- param aSource
- type aSource
BinObjMgt_Persistent
- param aTarget
- type aTarget
TDF_Attribute
- param aRelocTable
- type aRelocTable
BinObjMgt_RRelocationTable
- rtype
bool* Translate the contents of <aSource> and put it into <aTarget>, using the relocation table <aRelocTable> to keep the sharings.
- param aSource
- type aSource
TDF_Attribute
- param aTarget
- type aTarget
BinObjMgt_Persistent
- param aRelocTable
- type aRelocTable
BinObjMgt_SRelocationTable
- rtype
void
-
SourceType
()¶ - Returns the type of source object, inheriting from Attribute from TDF.
- rtype
opencascade::handle<Standard_Type>
-
TypeName
()¶ - Returns the type name of the attribute object
- rtype
TCollection_AsciiString
-
property
thisown
¶ The membership flag
-
class
BinMDF_ADriverTable
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Constructor
- rtype
None
-
AddDriver
()¶ - Adds a translation driver <theDriver>.
- param theDriver
- type theDriver
BinMDF_ADriver
- rtype
None
-
AssignIds
()¶ - Assigns the IDs to the drivers of the given Types. It uses indices in the map as IDs. Useful in storage procedure.
- param theTypes
- type theTypes
TColStd_IndexedMapOfTransient
- rtype
None* Assigns the IDs to the drivers of the given Type Names; It uses indices in the sequence as IDs. Useful in retrieval procedure.
- param theTypeNames
- type theTypeNames
TColStd_SequenceOfAsciiString
- rtype
None
-
static
DownCast
(t)¶
-
GetDriver
()¶ - Gets a driver <theDriver> according to <theType>. Returns Type ID if the driver was assigned an ID; 0 otherwise.
- param theType
- type theType
Standard_Type
- param theDriver
- type theDriver
BinMDF_ADriver
- rtype
int* Returns a driver according to <theTypeId>. Returns null handle if a driver is not found
- param theTypeId
- type theTypeId
int
- rtype
opencascade::handle<BinMDF_ADriver>
-
property
thisown
¶ The membership flag
-
class
BinMDF_ReferenceDriver
(*args)¶ Bases:
OCC.Core.BinMDF.BinMDF_ADriver
- Parameters
theMessageDriver –
- type theMessageDriver
Message_Messenger
- rtype
None
-
static
DownCast
(t)¶
-
Paste
()¶ - Parameters
Source –
- type Source
BinObjMgt_Persistent
- param Target
- type Target
TDF_Attribute
- param RelocTable
- type RelocTable
BinObjMgt_RRelocationTable
- rtype
bool:param Source:
- type Source
TDF_Attribute
- param Target
- type Target
BinObjMgt_Persistent
- param RelocTable
- type RelocTable
BinObjMgt_SRelocationTable
- rtype
void
-
property
thisown
¶ The membership flag
-
class
BinMDF_TagSourceDriver
(*args)¶ Bases:
OCC.Core.BinMDF.BinMDF_ADriver
- Parameters
theMessageDriver –
- type theMessageDriver
Message_Messenger
- rtype
None
-
static
DownCast
(t)¶
-
Paste
()¶ - Parameters
Source –
- type Source
BinObjMgt_Persistent
- param Target
- type Target
TDF_Attribute
- param RelocTable
- type RelocTable
BinObjMgt_RRelocationTable
- rtype
bool:param Source:
- type Source
TDF_Attribute
- param Target
- type Target
BinObjMgt_Persistent
- param RelocTable
- type RelocTable
BinObjMgt_SRelocationTable
- rtype
None
-
property
thisown
¶ The membership flag
-
class
BinMDF_TypeADriverMap
(*args)¶ Bases:
object
-
Assign
()¶
-
Bind
()¶
-
Bound
()¶
-
ChangeFind
()¶
-
ChangeSeek
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find
()¶
-
IsBound
()¶
-
ReSize
()¶
-
Seek
()¶
-
Set
()¶
-
Size
()¶
-
UnBind
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
BinMDF_TypeIdMap
(*args)¶ Bases:
object
-
AreBound
()¶
-
Assign
()¶
-
Bind
()¶
-
Clear
()¶
-
Exchange
()¶
-
Find1
()¶
-
Find2
()¶
-
IsBound1
()¶
-
IsBound2
()¶
-
ReSize
()¶
-
Seek1
()¶
-
Seek2
()¶
-
Set
()¶
-
Size
()¶
-
UnBind1
()¶
-
UnBind2
()¶
-
property
thisown
¶ The membership flag
-