OCC Main Page | ApplicationFramework | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ApplicationFramework
TKXmlL
XmlLDrivers


XmlLDrivers_DocumentRetrievalDriver Class Reference

#include <XmlLDrivers_DocumentRetrievalDriver.hxx>

Inheritance diagram for XmlLDrivers_DocumentRetrievalDriver:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT XmlLDrivers_DocumentRetrievalDriver ()
virtual Standard_EXPORT TCollection_ExtendedString SchemaName () const
virtual Standard_EXPORT void Make (const Handle(PCDM_Document)&PD, const Handle(CDM_Document)&TD)
virtual Standard_EXPORT Handle_CDM_Document CreateDocument ()
 this method is called by the framework before the read method.

virtual Standard_EXPORT void Read (const TCollection_ExtendedString &theFileName, const Handle(CDM_Document)&theNewDocument, const Handle(CDM_Application)&theApplication)
 Warning - raises DriverError if an error occurs during inside the
Make method.
//! retrieves the content of the file into a new Document.

by default Read will use the Schema method to read the file
into a persistent document. and the Make method to build a
transient document.

.
virtual Standard_EXPORT Handle_XmlMDF_ADriverTable AttributeDrivers (const Handle(CDM_MessageDriver)&theMsgDriver)
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Protected Member Functions

virtual Standard_EXPORT void ReadFromDomDocument (const XmlObjMgt_Element &theDomElement, const Handle(CDM_Document)&theNewDocument, const Handle(CDM_Application)&theApplication)
virtual Standard_EXPORT Standard_Boolean MakeDocument (const XmlObjMgt_Element &thePDoc, const Handle(CDM_Document)&theTDoc)

Protected Attributes

XmlObjMgt_RRelocationTable myRelocTable
TCollection_ExtendedString myFileName

Private Attributes

Handle_XmlMDF_ADriverTable myDrivers

Constructor & Destructor Documentation

Standard_EXPORT XmlLDrivers_DocumentRetrievalDriver::XmlLDrivers_DocumentRetrievalDriver  ) 
 


Member Function Documentation

virtual Standard_EXPORT Handle_XmlMDF_ADriverTable XmlLDrivers_DocumentRetrievalDriver::AttributeDrivers const Handle(CDM_MessageDriver)&  theMsgDriver  )  [virtual]
 

Reimplemented in XmlDrivers_DocumentRetrievalDriver.

virtual Standard_EXPORT Handle_CDM_Document XmlLDrivers_DocumentRetrievalDriver::CreateDocument  )  [virtual]
 

Implements PCDM_Reader.

Standard_EXPORT const XmlLDrivers_DocumentRetrievalDriver::Handle Standard_Type   )  const
 

Reimplemented from PCDM_RetrievalDriver.

Reimplemented in XmlDrivers_DocumentRetrievalDriver.

virtual Standard_EXPORT void XmlLDrivers_DocumentRetrievalDriver::Make const Handle(PCDM_Document)&  PD,
const Handle(CDM_Document)&  TD
[virtual]
 

Implements PCDM_RetrievalDriver.

virtual Standard_EXPORT Standard_Boolean XmlLDrivers_DocumentRetrievalDriver::MakeDocument const XmlObjMgt_Element thePDoc,
const Handle(CDM_Document)&  theTDoc
[protected, virtual]
 

virtual Standard_EXPORT void XmlLDrivers_DocumentRetrievalDriver::Read const TCollection_ExtendedString &  theFileName,
const Handle(CDM_Document)&  theNewDocument,
const Handle(CDM_Application)&  theApplication
[virtual]
 

Reimplemented from PCDM_RetrievalDriver.

virtual Standard_EXPORT void XmlLDrivers_DocumentRetrievalDriver::ReadFromDomDocument const XmlObjMgt_Element theDomElement,
const Handle(CDM_Document)&  theNewDocument,
const Handle(CDM_Application)&  theApplication
[protected, virtual]
 

virtual Standard_EXPORT TCollection_ExtendedString XmlLDrivers_DocumentRetrievalDriver::SchemaName  )  const [virtual]
 

Implements PCDM_RetrievalDriver.


Field Documentation

Handle_XmlMDF_ADriverTable XmlLDrivers_DocumentRetrievalDriver::myDrivers [private]
 

TCollection_ExtendedString XmlLDrivers_DocumentRetrievalDriver::myFileName [protected]
 

XmlObjMgt_RRelocationTable XmlLDrivers_DocumentRetrievalDriver::myRelocTable [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:15:50 2008 for OpenCASCADE by  doxygen 1.4.1