TDocStd_Application.hxx File Reference

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_TDocStd_Application.hxx>
#include <Handle_Resource_Manager.hxx>
#include <Standard_Boolean.hxx>
#include <CDF_Application.hxx>
#include <Handle_CDF_Application.hxx>
#include <TCollection_ExtendedString.hxx>
#include <CDF_RetrievableStatus.hxx>
#include <CDM_Application.hxx>
#include <Handle_CDM_Document.hxx>
#include <CDM_CanCloseStatus.hxx>
#include <CDF_TypeOfActivation.hxx>
#include <Handle_PCDM_Reader.hxx>
#include <Standard_ExtString.hxx>
#include <Handle_CDM_MetaData.hxx>
#include <Standard_Integer.hxx>
#include <CDF_Application.lxx>
#include <Standard_CString.hxx>
#include <Handle_TDocStd_Document.hxx>
#include <CDF_StoreStatus.hxx>

Data Structures

class  TDocStd_Application
 The abstract root class for all application classes.
They are in charge of:

  • Creating documents
  • Storing documents and retrieving them
  • Initializing document views.
    To create a useful OCAF-based application, you
    derive a class from Application and implement
    the methods below. You will have to redefine the
    deferred (virtual) methods Formats,
    InitDocument, and Resources, and override others.
    The application is a container for a document,
    which in its turn is the container of the data
    framework made up of labels and attributes.
    Besides furnishing a container for documents,
    TDocStd_Application provides the following
    services for them:
  • Creation of new documents
  • Activation of documents in sessions of an application
  • Storage and retrieval of documents
  • Initialization of document views.
    Note:
    If a client needs detailed information concerning
    the events during the Open/Store operation, MessageDriver
    inherited from CDM_MessageDriver of the
    corresponding application has to be implemented.
    If the MessageDriver is not defined all messages
    will be (by default) directed to
    CDM_NullMessageDriver and will be lost.
More...
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:41:19 2011 for Open CASCADE Technology by  doxygen 1.6.3