Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
XmlMNaming_NamedShapeDriver Class Reference

#include <XmlMNaming_NamedShapeDriver.hxx>

Inheritance diagram for XmlMNaming_NamedShapeDriver:
Inheritance graph
[legend]

Public Member Functions

 XmlMNaming_NamedShapeDriver (const Handle< CDM_MessageDriver > &aMessageDriver)
virtual Handle_TDF_Attribute NewEmpty () const
 Creates a new attribute from TDF.

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

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

void ReadShapeSection (const XmlObjMgt_Element &anElement)
 Input the shapes from DOM element

void WriteShapeSection (XmlObjMgt_Element &anElement)
 Output the shapes into DOM element

void Clear ()
 Clear myShapeSet

TopTools_LocationSetGetShapesLocations ()
 get the format of topology


Constructor & Destructor Documentation


Member Function Documentation

virtual Handle_TDF_Attribute XmlMNaming_NamedShapeDriver::NewEmpty ( ) const [virtual]

Implements XmlMDF_ADriver.

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

Implements XmlMDF_ADriver.

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

Implements XmlMDF_ADriver.


The documentation for this class was generated from the following file: