Open CASCADE Technology 7.8.2.dev
|
This class provides interface to the static data to be used during save or load models. More...
#include <TObj_Assistant.hxx>
Static Public Member Functions | |
static Handle< TObj_Model > | FindModel (const Standard_CString theName) |
Finds model by name. | |
static void | BindModel (const Handle< TObj_Model > &theModel) |
Binds model to the map. | |
static void | ClearModelMap () |
Clears all records from the model map. | |
static Handle< Standard_Type > | FindType (const Standard_Integer theTypeIndex) |
Finds Standard_Type by index; returns NULL handle if not found. | |
static Standard_Integer | FindTypeIndex (const Handle< Standard_Type > &theType) |
Rinds index by Standard_Type; returns 0 if not found. | |
static Standard_Integer | BindType (const Handle< Standard_Type > &theType) |
Binds Standard_Type to the map; returns index of bound type. | |
static void | ClearTypeMap () |
Clears map of types. | |
static void | SetCurrentModel (const Handle< TObj_Model > &theModel) |
Sets current model. | |
static Handle< TObj_Model > | GetCurrentModel () |
Returns current model. | |
static void | UnSetCurrentModel () |
Unsets current model. | |
static Standard_Integer | GetAppVersion () |
Returns the version of application which wrote the currently read document. Returns 0 if it has not been set yet for the current document. | |
This class provides interface to the static data to be used during save or load models.
Static data:
|
static |
Binds model to the map.
|
static |
Binds Standard_Type to the map; returns index of bound type.
|
static |
Clears all records from the model map.
|
static |
Clears map of types.
|
static |
Finds model by name.
Interface for DataMap of Modeller name
|
static |
Finds Standard_Type by index; returns NULL handle if not found.
Interface for Map of Standard Types
|
static |
Rinds index by Standard_Type; returns 0 if not found.
|
static |
Returns the version of application which wrote the currently read document. Returns 0 if it has not been set yet for the current document.
|
static |
Returns current model.
|
static |
Sets current model.
Interface to the current model
|
static |
Unsets current model.