|
Open CASCADE Technology 6.5.2
|
this attribute, located at root label, manage an
access to a current label.
#include <TDataStd_Current.hxx>

Public Member Functions | |
| TDataStd_Current () | |
| void | SetLabel (const TDF_Label ¤t) |
| TDF_Label | GetLabel () 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 Standard_OStream & | Dump (Standard_OStream &anOS) const |
| Dumps the minimum information about <me> on <aStream>. | |
Static Public Member Functions | |
| static const Standard_GUID & | GetID () |
| 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 ============= | |
| TDataStd_Current::TDataStd_Current | ( | ) |
| virtual Standard_OStream& TDataStd_Current::Dump | ( | Standard_OStream & | anOS | ) | const [virtual] |
Reimplemented from TDF_Attribute.
| 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 | ) |
1.7.4