Open CASCADE Technology
6.5.4
|
#include <BinLDrivers_DocumentRetrievalDriver.hxx>
Public Member Functions | |
BinLDrivers_DocumentRetrievalDriver () | |
Constructor | |
virtual TCollection_ExtendedString | SchemaName () const |
pure virtual method definition | |
virtual void | Make (const Handle< PCDM_Document > &PD, const Handle< CDM_Document > &TD) |
pure virtual method definition | |
virtual Handle_CDM_Document | CreateDocument () |
pure virtual method definition | |
virtual void | Read (const TCollection_ExtendedString &theFileName, const Handle< CDM_Document > &theNewDocument, const Handle< CDM_Application > &theApplication) |
retrieves the content of the file into a new Document. | |
virtual Handle_BinMDF_ADriverTable | AttributeDrivers (const Handle< CDM_MessageDriver > &theMsgDriver) |
Protected Member Functions | |
virtual Standard_Integer | ReadSubTree (Standard_IStream &theIS, const TDF_Label &theData) |
Read the tree from the stream <theIS> to <theLabel> | |
Storage_Position | ReadInfoSection (const TCollection_AsciiString &theFile, Handle< Storage_HeaderData > &theData) |
Read the info section of theFile into theData, return a file position corresponding to the info section end | |
virtual void | ReadSection (BinLDrivers_DocumentSection &theSection, const Handle< CDM_Document > &theDoc, Standard_IStream &theIS) |
define the procedure of reading a section to file. | |
virtual void | ReadShapeSection (BinLDrivers_DocumentSection &theSection, Standard_IStream &theIS, const Standard_Boolean isMess=Standard_False) |
virtual void | CheckShapeSection (const Storage_Position &thePos, Standard_IStream &theIS) |
virtual void | PropagateDocumentVersion (const Standard_Integer theVersion) |
void | WriteMessage (const TCollection_ExtendedString &theMessage) |
write theMessage to the MessageDriver of the Application | |
Protected Attributes | |
Handle_BinMDF_ADriverTable | myDrivers |
BinObjMgt_RRelocationTable | myRelocTable |
virtual Handle_BinMDF_ADriverTable BinLDrivers_DocumentRetrievalDriver::AttributeDrivers | ( | const Handle< CDM_MessageDriver > & | theMsgDriver | ) | [virtual] |
virtual void BinLDrivers_DocumentRetrievalDriver::CheckShapeSection | ( | const Storage_Position & | thePos, |
Standard_IStream & | theIS | ||
) | [protected, virtual] |
Reimplemented in BinDrivers_DocumentRetrievalDriver.
virtual Handle_CDM_Document BinLDrivers_DocumentRetrievalDriver::CreateDocument | ( | ) | [virtual] |
Implements PCDM_Reader.
virtual void BinLDrivers_DocumentRetrievalDriver::Make | ( | const Handle< PCDM_Document > & | PD, |
const Handle< CDM_Document > & | TD | ||
) | [virtual] |
Implements PCDM_RetrievalDriver.
virtual void BinLDrivers_DocumentRetrievalDriver::PropagateDocumentVersion | ( | const Standard_Integer | theVersion | ) | [protected, virtual] |
Reimplemented in BinDrivers_DocumentRetrievalDriver.
virtual void BinLDrivers_DocumentRetrievalDriver::Read | ( | const TCollection_ExtendedString & | theFileName, |
const Handle< CDM_Document > & | theNewDocument, | ||
const Handle< CDM_Application > & | theApplication | ||
) | [virtual] |
Reimplemented from PCDM_RetrievalDriver.
Storage_Position BinLDrivers_DocumentRetrievalDriver::ReadInfoSection | ( | const TCollection_AsciiString & | theFile, |
Handle< Storage_HeaderData > & | theData | ||
) | [protected] |
virtual void BinLDrivers_DocumentRetrievalDriver::ReadSection | ( | BinLDrivers_DocumentSection & | theSection, |
const Handle< CDM_Document > & | theDoc, | ||
Standard_IStream & | theIS | ||
) | [protected, virtual] |
virtual void BinLDrivers_DocumentRetrievalDriver::ReadShapeSection | ( | BinLDrivers_DocumentSection & | theSection, |
Standard_IStream & | theIS, | ||
const Standard_Boolean | isMess = Standard_False |
||
) | [protected, virtual] |
Reimplemented in BinDrivers_DocumentRetrievalDriver.
virtual Standard_Integer BinLDrivers_DocumentRetrievalDriver::ReadSubTree | ( | Standard_IStream & | theIS, |
const TDF_Label & | theData | ||
) | [protected, virtual] |
virtual TCollection_ExtendedString BinLDrivers_DocumentRetrievalDriver::SchemaName | ( | ) | const [virtual] |
Implements PCDM_RetrievalDriver.
void BinLDrivers_DocumentRetrievalDriver::WriteMessage | ( | const TCollection_ExtendedString & | theMessage | ) | [protected] |
Handle_BinMDF_ADriverTable BinLDrivers_DocumentRetrievalDriver::myDrivers [protected] |