|
Open CASCADE Technology
6.5.4
|
#include <TObj_TObject.hxx>

Public Member Functions | |
| TObj_TObject () | |
| Standard methods of OCAF attribute. | |
| const Standard_GUID & | ID () const |
| Returns the ID of TObj_TObject attribute. | |
| void | Set (const Handle< TObj_Object > &theElem) |
| Methods for setting and obtaining TObj_Object. | |
| Handle< TObj_Object > | Get () const |
| Returns the TObj_Object object. | |
| Handle< TDF_Attribute > | NewEmpty () const |
| Redefined OCAF abstract methods. | |
| void | Restore (const Handle< TDF_Attribute > &theWith) |
| Restores the backuped contents from <theWith> into this one. It is used when aborting a transaction. | |
| 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. | |
| void | BeforeForget () |
| Tell TObj_Object to die, i.e. (myElem->IsAlive() == false) after that. | |
| Standard_Boolean | AfterUndo (const Handle< TDF_AttributeDelta > &anAttDelta, const Standard_Boolean forceIt) |
| Tell TObj_Object to rise from the dead, i.e. (myElem->IsAlive() == true) after that. | |
Static Public Member Functions | |
| static const Standard_GUID & | GetID () |
| This method is used in implementation of ID() | |
| static Handle< TObj_TObject > | Set (const TDF_Label &theLabel, const Handle< TObj_Object > &theElem) |
| Method for create TObj_TObject object. | |
Purpose: OCAF Attribute to storing objects (interfaces) of OCAF-based modelers in the OCAF tree. The persistency mechanism of the TObj_TObject allowes to save and restore objects of various subtypes without recompilation of the schema
Empty constructor
| Standard_Boolean TObj_TObject::AfterUndo | ( | const Handle< TDF_AttributeDelta > & | anAttDelta, |
| const Standard_Boolean | forceIt | ||
| ) | [virtual] |
Reimplemented from TDF_Attribute.
| void TObj_TObject::BeforeForget | ( | ) | [virtual] |
Reimplemented from TDF_Attribute.
| Handle< TObj_Object > TObj_TObject::Get | ( | ) | const |
| static const Standard_GUID& TObj_TObject::GetID | ( | ) | [static] |
| const Standard_GUID& TObj_TObject::ID | ( | ) | const [virtual] |
Implements TDF_Attribute.
| Handle< TDF_Attribute > TObj_TObject::NewEmpty | ( | ) | const [virtual] |
Returns an new empty TObj_TObject attribute. It is used by the copy algorithm.
Implements TDF_Attribute.
| void TObj_TObject::Paste | ( | const Handle< TDF_Attribute > & | theInto, |
| const Handle< TDF_RelocationTable > & | theRT | ||
| ) | const [virtual] |
Implements TDF_Attribute.
| void TObj_TObject::Restore | ( | const Handle< TDF_Attribute > & | theWith | ) | [virtual] |
Implements TDF_Attribute.
| static Handle< TObj_TObject > TObj_TObject::Set | ( | const TDF_Label & | theLabel, |
| const Handle< TObj_Object > & | theElem | ||
| ) | [static] |
Creates TObj_TObject attribute on given label
| void TObj_TObject::Set | ( | const Handle< TObj_Object > & | theElem | ) |
Sets the TObj_Object object
1.8.0