|
Open CASCADE Technology
6.5.4
|
persistent implemention of storage a document in a binary file
#include <BinLDrivers_DocumentStorageDriver.hxx>

Public Member Functions | |
| BinLDrivers_DocumentStorageDriver () | |
| Constructor | |
| virtual TCollection_ExtendedString | SchemaName () const |
| pure virtual method definition | |
| virtual void | Write (const Handle< CDM_Document > &theDocument, const TCollection_ExtendedString &theFileName) |
| Write <theDocument> to the binary file <theFileName> | |
| virtual Handle_BinMDF_ADriverTable | AttributeDrivers (const Handle< CDM_MessageDriver > &theMsgDriver) |
| void | AddSection (const TCollection_AsciiString &theName, const Standard_Boolean isPostRead=Standard_True) |
| Create a section that should be written after the OCAF data | |
Protected Member Functions | |
| void | WriteSubTree (const TDF_Label &theData, Standard_OStream &theOS) |
| Write the tree under <theLabel> to the stream <theOS> | |
| virtual void | WriteSection (const TCollection_AsciiString &theName, const Handle< CDM_Document > &theDoc, Standard_OStream &theOS) |
| define the procedure of writing a section to file. | |
| virtual void | WriteShapeSection (BinLDrivers_DocumentSection &theDocSection, Standard_OStream &theOS) |
| defines the procedure of writing a shape section to file | |
| void | WriteMessage (const TCollection_ExtendedString &theMessage) |
| write theMessage to the MessageDriver of the Application | |
Protected Attributes | |
| Handle_BinMDF_ADriverTable | myDrivers |
| BinObjMgt_SRelocationTable | myRelocTable |
| void BinLDrivers_DocumentStorageDriver::AddSection | ( | const TCollection_AsciiString & | theName, |
| const Standard_Boolean | isPostRead = Standard_True |
||
| ) |
| virtual Handle_BinMDF_ADriverTable BinLDrivers_DocumentStorageDriver::AttributeDrivers | ( | const Handle< CDM_MessageDriver > & | theMsgDriver | ) | [virtual] |
Reimplemented in BinDrivers_DocumentStorageDriver, BinTObjDrivers_DocumentStorageDriver, and BinXCAFDrivers_DocumentStorageDriver.
| virtual TCollection_ExtendedString BinLDrivers_DocumentStorageDriver::SchemaName | ( | ) | const [virtual] |
Implements PCDM_StorageDriver.
| virtual void BinLDrivers_DocumentStorageDriver::Write | ( | const Handle< CDM_Document > & | theDocument, |
| const TCollection_ExtendedString & | theFileName | ||
| ) | [virtual] |
Reimplemented from PCDM_StorageDriver.
| void BinLDrivers_DocumentStorageDriver::WriteMessage | ( | const TCollection_ExtendedString & | theMessage | ) | [protected] |
| virtual void BinLDrivers_DocumentStorageDriver::WriteSection | ( | const TCollection_AsciiString & | theName, |
| const Handle< CDM_Document > & | theDoc, | ||
| Standard_OStream & | theOS | ||
| ) | [protected, virtual] |
| virtual void BinLDrivers_DocumentStorageDriver::WriteShapeSection | ( | BinLDrivers_DocumentSection & | theDocSection, |
| Standard_OStream & | theOS | ||
| ) | [protected, virtual] |
Reimplemented in BinDrivers_DocumentStorageDriver.
| void BinLDrivers_DocumentStorageDriver::WriteSubTree | ( | const TDF_Label & | theData, |
| Standard_OStream & | theOS | ||
| ) | [protected] |
Handle_BinMDF_ADriverTable BinLDrivers_DocumentStorageDriver::myDrivers [protected] |
1.8.0