|
Public Member Functions |
Standard_EXPORT | TObj_TNameContainer () |
| Standard methods of OCAF attribute Empty constructor.
|
Standard_EXPORT const Standard_GUID & | ID () const |
| Returns the ID of TObj_TNameContainer attribute.
|
Standard_EXPORT void | RecordName (const Handle(TCollection_HExtendedString)&theName, const TDF_Label &theLabel) |
| Records name with label attached.
|
Standard_EXPORT void | RemoveName (const Handle(TCollection_HExtendedString)&theName) |
| Remove name from the map.
|
Standard_EXPORT Standard_Boolean | IsRegistered (const Handle(TCollection_HExtendedString)&theName) const |
| Return True is theName is registered in the Map.
|
Standard_EXPORT void | Clear () |
| Remove all names registered in container.
|
Standard_EXPORT void | Set (const TObj_DataMapOfNameLabel &theElem) |
| Sets the TObj_DataMapOfNameLabel object.
|
Standard_EXPORT const TObj_DataMapOfNameLabel & | Get () const |
| Returns the TObj_DataMapOfNameLabel object.
|
Standard_EXPORT | Handle (TDF_Attribute) NewEmpty() const |
| Returns an new empty TObj_TNameContainer attribute. It is used by the copy algorithm.
|
Standard_EXPORT void | Restore (const Handle(TDF_Attribute)&theWith) |
| Restores the backuped contents from <thewith> into this one. It is used when aborting a transaction.
|
Standard_EXPORT void | Paste (const Handle(TDF_Attribute)&theInto, const Handle(TDF_RelocationTable)&theRT) const |
| This method is used when copying an attribute from a source structure into a target structure.
|
Static Public Member Functions |
static Standard_EXPORT const
Standard_GUID & | GetID () |
| This method is used in implementation of ID().
|
static Standard_EXPORT | Handle (TObj_TNameContainer) Set(const TDF_Label &theLabel) |
| Creates TObj_DataMapOfNameLabel attribute on given label if not exist.
|
Private Attributes |
TObj_DataMapOfNameLabel | myMap |
| The map of the names.
|