Open CASCADE Technology 6.6.0
Public Member Functions
XmlMXCAFDoc_LocationDriver Class Reference

Attribute Driver.

#include <XmlMXCAFDoc_LocationDriver.hxx>

Inheritance diagram for XmlMXCAFDoc_LocationDriver:
Inheritance graph
[legend]

Public Member Functions

 XmlMXCAFDoc_LocationDriver (const Handle< CDM_MessageDriver > &theMessageDriver)
Handle_TDF_Attribute NewEmpty () const
 Creates a new attribute from TDF.

Standard_Boolean Paste (const XmlObjMgt_Persistent &Source, const Handle< TDF_Attribute > &Target, XmlObjMgt_RRelocationTable &RelocTable) const
 Translate the contents of <aSource> and put it
into <aTarget>, using the relocation table
<aRelocTable> to keep the sharings.

void Paste (const Handle< TDF_Attribute > &Source, XmlObjMgt_Persistent &Target, XmlObjMgt_SRelocationTable &RelocTable) const
 Translate the contents of <aSource> and put it
into <aTarget>, using the relocation table
<aRelocTable> to keep the sharings.

void Translate (const TopLoc_Location &theLoc, XmlObjMgt_Element &theParent, XmlObjMgt_SRelocationTable &theMap) const
 Translate a non storable Location to a storable Location.

Standard_Boolean Translate (const XmlObjMgt_Element &theParent, TopLoc_Location &theLoc, XmlObjMgt_RRelocationTable &theMap) const
 Translate a storable Location to a non storable Location.

void SetSharedLocations (const TopTools_LocationSetPtr &theLocations)

Constructor & Destructor Documentation

XmlMXCAFDoc_LocationDriver::XmlMXCAFDoc_LocationDriver ( const Handle< CDM_MessageDriver > &  theMessageDriver)

Member Function Documentation

Handle_TDF_Attribute XmlMXCAFDoc_LocationDriver::NewEmpty ( ) const [virtual]

Implements XmlMDF_ADriver.

Standard_Boolean XmlMXCAFDoc_LocationDriver::Paste ( const XmlObjMgt_Persistent aSource,
const Handle< TDF_Attribute > &  aTarget,
XmlObjMgt_RRelocationTable aRelocTable 
) const [virtual]

Implements XmlMDF_ADriver.

void XmlMXCAFDoc_LocationDriver::Paste ( const Handle< TDF_Attribute > &  aSource,
XmlObjMgt_Persistent aTarget,
XmlObjMgt_SRelocationTable aRelocTable 
) const [virtual]

Implements XmlMDF_ADriver.

void XmlMXCAFDoc_LocationDriver::SetSharedLocations ( const TopTools_LocationSetPtr theLocations)
Standard_Boolean XmlMXCAFDoc_LocationDriver::Translate ( const XmlObjMgt_Element theParent,
TopLoc_Location theLoc,
XmlObjMgt_RRelocationTable theMap 
) const
void XmlMXCAFDoc_LocationDriver::Translate ( const TopLoc_Location theLoc,
XmlObjMgt_Element theParent,
XmlObjMgt_SRelocationTable theMap 
) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines