Open CASCADE Technology 6.6.0
|
#include <TDF_Reference.hxx>
Public Member Functions | |
void | Set (const TDF_Label &Origin) |
TDF_Label | Get () const |
const Standard_GUID & | ID () const |
Returns the ID of the attribute. | |
void | Restore (const Handle< TDF_Attribute > &With) |
Restores the backuped contents from <anAttribute> into this one. It is used when aborting a transaction. | |
Handle_TDF_Attribute | NewEmpty () const |
Returns an new empty attribute from the good end type. It is used by the copy algorithm. | |
void | Paste (const Handle< TDF_Attribute > &Into, const Handle< TDF_RelocationTable > &RT) 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 may paste the contents of <me> into <intoAttribute>. The given pasted attribute can be full or empty of its contents. But don't make a NEW! Just set the contents! It is possible to use <aRelocationTable> to get/set the relocation value of a source attribute. | |
virtual void | References (const Handle< TDF_DataSet > &DS) const |
Adds the first level referenced attributes and labels to <aDataSet>. For this, use the AddLabel or AddAttribute of DataSet. If there is none, do not implement the method. | |
virtual Standard_OStream & | Dump (Standard_OStream &anOS) const |
Dumps the minimum information about <me> on <aStream>. | |
TDF_Reference () | |
Static Public Member Functions | |
static const Standard_GUID & | GetID () |
static Handle_TDF_Reference | Set (const TDF_Label &I, const TDF_Label &Origin) |
TDF_Reference::TDF_Reference | ( | ) |
virtual Standard_OStream& TDF_Reference::Dump | ( | Standard_OStream & | anOS | ) | const [virtual] |
Reimplemented from TDF_Attribute.
TDF_Label TDF_Reference::Get | ( | ) | const |
static const Standard_GUID& TDF_Reference::GetID | ( | ) | [static] |
const Standard_GUID& TDF_Reference::ID | ( | ) | const [virtual] |
Implements TDF_Attribute.
Handle_TDF_Attribute TDF_Reference::NewEmpty | ( | ) | const [virtual] |
Implements TDF_Attribute.
void TDF_Reference::Paste | ( | const Handle< TDF_Attribute > & | intoAttribute, |
const Handle< TDF_RelocationTable > & | aRelocationTable | ||
) | const [virtual] |
Implements TDF_Attribute.
virtual void TDF_Reference::References | ( | const Handle< TDF_DataSet > & | aDataSet | ) | const [virtual] |
Reimplemented from TDF_Attribute.
void TDF_Reference::Restore | ( | const Handle< TDF_Attribute > & | anAttribute | ) | [virtual] |
Implements TDF_Attribute.
static Handle_TDF_Reference TDF_Reference::Set | ( | const TDF_Label & | I, |
const TDF_Label & | Origin | ||
) | [static] |
void TDF_Reference::Set | ( | const TDF_Label & | Origin | ) |