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.


Standard_Boolean IsError () const
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
Standard_Boolean myIsError

Constructor & Destructor Documentation

XmlLDrivers_DocumentStorageDriver::XmlLDrivers_DocumentStorageDriver ( const TCollection_ExtendedString theCopyright  ) 

Member Function Documentation

void XmlLDrivers_DocumentStorageDriver::AddNamespace ( const TCollection_AsciiString thePrefix,
const TCollection_AsciiString theURI 
) [protected]
virtual Handle_XmlMDF_ADriverTable XmlLDrivers_DocumentStorageDriver::AttributeDrivers ( const Handle< CDM_MessageDriver > &  theMsgDriver  )  [virtual]
Standard_Boolean XmlLDrivers_DocumentStorageDriver::IsError (  )  const
virtual Standard_Integer XmlLDrivers_DocumentStorageDriver::MakeDocument ( const Handle< CDM_Document > &  theDocument,
XmlObjMgt_Element thePDoc 
) [protected, virtual]
virtual TCollection_ExtendedString XmlLDrivers_DocumentStorageDriver::SchemaName (  )  const [virtual]

Implements PCDM_StorageDriver.

virtual void XmlLDrivers_DocumentStorageDriver::Write ( const Handle< CDM_Document > &  aDocument,
const TCollection_ExtendedString aFileName 
) [virtual]

Reimplemented from PCDM_StorageDriver.

virtual Standard_Boolean XmlLDrivers_DocumentStorageDriver::WriteShapeSection ( XmlObjMgt_Element thePDoc  )  [protected, virtual]
virtual Standard_Boolean XmlLDrivers_DocumentStorageDriver::WriteToDomDocument ( const Handle< CDM_Document > &  theDocument,
XmlObjMgt_Element thePDoc,
const TCollection_ExtendedString theFileName 
) [protected, virtual]

Field Documentation

Handle_XmlMDF_ADriverTable XmlLDrivers_DocumentStorageDriver::myDrivers [protected]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 11:09:02 2011 for Open CASCADE Technology by  doxygen 1.6.3