Open CASCADE Technology
6.5.4
|
#include <PCDM_RetrievalDriver.hxx>
Public Member Functions | |
virtual void | Read (const TCollection_ExtendedString &aFileName, const Handle< CDM_Document > &aNewDocument, const Handle< CDM_Application > &anApplication) |
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 void | Make (const Handle< PCDM_Document > &aPCDM, const Handle< CDM_Document > &aNewDocument)=0 |
virtual TCollection_ExtendedString | SchemaName () const =0 |
virtual void | LoadExtensions (const Handle< Storage_Schema > &aSchema, const TColStd_SequenceOfExtendedString &Extensions, const Handle< CDM_MessageDriver > &theMsgDriver) |
void | SetFormat (const TCollection_ExtendedString &aformat) |
TCollection_ExtendedString | GetFormat () const |
Static Public Member Functions | |
static void | RaiseIfUnknownTypes (const Handle< Storage_Schema > &aSchema, const TCollection_ExtendedString &aFileName) |
static Standard_Integer | DocumentVersion (const TCollection_ExtendedString &aFileName, const Handle< CDM_MessageDriver > &theMsgDriver) |
static Standard_Integer | ReferenceCounter (const TCollection_ExtendedString &aFileName, const Handle< CDM_MessageDriver > &theMsgDriver) |
Friends | |
void | PCDM_ReferenceIterator::Init (const Handle< CDM_MetaData > &aMetaData) |
static Standard_Integer PCDM_RetrievalDriver::DocumentVersion | ( | const TCollection_ExtendedString & | aFileName, |
const Handle< CDM_MessageDriver > & | theMsgDriver | ||
) | [static] |
virtual void PCDM_RetrievalDriver::LoadExtensions | ( | const Handle< Storage_Schema > & | aSchema, |
const TColStd_SequenceOfExtendedString & | Extensions, | ||
const Handle< CDM_MessageDriver > & | theMsgDriver | ||
) | [virtual] |
virtual void PCDM_RetrievalDriver::Make | ( | const Handle< PCDM_Document > & | aPCDM, |
const Handle< CDM_Document > & | aNewDocument | ||
) | [pure virtual] |
static void PCDM_RetrievalDriver::RaiseIfUnknownTypes | ( | const Handle< Storage_Schema > & | aSchema, |
const TCollection_ExtendedString & | aFileName | ||
) | [static] |
virtual void PCDM_RetrievalDriver::Read | ( | const TCollection_ExtendedString & | aFileName, |
const Handle< CDM_Document > & | aNewDocument, | ||
const Handle< CDM_Application > & | anApplication | ||
) | [virtual] |
Implements PCDM_Reader.
Reimplemented in BinLDrivers_DocumentRetrievalDriver, and XmlLDrivers_DocumentRetrievalDriver.
static Standard_Integer PCDM_RetrievalDriver::ReferenceCounter | ( | const TCollection_ExtendedString & | aFileName, |
const Handle< CDM_MessageDriver > & | theMsgDriver | ||
) | [static] |
virtual TCollection_ExtendedString PCDM_RetrievalDriver::SchemaName | ( | ) | const [pure virtual] |
void PCDM_ReferenceIterator::Init | ( | const Handle< CDM_MetaData > & | aMetaData | ) | [friend] |