A general driver which defines as a file, the physical container for data to be stored or retrieved.
More...
|
| FSD_File () |
| Constructs a driver defining as a file, the physical container for data to be stored or retrieved. Use the function Open to give the name of the driven file. More...
|
|
Storage_Error | Open (const TCollection_AsciiString &aName, const Storage_OpenMode aMode) |
| Assigns as aName the name of the file to be driven by this driver. aMode precises if the file is opened in read or write mode. The function returns Storage_VSOk if the file is opened correctly, or any other value of the Storage_Error enumeration which specifies the problem encountered. More...
|
|
Standard_Boolean | IsEnd () |
| returns True if we are at end of the stream More...
|
|
Storage_Position | Tell () |
| return position in the file. Return -1 upon error. More...
|
|
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 () |
| Closes the file driven by this driver. This file was opened by the last call to the function Open. The function returns Storage_VSOk if the closure is correctly done, or any other value of the Storage_Error enumeration which specifies the problem encountered. More...
|
|
void | Destroy () |
|
| ~FSD_File () |
|
void | Delete () |
|
virtual | ~Storage_BaseDriver () |
|
TCollection_AsciiString | Name () const |
|
Storage_OpenMode | OpenMode () const |
|
Storage_BaseDriver & | operator<< (const Standard_Character aValue) |
|
Storage_BaseDriver & | operator<< (const Standard_ExtCharacter aValue) |
|
Storage_BaseDriver & | operator<< (const Standard_Integer aValue) |
|
Storage_BaseDriver & | operator<< (const Standard_Boolean aValue) |
|
Storage_BaseDriver & | operator<< (const Standard_Real aValue) |
|
Storage_BaseDriver & | operator<< (const Standard_ShortReal aValue) |
|
Storage_BaseDriver & | operator>> (Standard_Character &aValue) |
|
Storage_BaseDriver & | operator>> (Standard_ExtCharacter &aValue) |
|
Storage_BaseDriver & | operator>> (Standard_Integer &aValue) |
|
Storage_BaseDriver & | operator>> (Standard_Boolean &aValue) |
|
Storage_BaseDriver & | operator>> (Standard_Real &aValue) |
|
Storage_BaseDriver & | operator>> (Standard_ShortReal &aValue) |
|
A general driver which defines as a file, the physical container for data to be stored or retrieved.