TObj_TModel Class Reference

#include <TObj_TModel.hxx>

Inheritance diagram for TObj_TModel:
Inheritance graph
[legend]

Public Member Functions

 TObj_TModel ()
 Empty constructor.
const Standard_GUIDID () const
 Returns the ID of TObj_TModel attribute.
void Set (const Handle< TObj_Model > &theModel)
 Methods for setting and obtaining the Model object.
Handle< TObj_ModelModel () const
 Returns the Model object.
Handle< TDF_AttributeNewEmpty () 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.

Static Public Member Functions

static const Standard_GUIDGetID ()
 This method is used in implementation of ID().

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

TObj_TModel::TObj_TModel (  ) 

Standard methods of attribute


Member Function Documentation

static const Standard_GUID& TObj_TModel::GetID (  )  [static]
const Standard_GUID& TObj_TModel::ID (  )  const [virtual]

Implements TDF_Attribute.

Handle< TObj_Model > TObj_TModel::Model (  )  const
Handle< TDF_Attribute > TObj_TModel::NewEmpty (  )  const [virtual]

Returns an new empty TObj_TModel attribute. It is used by the copy algorithm.

Implements TDF_Attribute.

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

Implements TDF_Attribute.

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

Implements TDF_Attribute.

void TObj_TModel::Set ( const Handle< TObj_Model > &  theModel  ) 

Sets the the Model object


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 11:07:12 2011 for Open CASCADE Technology by  doxygen 1.6.3