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

Set of Shapes Used in a Data from TDF
Only one instance by Data, it always
Stored as Attribute of The Root.

#include <TNaming_UsedShapes.hxx>

Inheritance diagram for TNaming_UsedShapes:
Inheritance graph
[legend]

Public Member Functions

void Destroy ()
 ~TNaming_UsedShapes ()
TNaming_DataMapOfShapePtrRefShapeMap ()
const Standard_GUIDID () const
 Returns the ID of the attribute.

virtual Handle_TDF_Attribute BackupCopy () const
 Copies the attribute contents into a new other
attribute. It is used by Backup().

virtual void Restore (const Handle< TDF_Attribute > &anAttribute)
 Restores the contents from <anAttribute> into this
one. It is used when aborting a transaction.

virtual void BeforeRemoval ()
 Clears the table.

virtual Standard_Boolean AfterUndo (const Handle< TDF_AttributeDelta > &anAttDelta, const Standard_Boolean forceIt=Standard_False)
 Something to do after applying <anAttDelta>.

virtual Handle_TDF_DeltaOnAddition DeltaOnAddition () const
 this method returns a null handle (no delta).

virtual Handle_TDF_DeltaOnRemoval DeltaOnRemoval () const
 this method returns a null handle (no delta).

virtual Handle_TDF_Attribute NewEmpty () const
 Returns an new empty attribute from the good end
type. It is used by the copy algorithm.

virtual void Paste (const Handle< TDF_Attribute > &intoAttribute, const Handle< TDF_RelocationTable > &aRelocTationable) const
 This method is different from the "Copy" one,
because it is used when copying an attribute from
a source structure into a target structure. This
method pastes the current attribute to the label
corresponding to the insertor. The pasted
attribute may be a brand new one or a new version
of the previous one.

virtual void References (const Handle< TDF_DataSet > &aDataSet) const
 Adds the directly referenced attributes and labels
to <aDataSet>. "Directly" means we have only to
look at the first level of references.

For this, use only the AddLabel() & AddAttribute()
from DataSet and do not try to modify information
previously stored in <aDataSet>.

virtual Standard_OStreamDump (Standard_OStream &anOS) const
 Dumps the attribute on <aStream>.

Static Public Member Functions

static const Standard_GUIDGetID ()
 Returns the ID: 2a96b614-ec8b-11d0-bee7-080009dc3333.


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from TDF_Attribute.

virtual Handle_TDF_Attribute TNaming_UsedShapes::BackupCopy ( ) const [virtual]

Reimplemented from TDF_Attribute.

virtual void TNaming_UsedShapes::BeforeRemoval ( ) [virtual]

Reimplemented from TDF_Attribute.

virtual Handle_TDF_DeltaOnAddition TNaming_UsedShapes::DeltaOnAddition ( ) const [virtual]

Reimplemented from TDF_Attribute.

virtual Handle_TDF_DeltaOnRemoval TNaming_UsedShapes::DeltaOnRemoval ( ) const [virtual]

Reimplemented from TDF_Attribute.

virtual Standard_OStream& TNaming_UsedShapes::Dump ( Standard_OStream anOS) const [virtual]

Reimplemented from TDF_Attribute.

Implements TDF_Attribute.

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

Implements TDF_Attribute.

virtual void TNaming_UsedShapes::Paste ( const Handle< TDF_Attribute > &  intoAttribute,
const Handle< TDF_RelocationTable > &  aRelocTationable 
) const [virtual]

Implements TDF_Attribute.

virtual void TNaming_UsedShapes::References ( const Handle< TDF_DataSet > &  aDataSet) const [virtual]

Reimplemented from TDF_Attribute.

virtual void TNaming_UsedShapes::Restore ( const Handle< TDF_Attribute > &  anAttribute) [virtual]

Implements TDF_Attribute.


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