|
Open CASCADE Technology
6.5.4
|
This attribute manage a tag provider to create
child labels of a given one.
#include <TDF_TagSource.hxx>

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_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. | |
Static Public Member Functions | |
| static const Standard_GUID & | GetID () |
| 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 ================= | |
| 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.
| static TDF_Label TDF_TagSource::NewChild | ( | const TDF_Label & | L | ) | [static] |
| Handle_TDF_Attribute TDF_TagSource::NewEmpty | ( | ) | const [virtual] |
Implements TDF_Attribute.
| 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] |
1.8.0