|
Public Member Functions |
| Standard_EXPORT | Handle (Message_Messenger)&Messenger() |
| | Returns reference to associated messenger handle.
|
| virtual Standard_EXPORT Standard_Boolean | SaveDocument (const Handle(TDocStd_Document)&theSourceDoc, const char *theTargetFile) |
| | Saving the OCAF document to a file.
|
| virtual Standard_EXPORT Standard_Boolean | LoadDocument (const char *theSourceFile, Handle(TDocStd_Document)&theTargetDoc) |
| | Loading the OCAF document from a file.
|
| virtual Standard_EXPORT Standard_Boolean | CreateNewDocument (Handle(TDocStd_Document)&theDoc, const TCollection_ExtendedString &theFormat) |
| | Create the OCAF document from scratch.
|
| virtual Standard_EXPORT void | ErrorMessage (const TCollection_ExtendedString &theMsg, const Message_Gravity theLevel) |
| | Signal error during Load or Save Default imiplementation is empty.
|
| virtual Standard_EXPORT void | ErrorMessage (const TCollection_ExtendedString &theMsg) |
| | Signal error during Load or Save Default imiplementation invoke previous declaration with 0.
|
| void | SetVerbose (const Standard_Boolean isVerbose) |
| | Sets the verbose flag, meaning that load/save models should show CPU and elapsed times.
|
| Standard_Boolean | IsVerbose () const |
| | Returns the verbose flag.
|
| virtual Standard_EXPORT Standard_CString | ResourcesName () |
| | Return name of resource (i.e. "TObj").
|
| virtual Standard_EXPORT void | Formats (TColStd_SequenceOfExtendedString &theFormats) |
| | Return format (i.e "TObj").
|
| virtual Standard_EXPORT | Handle (CDM_MessageDriver) MessageDriver() |
| | Defines message driver for CDM layer.
|
Static Public Member Functions |
| static Standard_EXPORT | Handle (TObj_Application) GetInstance() |
| | Returns static instance of the application.
|
Protected Member Functions |
| Standard_EXPORT | TObj_Application () |
| | Constructor is protected. Use method GetInstance() method to obtain the static instance of the object (or derive your own application).
|
Private Member Functions |
| | Handle (Message_Messenger) myMessenger |
| | messenger
|
| | Handle (CDM_MessageDriver) myMessageDriver |
| | message driver
|
Private Attributes |
| Standard_Boolean | myIsError |
| | error flag
|
| Standard_Boolean | myIsVerbose |
| | verbose flag
|