|
Open CASCADE Technology
6.5.4
|
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. | |
Static data:
| static void TObj_Assistant::BindModel | ( | const Handle< TObj_Model > | theModel | ) | [static] |
| static Standard_Integer TObj_Assistant::BindType | ( | const Handle< Standard_Type > & | theType | ) | [static] |
| static void TObj_Assistant::ClearModelMap | ( | ) | [static] |
| static void TObj_Assistant::ClearTypeMap | ( | ) | [static] |
| static Handle< TObj_Model > TObj_Assistant::FindModel | ( | const Standard_CString | theName | ) | [static] |
Interface for DataMap of Modeller name
| static Handle< Standard_Type > TObj_Assistant::FindType | ( | const Standard_Integer | theTypeIndex | ) | [static] |
Interface for Map of Standard Types
| static Standard_Integer TObj_Assistant::FindTypeIndex | ( | const Handle< Standard_Type > & | theType | ) | [static] |
| static Standard_Integer TObj_Assistant::GetAppVersion | ( | ) | [static] |
| static Handle< TObj_Model > TObj_Assistant::GetCurrentModel | ( | ) | [static] |
| static void TObj_Assistant::SetCurrentModel | ( | const Handle< TObj_Model > & | theModel | ) | [static] |
Interface to the current model
| static void TObj_Assistant::UnSetCurrentModel | ( | ) | [static] |
1.8.0