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

NamedShape Attribute Driver.

#include <BinMNaming_NamedShapeDriver.hxx>

Inheritance diagram for BinMNaming_NamedShapeDriver:
Inheritance graph
[legend]

Public Member Functions

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

Standard_Boolean Paste (const BinObjMgt_Persistent &Source, const Handle< TDF_Attribute > &Target, BinObjMgt_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, BinObjMgt_Persistent &Target, BinObjMgt_SRelocationTable &RelocTable) const
 Translate the contents of <aSource> and put it
into <aTarget>, using the relocation table
<aRelocTable> to keep the sharings.

void ReadShapeSection (Standard_IStream &theIS)
 Input the shapes from Bin Document file

void WriteShapeSection (Standard_OStream &theOS)
 Output the shapes into Bin Document file

void Clear ()
 Clear myShapeSet

void SetFormatNb (const Standard_Integer theFormat)
 set the format of topology
First : does not write CurveOnSurface UV Points into the file
on reading calls Check() method.
Second: stores CurveOnSurface UV Points.

Standard_Integer GetFormatNb () const
 get the format of topology

BinTools_LocationSetGetShapesLocations ()
 get the format of topology


Constructor & Destructor Documentation


Member Function Documentation

Handle_TDF_Attribute BinMNaming_NamedShapeDriver::NewEmpty ( ) const [virtual]

Implements BinMDF_ADriver.

Implements BinMDF_ADriver.

void BinMNaming_NamedShapeDriver::Paste ( const Handle< TDF_Attribute > &  aSource,
BinObjMgt_Persistent aTarget,
BinObjMgt_SRelocationTable aRelocTable 
) const [virtual]

Implements BinMDF_ADriver.


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