Logo Search packages:      
Sourcecode: opencascade version File versions  Download package

TDF_Attribute Class Reference

#include <TDF_Attribute.hxx>

Inheritance diagram for TDF_Attribute:

MMgt_TShared Standard_Transient DDataStd_DrawPresentation TDataStd_AsciiString TDataStd_Axis TDataStd_BooleanArray TDataStd_BooleanList TDataStd_ByteArray TDataStd_Comment TDataStd_Constraint TDataStd_Current TDataStd_Directory TDataStd_Expression TDataStd_ExtStringArray TDataStd_ExtStringList TDataStd_Geometry TDataStd_Integer TDataStd_IntegerArray TDataStd_IntegerList TDataStd_IntPackedMap TDataStd_Name TDataStd_NamedData TDataStd_NoteBook TDataStd_Pattern TDataStd_Plane TDataStd_Point TDataStd_Position TDataStd_Real TDataStd_RealArray TDataStd_RealList TDataStd_ReferenceArray TDataStd_ReferenceList TDataStd_Relation TDataStd_Shape TDataStd_Tick TDataStd_TreeNode TDataStd_Variable TDF_TagSource TDocStd_Modified TDocStd_XLink TDocStd_XLinkRoot TFunction_Function TFunction_GraphNode TFunction_Scope TNaming_NamedShape TNaming_Naming TNaming_UsedShapes TObj_TIntSparseArray TObj_TIntSparseArray TObj_TModel TObj_TModel TObj_TNameContainer TObj_TNameContainer TObj_TObject TObj_TObject TObj_TReference TObj_TReference TPrsStd_AISPresentation TPrsStd_AISViewer XCAFDoc_ColorTool XCAFDoc_DimTolTool XCAFDoc_DocumentTool XCAFDoc_GraphNode XCAFDoc_LayerTool XCAFDoc_MaterialTool XCAFDoc_ShapeTool

List of all members.


Detailed Description

This abstract class, alongwith Label,
is one of the cornerstones of Model Editor.
The groundwork is to define the root of
information. This information is to be
attached to a Label, and could be of any of
the following types:

Definition at line 178 of file TDF_Attribute.hxx.


Public Member Functions

Standard_EXPORT void AddAttribute (const Handle(TDF_Attribute)&other) const
virtual Standard_EXPORT void AfterAddition ()
 Something to do after adding an Attribute to a label.
.
virtual Standard_EXPORT void AfterResume ()
virtual Standard_EXPORT
Standard_Boolean 
AfterRetrieval (const Standard_Boolean forceIt=Standard_False)
virtual Standard_EXPORT
Standard_Boolean 
AfterUndo (const Handle(TDF_AttributeDelta)&anAttDelta, const Standard_Boolean forceIt=Standard_False)
Standard_EXPORT void Backup ()
virtual Standard_EXPORT
Handle_TDF_Attribute 
BackupCopy () const
virtual Standard_EXPORT void BeforeCommitTransaction ()
virtual Standard_EXPORT void BeforeForget ()
virtual Standard_EXPORT void BeforeRemoval ()
virtual Standard_EXPORT
Standard_Boolean 
BeforeUndo (const Handle(TDF_AttributeDelta)&anAttDelta, const Standard_Boolean forceIt=Standard_False)
virtual Standard_EXPORT void Delete () const
 Memory deallocator for transient classes.
virtual Standard_EXPORT
Handle_TDF_DeltaOnAddition 
DeltaOnAddition () const
virtual Standard_EXPORT
Handle_TDF_DeltaOnForget 
DeltaOnForget () const
virtual Standard_EXPORT void DeltaOnModification (const Handle(TDF_DeltaOnModification)&aDelta)
 Applies a DeltaOnModification to <me>.
.
virtual Standard_EXPORT
Handle_TDF_DeltaOnModification 
DeltaOnModification (const Handle(TDF_Attribute)&anOldAttribute) const
virtual Standard_EXPORT
Handle_TDF_DeltaOnRemoval 
DeltaOnRemoval () const
virtual Standard_EXPORT
Handle_TDF_DeltaOnResume 
DeltaOnResume () const
virtual Standard_EXPORT
Standard_OStream & 
Dump (Standard_OStream &anOS) const
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
virtual Standard_EXPORT const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object.
virtual Standard_EXPORT void ExtendedDump (Standard_OStream &anOS, const TDF_IDFilter &aFilter, TDF_AttributeIndexedMap &aMap) const
Standard_EXPORT Standard_Boolean FindAttribute (const Standard_GUID &anID, Handle(TDF_Attribute)&anAttribute) const
Standard_EXPORT void Forget (const Standard_Integer aTransaction)
Standard_EXPORT void ForgetAllAttributes (const Standard_Boolean clearChildren=Standard_True) const
Standard_EXPORT Standard_Boolean ForgetAttribute (const Standard_GUID &aguid) const
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT Standard_Integer GetRefCount () const
 Get the reference counter of this object.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
virtual Standard_EXPORT
Standard_Integer 
HashCode (const Standard_Integer Upper) const
virtual Standard_EXPORT const
Standard_GUID & 
ID () const =0
Standard_EXPORT Standard_Boolean IsAttribute (const Standard_GUID &anID) const
Standard_Boolean IsBackuped () const
Standard_Boolean IsForgotten () const
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
Standard_EXPORT Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type.
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_EXPORT Standard_Boolean IsKind (const Standard_CString theTypeName) const
Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
Standard_Boolean IsNew () const
Standard_Boolean IsValid () const
Standard_EXPORT const TDF_Label Label () const
virtual Standard_EXPORT
Handle_TDF_Attribute 
NewEmpty () const =0
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void operator delete (void *anAddress)
 Operator delete symmetric to operator new.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
void * operator new (size_t size)
 Operator new for memory allocation uses Open CASCADE memory manager.
void * operator new (size_t, void *anAddress)
 Operator new for placement in pre-allocated memory.
Standard_OStream & operator<< (Standard_OStream &anOS) const
virtual Standard_EXPORT void Paste (const Handle(TDF_Attribute)&intoAttribute, const Handle(TDF_RelocationTable)&aRelocationTable) const =0
virtual Standard_EXPORT void References (const Handle(TDF_DataSet)&aDataSet) const
virtual Standard_EXPORT void Restore (const Handle(TDF_Attribute)&anAttribute)=0
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT void ShallowDump (Standard_OStream &) const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
virtual Standard_EXPORT
Handle_Standard_Transient 
This () const
Standard_Integer Transaction () const
Standard_EXPORT Standard_Integer UntilTransaction () const

Protected Member Functions

Standard_EXPORT TDF_Attribute ()
 Initializes fields.
.

Private Member Functions

void Backup (const Standard_Boolean aStatus)
Standard_EXPORT void RemoveBackup ()
 Removes the last backup attribute, if it exists.
.
Standard_EXPORT void Resume ()
 Resumes the attribute (undos Forget action).
.
void Validate (const Standard_Boolean aStatus)

Private Attributes

Handle_TDF_Attribute myBackup
Standard_Integer myFlags
TDF_LabelNodePtr myLabelNode
Handle_TDF_Attribute myNext
Standard_Integer mySavedTransaction
Standard_Integer myTransaction

Friends

class TDF_AttributeIterator
class TDF_Data
class TDF_DeltaOnForget
class TDF_Label
class TDF_LabelNode

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

Generated by  Doxygen 1.6.0   Back to index