Open CASCADE Technology
6.5.4
|
This attribute is the root of all external
references contained in a Data from TDF. Only one
instance of this class is added to the TDF_Data
root label. Starting from this attribute all the
Reference are linked together, to be found
easely.
#include <TDocStd_XLinkRoot.hxx>
Public Member Functions | |
const Standard_GUID & | ID () const |
Returns the ID of the attribute. | |
Handle_TDF_Attribute | BackupCopy () const |
Returns a null handle. | |
void | Restore (const Handle< TDF_Attribute > &anAttribute) |
Does nothing. | |
Handle_TDF_Attribute | NewEmpty () const |
Returns a null handle. | |
void | Paste (const Handle< TDF_Attribute > &intoAttribute, const Handle< TDF_RelocationTable > &aRelocationTable) const |
Does nothing. | |
Standard_OStream & | Dump (Standard_OStream &anOS) const |
Dumps the attribute on <aStream>. | |
Static Public Member Functions | |
static const Standard_GUID & | GetID () |
Returns the ID: 2a96b61d-ec8b-11d0-bee7-080009dc3333 | |
static Handle_TDocStd_XLinkRoot | Set (const Handle< TDF_Data > &aDF) |
Sets an empty XLinkRoot to Root or gets the existing one. Only one attribute per TDF_Data. | |
static void | Insert (const TDocStd_XLinkPtr &anXLinkPtr) |
Inserts <anXLinkPtr> at the beginning of the XLink chain. | |
static void | Remove (const TDocStd_XLinkPtr &anXLinkPtr) |
Removes <anXLinkPtr> from the XLink chain, if it exists. |
Handle_TDF_Attribute TDocStd_XLinkRoot::BackupCopy | ( | ) | const [virtual] |
Reimplemented from TDF_Attribute.
Standard_OStream& TDocStd_XLinkRoot::Dump | ( | Standard_OStream & | anOS | ) | const [virtual] |
Reimplemented from TDF_Attribute.
static const Standard_GUID& TDocStd_XLinkRoot::GetID | ( | ) | [static] |
const Standard_GUID& TDocStd_XLinkRoot::ID | ( | ) | const [virtual] |
Implements TDF_Attribute.
static void TDocStd_XLinkRoot::Insert | ( | const TDocStd_XLinkPtr & | anXLinkPtr | ) | [static] |
Handle_TDF_Attribute TDocStd_XLinkRoot::NewEmpty | ( | ) | const [virtual] |
Implements TDF_Attribute.
void TDocStd_XLinkRoot::Paste | ( | const Handle< TDF_Attribute > & | intoAttribute, |
const Handle< TDF_RelocationTable > & | aRelocationTable | ||
) | const [virtual] |
Implements TDF_Attribute.
static void TDocStd_XLinkRoot::Remove | ( | const TDocStd_XLinkPtr & | anXLinkPtr | ) | [static] |
void TDocStd_XLinkRoot::Restore | ( | const Handle< TDF_Attribute > & | anAttribute | ) | [virtual] |
Implements TDF_Attribute.
static Handle_TDocStd_XLinkRoot TDocStd_XLinkRoot::Set | ( | const Handle< TDF_Data > & | aDF | ) | [static] |