OCC Main Page | ApplicationFramework | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ApplicationFramework
TKTObj
TObj


TObj_TModel Class Reference

#include <TObj_TModel.hxx>

Inheritance diagram for TObj_TModel:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT TObj_TModel ()
 Empty constructor.
Standard_EXPORT const Standard_GUID & ID () const
 Returns the ID of TObj_TModel attribute.
Standard_EXPORT void Set (const Handle(TObj_Model)&theModel)
 Sets the the Model object.
Standard_EXPORT Handle (TObj_Model) Model() const
 Returns the Model object.
Standard_EXPORT Handle (TDF_Attribute) NewEmpty() const
 Returns an new empty TObj_TModel 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().

Private Member Functions

 Handle (TObj_Model) myModel
 The Model object stored by the attribute.

Detailed Description

Attribute to store OCAF-based models in OCAF tree The persistency mechanism of the TObj_TModel allowes to save and restore various types of models without recompilation of the schema


Constructor & Destructor Documentation

Standard_EXPORT TObj_TModel::TObj_TModel  ) 
 

Standard methods of attribute


Member Function Documentation

static Standard_EXPORT const Standard_GUID& TObj_TModel::GetID  )  [static]
 

TObj_TModel::Handle TObj_Model   )  [private]
 

Standard_EXPORT TObj_TModel::Handle TDF_Attribute   )  const
 

Standard_EXPORT TObj_TModel::Handle TObj_Model   )  const
 

Standard_EXPORT const Standard_GUID& TObj_TModel::ID  )  const [virtual]
 

Implements TDF_Attribute.

Standard_EXPORT void TObj_TModel::Paste const Handle(TDF_Attribute)&  theInto,
const Handle(TDF_RelocationTable)&  theRT
const [virtual]
 

Implements TDF_Attribute.

Standard_EXPORT void TObj_TModel::Restore const Handle(TDF_Attribute)&  theWith  )  [virtual]
 

Implements TDF_Attribute.

Standard_EXPORT void TObj_TModel::Set const Handle(TObj_Model)&  theModel  ) 
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:15:46 2008 for OpenCASCADE by  doxygen 1.4.1