Open CASCADE Technology 6.6.0
Public Member Functions | Static Public Member Functions
TDocStd_XLinkRoot Class Reference

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>

Inheritance diagram for TDocStd_XLinkRoot:
Inheritance graph
[legend]

Public Member Functions

const Standard_GUIDID () 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_OStreamDump (Standard_OStream &anOS) const
 Dumps the attribute on <aStream>.

Static Public Member Functions

static const Standard_GUIDGetID ()
 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.


Member Function Documentation

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]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines