OCC.Core.XmlMDF module¶
XmlMDF module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_xmlmdf.html
-
class
SwigPyIterator(*args, **kwargs)¶ Bases:
object-
advance()¶
-
copy()¶
-
decr()¶
-
distance()¶
-
equal()¶
-
incr()¶
-
next()¶
-
previous()¶
-
property
thisown¶ The membership flag
-
value()¶
-
-
class
XmlMDF_ADriver(*args, **kwargs)¶ Bases:
OCC.Core.Standard.Standard_TransientEmpty 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
XmlObjMgt_Persistent &
- param aTarget
- type aTarget
opencascade::handle<TDF_Attribute> &
- param aRelocTable
- type aRelocTable
XmlObjMgt_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
opencascade::handle<TDF_Attribute> &
- param aTarget
- type aTarget
XmlObjMgt_Persistent &
- param aRelocTable
- type aRelocTable
XmlObjMgt_SRelocationTable &
- rtype
void
-
SourceType()¶ - Returns the type of source object, inheriting from Attribute from TDF.
- rtype
opencascade::handle<Standard_Type>
-
TypeName()¶ - Returns the full XML tag name (including NS prefix)
- rtype
TCollection_AsciiString
-
VersionNumber()¶ - Returns the version number from which the driver is available.
- rtype
int
-
property
thisown¶ The membership flag
-
class
XmlMDF_ADriverTable(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient- Creates a mutable ADriverTable from XmlMDF.
- rtype
None
-
AddDriver()¶ - Sets a translation driver: <aDriver>.
- param anHDriver
- type anHDriver
opencascade::handle<XmlMDF_ADriver> &
- rtype
None
-
static
DownCast(t)¶
-
GetDriver()¶ - Gets a driver <aDriver> according to <aType> //! Returns True if a driver is found; false otherwise.
- param aType
- type aType
opencascade::handle<Standard_Type> &
- param anHDriver
- type anHDriver
opencascade::handle<XmlMDF_ADriver> &
- rtype
bool
-
GetDrivers()¶ - Gets a map of drivers.
- rtype
XmlMDF_TypeADriverMap
-
property
thisown¶ The membership flag
-
class
XmlMDF_MapOfDriver(*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
XmlMDF_ReferenceDriver(*args)¶ Bases:
OCC.Core.XmlMDF.XmlMDF_ADriver- Parameters
theMessageDriver –
- type theMessageDriver
opencascade::handle<Message_Messenger> &
- rtype
None
-
static
DownCast(t)¶
-
Paste()¶ - Parameters
Source –
- type Source
XmlObjMgt_Persistent &
- param Target
- type Target
opencascade::handle<TDF_Attribute> &
- param RelocTable
- type RelocTable
XmlObjMgt_RRelocationTable &
- rtype
bool:param Source:
- type Source
opencascade::handle<TDF_Attribute> &
- param Target
- type Target
XmlObjMgt_Persistent &
- param RelocTable
- type RelocTable
XmlObjMgt_SRelocationTable &
- rtype
None
-
property
thisown¶ The membership flag
-
class
XmlMDF_TagSourceDriver(*args)¶ Bases:
OCC.Core.XmlMDF.XmlMDF_ADriver- Parameters
theMessageDriver –
- type theMessageDriver
opencascade::handle<Message_Messenger> &
- rtype
None
-
static
DownCast(t)¶
-
Paste()¶ - Parameters
Source –
- type Source
XmlObjMgt_Persistent &
- param Target
- type Target
opencascade::handle<TDF_Attribute> &
- param RelocTable
- type RelocTable
XmlObjMgt_RRelocationTable &
- rtype
bool:param Source:
- type Source
opencascade::handle<TDF_Attribute> &
- param Target
- type Target
XmlObjMgt_Persistent &
- param RelocTable
- type RelocTable
XmlObjMgt_SRelocationTable &
- rtype
None
-
property
thisown¶ The membership flag
-
class
XmlMDF_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
xmlmdf¶ Bases:
object-
static
AddDrivers()¶ - Adds the attribute storage drivers to <aDriverSeq>.
- param aDriverTable
- type aDriverTable
opencascade::handle<XmlMDF_ADriverTable> &
- param theMessageDriver
- type theMessageDriver
opencascade::handle<Message_Messenger> &
- rtype
void
-
static
FromTo()¶ - Translates a transient <aSource> into a persistent <aTarget>.
- param aSource
- type aSource
opencascade::handle<TDF_Data> &
- param aTarget
- type aTarget
XmlObjMgt_Element &
- param aReloc
- type aReloc
XmlObjMgt_SRelocationTable &
- param aDrivers
- type aDrivers
opencascade::handle<XmlMDF_ADriverTable> &
- rtype
void* Translates a persistent <aSource> into a transient <aTarget>. Returns True if completed successfully (False on error)
- param aSource
- type aSource
XmlObjMgt_Element &
- param aTarget
- type aTarget
opencascade::handle<TDF_Data> &
- param aReloc
- type aReloc
XmlObjMgt_RRelocationTable &
- param aDrivers
- type aDrivers
opencascade::handle<XmlMDF_ADriverTable> &
- rtype
bool
-
property
thisown¶ The membership flag
-
static