Open CASCADE Technology
7.7.0
|
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. More... | |
static void | BindModel (const Handle< TObj_Model > theModel) |
Binds model to the map. More... | |
static void | ClearModelMap () |
Clears all records from the model map. More... | |
static Handle< Standard_Type > | FindType (const Standard_Integer theTypeIndex) |
Finds Standard_Type by index; returns NULL handle if not found. More... | |
static Standard_Integer | FindTypeIndex (const Handle< Standard_Type > &theType) |
Rinds index by Standard_Type; returns 0 if not found. More... | |
static Standard_Integer | BindType (const Handle< Standard_Type > &theType) |
Binds Standard_Type to the map; returns index of bound type. More... | |
static void | ClearTypeMap () |
Clears map of types. More... | |
static void | SetCurrentModel (const Handle< TObj_Model > &theModel) |
Sets current model. More... | |
static Handle< TObj_Model > | GetCurrentModel () |
Returns current model. More... | |
static void | UnSetCurrentModel () |
Unsets current model. More... | |
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. More... | |
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.