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

ApplicationFramework
TKCDF
PCDM


PCDM_StorageDriver Class Reference

persistent implemention of storage.

#include <PCDM_StorageDriver.hxx>

Inheritance diagram for PCDM_StorageDriver:

Inheritance graph
[legend]

Public Member Functions

virtual Standard_EXPORT Handle_PCDM_Document Make (const Handle(CDM_Document)&aDocument)
 raises NotImplemented.

virtual Standard_EXPORT void Make (const Handle(CDM_Document)&aDocument, PCDM_SequenceOfDocument &Documents)
 By default, puts in the Sequence the document returns
by the previous Make method.

.
virtual Standard_EXPORT TCollection_ExtendedString SchemaName () const =0
virtual Standard_EXPORT void LoadExtensions (const Handle(Storage_Schema)&aSchema, const TColStd_SequenceOfExtendedString &Extensions)
virtual Standard_EXPORT void Write (const Handle(CDM_Document)&aDocument, const TCollection_ExtendedString &aFileName)
 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_EXPORT void SetFormat (const TCollection_ExtendedString &aformat)
Standard_EXPORT TCollection_ExtendedString GetFormat () const
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Private Attributes

TCollection_ExtendedString myFormat

Member Function Documentation

Standard_EXPORT TCollection_ExtendedString PCDM_StorageDriver::GetFormat  )  const
 

Standard_EXPORT const PCDM_StorageDriver::Handle Standard_Type   )  const
 

Reimplemented from PCDM_Writer.

Reimplemented in BinDrivers_DocumentStorageDriver, BinLDrivers_DocumentStorageDriver, MDocStd_DocumentStorageDriver, StdDrivers_DocumentStorageDriver, StdLDrivers_DocumentStorageDriver, XmlDrivers_DocumentStorageDriver, and XmlLDrivers_DocumentStorageDriver.

virtual Standard_EXPORT void PCDM_StorageDriver::LoadExtensions const Handle(Storage_Schema)&  aSchema,
const TColStd_SequenceOfExtendedString &  Extensions
[virtual]
 

virtual Standard_EXPORT void PCDM_StorageDriver::Make const Handle(CDM_Document)&  aDocument,
PCDM_SequenceOfDocument Documents
[virtual]
 

Reimplemented in StdDrivers_DocumentStorageDriver, and StdLDrivers_DocumentStorageDriver.

virtual Standard_EXPORT Handle_PCDM_Document PCDM_StorageDriver::Make const Handle(CDM_Document)&  aDocument  )  [virtual]
 

Reimplemented in MDocStd_DocumentStorageDriver.

virtual Standard_EXPORT TCollection_ExtendedString PCDM_StorageDriver::SchemaName  )  const [pure virtual]
 

Implemented in BinLDrivers_DocumentStorageDriver, MDocStd_DocumentStorageDriver, and XmlLDrivers_DocumentStorageDriver.

Standard_EXPORT void PCDM_StorageDriver::SetFormat const TCollection_ExtendedString &  aformat  ) 
 

virtual Standard_EXPORT void PCDM_StorageDriver::Write const Handle(CDM_Document)&  aDocument,
const TCollection_ExtendedString &  aFileName
[virtual]
 

Implements PCDM_Writer.

Reimplemented in BinLDrivers_DocumentStorageDriver, and XmlLDrivers_DocumentStorageDriver.


Field Documentation

TCollection_ExtendedString PCDM_StorageDriver::myFormat [private]
 


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