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

This attribute manage a tag provider to create
child labels of a given one.

#include <TDF_TagSource.hxx>

Inheritance diagram for TDF_TagSource:
Inheritance graph
[legend]

Public Member Functions

 TDF_TagSource ()
Standard_Integer NewTag ()
TDF_Label NewChild ()
Standard_Integer Get () const
void Set (const Standard_Integer T)
 TDF_Attribute methods
=====================

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

Static Public Member Functions

static const Standard_GUIDGetID ()
 class methods
=============

static Handle_TDF_TagSource Set (const TDF_Label &label)
 Find, or create, a TagSource attribute. the TagSource
attribute is returned.

static TDF_Label NewChild (const TDF_Label &L)
 Find (or create) a tagSource attribute located at <L>
and make a new child label.
//! TagSource methods
=================


Constructor & Destructor Documentation

TDF_TagSource::TDF_TagSource ( )

Member Function Documentation

Standard_Integer TDF_TagSource::Get ( ) const
static const Standard_GUID& TDF_TagSource::GetID ( ) [static]
const Standard_GUID& TDF_TagSource::ID ( ) const [virtual]

Implements TDF_Attribute.

TDF_Label TDF_TagSource::NewChild ( )
static TDF_Label TDF_TagSource::NewChild ( const TDF_Label L) [static]
Handle_TDF_Attribute TDF_TagSource::NewEmpty ( ) const [virtual]

Implements TDF_Attribute.

Standard_Integer TDF_TagSource::NewTag ( )
void TDF_TagSource::Paste ( const Handle< TDF_Attribute > &  intoAttribute,
const Handle< TDF_RelocationTable > &  aRelocationTable 
) const [virtual]

Implements TDF_Attribute.

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

Implements TDF_Attribute.

static Handle_TDF_TagSource TDF_TagSource::Set ( const TDF_Label label) [static]
void TDF_TagSource::Set ( const Standard_Integer  T)

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