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

this attribute, located at root label, manage an
access to a current label.

#include <TDataStd_Current.hxx>

Inheritance diagram for TDataStd_Current:
Inheritance graph
[legend]

Public Member Functions

 TDataStd_Current ()
void SetLabel (const TDF_Label &current)
TDF_Label GetLabel () const
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.

virtual Standard_OStreamDump (Standard_OStream &anOS) const
 Dumps the minimum information about <me> on
<aStream>.


Static Public Member Functions

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

static void Set (const TDF_Label &L)
 Set <L> as current of <L> Framework.

static TDF_Label Get (const TDF_Label &acces)
 returns current of <acces> Framework. raise if (!Has)

static Standard_Boolean Has (const TDF_Label &acces)
 returns True if a current label is managed in <acces>
Framework.
//! class methods
=============


Constructor & Destructor Documentation

TDataStd_Current::TDataStd_Current ( )

Member Function Documentation

virtual Standard_OStream& TDataStd_Current::Dump ( Standard_OStream anOS) const [virtual]

Reimplemented from TDF_Attribute.

static TDF_Label TDataStd_Current::Get ( const TDF_Label acces) [static]
static const Standard_GUID& TDataStd_Current::GetID ( ) [static]
TDF_Label TDataStd_Current::GetLabel ( ) const
static Standard_Boolean TDataStd_Current::Has ( const TDF_Label acces) [static]
const Standard_GUID& TDataStd_Current::ID ( ) const [virtual]

Implements TDF_Attribute.

Handle_TDF_Attribute TDataStd_Current::NewEmpty ( ) const [virtual]

Implements TDF_Attribute.

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

Implements TDF_Attribute.

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

Implements TDF_Attribute.

static void TDataStd_Current::Set ( const TDF_Label L) [static]
void TDataStd_Current::SetLabel ( const TDF_Label current)

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