Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
XmlLDrivers_DocumentStorageDriver Class Reference

#include <XmlLDrivers_DocumentStorageDriver.hxx>

Inheritance diagram for XmlLDrivers_DocumentStorageDriver:
Inheritance graph
[legend]

Public Member Functions

 XmlLDrivers_DocumentStorageDriver (const TCollection_ExtendedString &theCopyright)
virtual TCollection_ExtendedString SchemaName () const
virtual void Write (const Handle< CDM_Document > &theDocument, const TCollection_ExtendedString &theFileName)
 Warning! raises DriverError if an error occurs during inside the
Make method.
//! stores the content of the Document into a new file.

by default Write will use Make method to build a persistent
document and the Schema method to write the persistent document.


virtual Handle_XmlMDF_ADriverTable AttributeDrivers (const Handle< CDM_MessageDriver > &theMsgDriver)

Protected Member Functions

virtual Standard_Boolean WriteToDomDocument (const Handle< CDM_Document > &theDocument, XmlObjMgt_Element &thePDoc, const TCollection_ExtendedString &theFileName)
virtual Standard_Integer MakeDocument (const Handle< CDM_Document > &theDocument, XmlObjMgt_Element &thePDoc)
void AddNamespace (const TCollection_AsciiString &thePrefix, const TCollection_AsciiString &theURI)
virtual Standard_Boolean WriteShapeSection (XmlObjMgt_Element &thePDoc)

Protected Attributes

Handle_XmlMDF_ADriverTable myDrivers
XmlObjMgt_SRelocationTable myRelocTable

Constructor & Destructor Documentation


Member Function Documentation

virtual Handle_XmlMDF_ADriverTable XmlLDrivers_DocumentStorageDriver::AttributeDrivers ( const Handle< CDM_MessageDriver > &  theMsgDriver) [virtual]
virtual Standard_Integer XmlLDrivers_DocumentStorageDriver::MakeDocument ( const Handle< CDM_Document > &  theDocument,
XmlObjMgt_Element thePDoc 
) [protected, virtual]

Implements PCDM_StorageDriver.

Reimplemented from PCDM_StorageDriver.


Field Documentation

Handle_XmlMDF_ADriverTable XmlLDrivers_DocumentStorageDriver::myDrivers [protected]

The documentation for this class was generated from the following file: