|
Public Member Functions |
| DDF_IOStream () |
Storage_Error | Open (const TCollection_AsciiString &aName, const Storage_OpenMode aMode) |
Storage_Error | Open (istream *anIStream) |
Storage_Error | Open (ostream *anOStream) |
Standard_Boolean | IsEnd () |
Storage_Position | Tell () |
Storage_Error | BeginWriteInfoSection () |
void | WriteInfo (const Standard_Integer nbObj, const TCollection_AsciiString &dbVersion, const TCollection_AsciiString &date, const TCollection_AsciiString &schemaName, const TCollection_AsciiString &schemaVersion, const TCollection_ExtendedString &appName, const TCollection_AsciiString &appVersion, const TCollection_ExtendedString &objectType, const TColStd_SequenceOfAsciiString &userInfo) |
Storage_Error | EndWriteInfoSection () |
Storage_Error | BeginReadInfoSection () |
void | ReadInfo (Standard_Integer &nbObj, TCollection_AsciiString &dbVersion, TCollection_AsciiString &date, TCollection_AsciiString &schemaName, TCollection_AsciiString &schemaVersion, TCollection_ExtendedString &appName, TCollection_AsciiString &appVersion, TCollection_ExtendedString &objectType, TColStd_SequenceOfAsciiString &userInfo) |
Storage_Error | EndReadInfoSection () |
Storage_Error | BeginWriteCommentSection () |
void | WriteComment (const TColStd_SequenceOfExtendedString &userComments) |
Storage_Error | EndWriteCommentSection () |
Storage_Error | BeginReadCommentSection () |
void | ReadComment (TColStd_SequenceOfExtendedString &userComments) |
Storage_Error | EndReadCommentSection () |
Storage_Error | BeginWriteTypeSection () |
void | SetTypeSectionSize (const Standard_Integer aSize) |
void | WriteTypeInformations (const Standard_Integer typeNum, const TCollection_AsciiString &typeName) |
Storage_Error | EndWriteTypeSection () |
Storage_Error | BeginReadTypeSection () |
Standard_Integer | TypeSectionSize () |
void | ReadTypeInformations (Standard_Integer &typeNum, TCollection_AsciiString &typeName) |
Storage_Error | EndReadTypeSection () |
Storage_Error | BeginWriteRootSection () |
void | SetRootSectionSize (const Standard_Integer aSize) |
void | WriteRoot (const TCollection_AsciiString &rootName, const Standard_Integer aRef, const TCollection_AsciiString &aType) |
Storage_Error | EndWriteRootSection () |
Storage_Error | BeginReadRootSection () |
Standard_Integer | RootSectionSize () |
void | ReadRoot (TCollection_AsciiString &rootName, Standard_Integer &aRef, TCollection_AsciiString &aType) |
Storage_Error | EndReadRootSection () |
Storage_Error | BeginWriteRefSection () |
void | SetRefSectionSize (const Standard_Integer aSize) |
void | WriteReferenceType (const Standard_Integer reference, const Standard_Integer typeNum) |
Storage_Error | EndWriteRefSection () |
Storage_Error | BeginReadRefSection () |
Standard_Integer | RefSectionSize () |
void | ReadReferenceType (Standard_Integer &reference, Standard_Integer &typeNum) |
Storage_Error | EndReadRefSection () |
Storage_Error | BeginWriteDataSection () |
void | WritePersistentObjectHeader (const Standard_Integer aRef, const Standard_Integer aType) |
void | BeginWritePersistentObjectData () |
void | BeginWriteObjectData () |
void | EndWriteObjectData () |
void | EndWritePersistentObjectData () |
Storage_Error | EndWriteDataSection () |
Storage_Error | BeginReadDataSection () |
void | ReadPersistentObjectHeader (Standard_Integer &aRef, Standard_Integer &aType) |
void | BeginReadPersistentObjectData () |
void | BeginReadObjectData () |
void | EndReadObjectData () |
void | EndReadPersistentObjectData () |
Storage_Error | EndReadDataSection () |
void | SkipObject () |
Storage_BaseDriver & | PutReference (const Standard_Integer aValue) |
Storage_BaseDriver & | PutCharacter (const Standard_Character aValue) |
Storage_BaseDriver & | operator<< (const Standard_Character aValue) |
Storage_BaseDriver & | PutExtCharacter (const Standard_ExtCharacter aValue) |
Storage_BaseDriver & | operator<< (const Standard_ExtCharacter aValue) |
Storage_BaseDriver & | PutInteger (const Standard_Integer aValue) |
Storage_BaseDriver & | operator<< (const Standard_Integer aValue) |
Storage_BaseDriver & | PutBoolean (const Standard_Boolean aValue) |
Storage_BaseDriver & | operator<< (const Standard_Boolean aValue) |
Storage_BaseDriver & | PutReal (const Standard_Real aValue) |
Storage_BaseDriver & | operator<< (const Standard_Real aValue) |
Storage_BaseDriver & | PutShortReal (const Standard_ShortReal aValue) |
Storage_BaseDriver & | operator<< (const Standard_ShortReal aValue) |
Storage_BaseDriver & | GetReference (Standard_Integer &aValue) |
Storage_BaseDriver & | GetCharacter (Standard_Character &aValue) |
Storage_BaseDriver & | operator>> (Standard_Character &aValue) |
Storage_BaseDriver & | GetExtCharacter (Standard_ExtCharacter &aValue) |
Storage_BaseDriver & | operator>> (Standard_ExtCharacter &aValue) |
Storage_BaseDriver & | GetInteger (Standard_Integer &aValue) |
Storage_BaseDriver & | operator>> (Standard_Integer &aValue) |
Storage_BaseDriver & | GetBoolean (Standard_Boolean &aValue) |
Storage_BaseDriver & | operator>> (Standard_Boolean &aValue) |
Storage_BaseDriver & | GetReal (Standard_Real &aValue) |
Storage_BaseDriver & | operator>> (Standard_Real &aValue) |
Storage_BaseDriver & | GetShortReal (Standard_ShortReal &aValue) |
Storage_BaseDriver & | operator>> (Standard_ShortReal &aValue) |
Storage_Error | Close () |
void | Destroy () |
| ~DDF_IOStream () |
Static Public Member Functions |
static Storage_Error | IsGoodFileType (istream *anIStream) |
Protected Member Functions |
void | ReadLine (TCollection_AsciiString &buffer) |
void | ReadWord (TCollection_AsciiString &buffer) |
void | ReadExtendedLine (TCollection_ExtendedString &buffer) |
void | WriteExtendedLine (const TCollection_ExtendedString &buffer) |
void | ReadChar (TCollection_AsciiString &buffer, const Standard_Integer rsize) |
void | ReadString (TCollection_AsciiString &buffer) |
void | FlushEndOfLine () |
Storage_Error | FindTag (const Standard_CString aTag) |
Static Private Member Functions |
static const Standard_CString | MagicNumber () |
Private Attributes |
istream * | myIStream |
ostream * | myOStream |