Open CASCADE Technology  7.1.0.beta
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions

FSD_BinaryFile Class Reference

#include <FSD_BinaryFile.hxx>

Inheritance diagram for FSD_BinaryFile:
Inheritance graph
[legend]

Public Member Functions

 FSD_BinaryFile ()
 
Storage_Error Open (const TCollection_AsciiString &aName, const Storage_OpenMode aMode)
 
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 EndWriteInfoSection (Standard_OStream &theOStream)
 
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)
 
void ReadCompleteInfo (Standard_IStream &theIStream, Handle< Storage_Data > &theData)
 
Storage_Error EndReadInfoSection ()
 
Storage_Error BeginWriteCommentSection ()
 
Storage_Error BeginWriteCommentSection (Standard_OStream &theOStream)
 
void WriteComment (const TColStd_SequenceOfExtendedString &userComments)
 
Storage_Error EndWriteCommentSection ()
 
Storage_Error EndWriteCommentSection (Standard_OStream &theOStream)
 
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_BaseDriverPutReference (const Standard_Integer aValue)
 
Storage_BaseDriverPutCharacter (const Standard_Character aValue)
 
Storage_BaseDriveroperator<< (const Standard_Character aValue)
 
Storage_BaseDriverPutExtCharacter (const Standard_ExtCharacter aValue)
 
Storage_BaseDriveroperator<< (const Standard_ExtCharacter aValue)
 
Storage_BaseDriverPutInteger (const Standard_Integer aValue)
 
Storage_BaseDriveroperator<< (const Standard_Integer aValue)
 
Storage_BaseDriverPutBoolean (const Standard_Boolean aValue)
 
Storage_BaseDriveroperator<< (const Standard_Boolean aValue)
 
Storage_BaseDriverPutReal (const Standard_Real aValue)
 
Storage_BaseDriveroperator<< (const Standard_Real aValue)
 
Storage_BaseDriverPutShortReal (const Standard_ShortReal aValue)
 
Storage_BaseDriveroperator<< (const Standard_ShortReal aValue)
 
Storage_BaseDriverGetReference (Standard_Integer &aValue)
 
Storage_BaseDriverGetCharacter (Standard_Character &aValue)
 
Storage_BaseDriveroperator>> (Standard_Character &aValue)
 
Storage_BaseDriverGetExtCharacter (Standard_ExtCharacter &aValue)
 
Storage_BaseDriveroperator>> (Standard_ExtCharacter &aValue)
 
Storage_BaseDriverGetInteger (Standard_Integer &aValue)
 
Storage_BaseDriveroperator>> (Standard_Integer &aValue)
 
Storage_BaseDriverGetBoolean (Standard_Boolean &aValue)
 
Storage_BaseDriveroperator>> (Standard_Boolean &aValue)
 
Storage_BaseDriverGetReal (Standard_Real &aValue)
 
Storage_BaseDriveroperator>> (Standard_Real &aValue)
 
Storage_BaseDriverGetShortReal (Standard_ShortReal &aValue)
 
Storage_BaseDriveroperator>> (Standard_ShortReal &aValue)
 
Storage_Error Close ()
 
void Destroy ()
 
 ~FSD_BinaryFile ()
 
- Public Member Functions inherited from Storage_BaseDriver
virtual ~Storage_BaseDriver ()
 
TCollection_AsciiString Name () const
 
Storage_OpenMode OpenMode () const
 
Storage_BaseDriveroperator<< (const Standard_Character aValue)
 
Storage_BaseDriveroperator<< (const Standard_ExtCharacter aValue)
 
Storage_BaseDriveroperator<< (const Standard_Integer aValue)
 
Storage_BaseDriveroperator<< (const Standard_Boolean aValue)
 
Storage_BaseDriveroperator<< (const Standard_Real aValue)
 
Storage_BaseDriveroperator<< (const Standard_ShortReal aValue)
 
Storage_BaseDriveroperator>> (Standard_Character &aValue)
 
Storage_BaseDriveroperator>> (Standard_ExtCharacter &aValue)
 
Storage_BaseDriveroperator>> (Standard_Integer &aValue)
 
Storage_BaseDriveroperator>> (Standard_Boolean &aValue)
 
Storage_BaseDriveroperator>> (Standard_Real &aValue)
 
Storage_BaseDriveroperator>> (Standard_ShortReal &aValue)
 

Static Public Member Functions

static Storage_Error IsGoodFileType (const TCollection_AsciiString &aName)
 
static Standard_Integer WriteInfo (Standard_OStream &theOStream, 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, const Standard_Boolean theOnlyCount=Standard_False)
 
static Standard_Integer WriteComment (Standard_OStream &theOStream, const TColStd_SequenceOfExtendedString &theComments, const Standard_Boolean theOnlyCount=Standard_False)
 
static void ReadComment (Standard_IStream &theIStream, TColStd_SequenceOfExtendedString &userComments)
 
static Standard_Integer TypeSectionSize (Standard_IStream &theIStream)
 
static void ReadTypeInformations (Standard_IStream &theIStream, Standard_Integer &typeNum, TCollection_AsciiString &typeName)
 
static Standard_Integer RootSectionSize (Standard_IStream &theIStream)
 
static void ReadRoot (Standard_IStream &theIStream, TCollection_AsciiString &rootName, Standard_Integer &aRef, TCollection_AsciiString &aType)
 
static Standard_Integer RefSectionSize (Standard_IStream &theIStream)
 
static void ReadReferenceType (Standard_IStream &theIStream, Standard_Integer &reference, Standard_Integer &typeNum)
 
static Standard_Integer PutInteger (Standard_OStream &theOStream, const Standard_Integer aValue, const Standard_Boolean theOnlyCount=Standard_False)
 
static void GetReference (Standard_IStream &theIStream, Standard_Integer &aValue)
 
static void GetInteger (Standard_IStream &theIStream, Standard_Integer &aValue)
 
static Standard_Integer InverseInt (const Standard_Integer theValue)
 Inverse bytes in integer value. More...
 
static Standard_ExtCharacter InverseExtChar (const Standard_ExtCharacter theValue)
 Inverse bytes in extended character value. More...
 
static Standard_Real InverseReal (const Standard_Real theValue)
 Inverse bytes in real value. More...
 
static Standard_ShortReal InverseShortReal (const Standard_ShortReal theValue)
 Inverse bytes in short real value. More...
 
static Standard_Size InverseSize (const Standard_Size theValue)
 Inverse bytes in size value. More...
 
static void ReadHeader (Standard_IStream &theIStream, FSD_FileHeader &theFileHeader)
 
static void ReadHeaderData (Standard_IStream &theIStream, const Handle< Storage_HeaderData > &theHeaderData)
 
static void ReadString (Standard_IStream &theIStream, TCollection_AsciiString &buffer)
 
static void ReadExtendedString (Standard_IStream &theIStream, TCollection_ExtendedString &buffer)
 
static Standard_Integer WriteHeader (Standard_OStream &theOStream, const FSD_FileHeader &theHeader, const Standard_Boolean theOnlyCount=Standard_False)
 
static Standard_CString MagicNumber ()
 
- Static Public Member Functions inherited from Storage_BaseDriver
static TCollection_AsciiString ReadMagicNumber (Standard_IStream &theIStream)
 

Protected Member Functions

void ReadChar (TCollection_AsciiString &buffer, const Standard_Size rsize)
 read <rsize> character from the current position. More...
 
void ReadString (TCollection_AsciiString &buffer)
 read string from the current position. More...
 
void WriteString (const TCollection_AsciiString &buffer)
 write string at the current position. More...
 
void ReadExtendedString (TCollection_ExtendedString &buffer)
 read string from the current position. More...
 
void WriteExtendedString (const TCollection_ExtendedString &buffer)
 write string at the current position. More...
 
- Protected Member Functions inherited from Storage_BaseDriver
 Storage_BaseDriver ()
 
void SetName (const TCollection_AsciiString &aName)
 
void SetOpenMode (const Storage_OpenMode aMode)
 

Static Protected Member Functions

static Standard_Integer WriteString (Standard_OStream &theOStream, const TCollection_AsciiString &theString, const Standard_Boolean theOnlyCount=Standard_False)
 write string at the current position. More...
 
static Standard_Integer WriteExtendedString (Standard_OStream &theOStream, const TCollection_ExtendedString &theString, const Standard_Boolean theOnlyCount=Standard_False)
 write string at the current position. More...
 

Constructor & Destructor Documentation

FSD_BinaryFile::FSD_BinaryFile ( )
FSD_BinaryFile::~FSD_BinaryFile ( )
inline

Member Function Documentation

Storage_Error FSD_BinaryFile::BeginReadCommentSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginReadDataSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginReadInfoSection ( )
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::BeginReadObjectData ( )
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::BeginReadPersistentObjectData ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginReadRefSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginReadRootSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginReadTypeSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginWriteCommentSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginWriteCommentSection ( Standard_OStream theOStream)
Storage_Error FSD_BinaryFile::BeginWriteDataSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginWriteInfoSection ( )
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::BeginWriteObjectData ( )
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::BeginWritePersistentObjectData ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginWriteRefSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginWriteRootSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::BeginWriteTypeSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::Close ( )
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::Destroy ( )
Storage_Error FSD_BinaryFile::EndReadCommentSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndReadDataSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndReadInfoSection ( )
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::EndReadObjectData ( )
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::EndReadPersistentObjectData ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndReadRefSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndReadRootSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndReadTypeSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndWriteCommentSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndWriteCommentSection ( Standard_OStream theOStream)
Storage_Error FSD_BinaryFile::EndWriteDataSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndWriteInfoSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndWriteInfoSection ( Standard_OStream theOStream)
void FSD_BinaryFile::EndWriteObjectData ( )
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::EndWritePersistentObjectData ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndWriteRefSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndWriteRootSection ( )
virtual

Implements Storage_BaseDriver.

Storage_Error FSD_BinaryFile::EndWriteTypeSection ( )
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::GetBoolean ( Standard_Boolean aValue)
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::GetCharacter ( Standard_Character aValue)
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::GetExtCharacter ( Standard_ExtCharacter aValue)
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::GetInteger ( Standard_Integer aValue)
virtual

Implements Storage_BaseDriver.

static void FSD_BinaryFile::GetInteger ( Standard_IStream theIStream,
Standard_Integer aValue 
)
static
Storage_BaseDriver& FSD_BinaryFile::GetReal ( Standard_Real aValue)
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::GetReference ( Standard_Integer aValue)
virtual

Implements Storage_BaseDriver.

static void FSD_BinaryFile::GetReference ( Standard_IStream theIStream,
Standard_Integer aValue 
)
static
Storage_BaseDriver& FSD_BinaryFile::GetShortReal ( Standard_ShortReal aValue)
virtual

Implements Storage_BaseDriver.

static Standard_ExtCharacter FSD_BinaryFile::InverseExtChar ( const Standard_ExtCharacter  theValue)
inlinestatic

Inverse bytes in extended character value.

static Standard_Integer FSD_BinaryFile::InverseInt ( const Standard_Integer  theValue)
inlinestatic

Inverse bytes in integer value.

static Standard_Real FSD_BinaryFile::InverseReal ( const Standard_Real  theValue)
static

Inverse bytes in real value.

static Standard_ShortReal FSD_BinaryFile::InverseShortReal ( const Standard_ShortReal  theValue)
static

Inverse bytes in short real value.

static Standard_Size FSD_BinaryFile::InverseSize ( const Standard_Size  theValue)
static

Inverse bytes in size value.

Standard_Boolean FSD_BinaryFile::IsEnd ( )
virtual

returns True if we are at end of the stream

Implements Storage_BaseDriver.

static Storage_Error FSD_BinaryFile::IsGoodFileType ( const TCollection_AsciiString aName)
static
static Standard_CString FSD_BinaryFile::MagicNumber ( )
static
Storage_Error FSD_BinaryFile::Open ( const TCollection_AsciiString aName,
const Storage_OpenMode  aMode 
)
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::operator<< ( const Standard_Character  aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator<< ( const Standard_ExtCharacter  aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator<< ( const Standard_Integer  aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator<< ( const Standard_Boolean  aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator<< ( const Standard_Real  aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator<< ( const Standard_ShortReal  aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator>> ( Standard_Character aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator>> ( Standard_ExtCharacter aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator>> ( Standard_Integer aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator>> ( Standard_Boolean aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator>> ( Standard_Real aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::operator>> ( Standard_ShortReal aValue)
inline
Storage_BaseDriver& FSD_BinaryFile::PutBoolean ( const Standard_Boolean  aValue)
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::PutCharacter ( const Standard_Character  aValue)
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::PutExtCharacter ( const Standard_ExtCharacter  aValue)
virtual

Implements Storage_BaseDriver.

static Standard_Integer FSD_BinaryFile::PutInteger ( Standard_OStream theOStream,
const Standard_Integer  aValue,
const Standard_Boolean  theOnlyCount = Standard_False 
)
static
Storage_BaseDriver& FSD_BinaryFile::PutInteger ( const Standard_Integer  aValue)
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::PutReal ( const Standard_Real  aValue)
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::PutReference ( const Standard_Integer  aValue)
virtual

Implements Storage_BaseDriver.

Storage_BaseDriver& FSD_BinaryFile::PutShortReal ( const Standard_ShortReal  aValue)
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::ReadChar ( TCollection_AsciiString buffer,
const Standard_Size  rsize 
)
protected

read <rsize> character from the current position.

void FSD_BinaryFile::ReadComment ( TColStd_SequenceOfExtendedString userComments)
virtual

Implements Storage_BaseDriver.

static void FSD_BinaryFile::ReadComment ( Standard_IStream theIStream,
TColStd_SequenceOfExtendedString userComments 
)
static
void FSD_BinaryFile::ReadCompleteInfo ( Standard_IStream theIStream,
Handle< Storage_Data > &  theData 
)
virtual

Implements Storage_BaseDriver.

static void FSD_BinaryFile::ReadExtendedString ( Standard_IStream theIStream,
TCollection_ExtendedString buffer 
)
static
void FSD_BinaryFile::ReadExtendedString ( TCollection_ExtendedString buffer)
protected

read string from the current position.

static void FSD_BinaryFile::ReadHeader ( Standard_IStream theIStream,
FSD_FileHeader theFileHeader 
)
static
static void FSD_BinaryFile::ReadHeaderData ( Standard_IStream theIStream,
const Handle< Storage_HeaderData > &  theHeaderData 
)
static
void FSD_BinaryFile::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 
)
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::ReadPersistentObjectHeader ( Standard_Integer aRef,
Standard_Integer aType 
)
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::ReadReferenceType ( Standard_Integer reference,
Standard_Integer typeNum 
)
virtual

Implements Storage_BaseDriver.

static void FSD_BinaryFile::ReadReferenceType ( Standard_IStream theIStream,
Standard_Integer reference,
Standard_Integer typeNum 
)
static
void FSD_BinaryFile::ReadRoot ( TCollection_AsciiString rootName,
Standard_Integer aRef,
TCollection_AsciiString aType 
)
virtual

Implements Storage_BaseDriver.

static void FSD_BinaryFile::ReadRoot ( Standard_IStream theIStream,
TCollection_AsciiString rootName,
Standard_Integer aRef,
TCollection_AsciiString aType 
)
static
static void FSD_BinaryFile::ReadString ( Standard_IStream theIStream,
TCollection_AsciiString buffer 
)
static
void FSD_BinaryFile::ReadString ( TCollection_AsciiString buffer)
protected

read string from the current position.

void FSD_BinaryFile::ReadTypeInformations ( Standard_Integer typeNum,
TCollection_AsciiString typeName 
)
virtual

Implements Storage_BaseDriver.

static void FSD_BinaryFile::ReadTypeInformations ( Standard_IStream theIStream,
Standard_Integer typeNum,
TCollection_AsciiString typeName 
)
static
Standard_Integer FSD_BinaryFile::RefSectionSize ( )
virtual

Implements Storage_BaseDriver.

static Standard_Integer FSD_BinaryFile::RefSectionSize ( Standard_IStream theIStream)
static
Standard_Integer FSD_BinaryFile::RootSectionSize ( )
virtual

Implements Storage_BaseDriver.

static Standard_Integer FSD_BinaryFile::RootSectionSize ( Standard_IStream theIStream)
static
void FSD_BinaryFile::SetRefSectionSize ( const Standard_Integer  aSize)
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::SetRootSectionSize ( const Standard_Integer  aSize)
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::SetTypeSectionSize ( const Standard_Integer  aSize)
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::SkipObject ( )
virtual

Implements Storage_BaseDriver.

Storage_Position FSD_BinaryFile::Tell ( )
virtual

return position in the file. Return -1 upon error.

Implements Storage_BaseDriver.

Standard_Integer FSD_BinaryFile::TypeSectionSize ( )
virtual

Implements Storage_BaseDriver.

static Standard_Integer FSD_BinaryFile::TypeSectionSize ( Standard_IStream theIStream)
static
void FSD_BinaryFile::WriteComment ( const TColStd_SequenceOfExtendedString userComments)
virtual

Implements Storage_BaseDriver.

static Standard_Integer FSD_BinaryFile::WriteComment ( Standard_OStream theOStream,
const TColStd_SequenceOfExtendedString theComments,
const Standard_Boolean  theOnlyCount = Standard_False 
)
static
void FSD_BinaryFile::WriteExtendedString ( const TCollection_ExtendedString buffer)
protected

write string at the current position.

static Standard_Integer FSD_BinaryFile::WriteExtendedString ( Standard_OStream theOStream,
const TCollection_ExtendedString theString,
const Standard_Boolean  theOnlyCount = Standard_False 
)
staticprotected

write string at the current position.

static Standard_Integer FSD_BinaryFile::WriteHeader ( Standard_OStream theOStream,
const FSD_FileHeader theHeader,
const Standard_Boolean  theOnlyCount = Standard_False 
)
static
static Standard_Integer FSD_BinaryFile::WriteInfo ( Standard_OStream theOStream,
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,
const Standard_Boolean  theOnlyCount = Standard_False 
)
static
void FSD_BinaryFile::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 
)
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::WritePersistentObjectHeader ( const Standard_Integer  aRef,
const Standard_Integer  aType 
)
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::WriteReferenceType ( const Standard_Integer  reference,
const Standard_Integer  typeNum 
)
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::WriteRoot ( const TCollection_AsciiString rootName,
const Standard_Integer  aRef,
const TCollection_AsciiString aType 
)
virtual

Implements Storage_BaseDriver.

void FSD_BinaryFile::WriteString ( const TCollection_AsciiString buffer)
protected

write string at the current position.

static Standard_Integer FSD_BinaryFile::WriteString ( Standard_OStream theOStream,
const TCollection_AsciiString theString,
const Standard_Boolean  theOnlyCount = Standard_False 
)
staticprotected

write string at the current position.

void FSD_BinaryFile::WriteTypeInformations ( const Standard_Integer  typeNum,
const TCollection_AsciiString typeName 
)
virtual

Implements Storage_BaseDriver.


The documentation for this class was generated from the following file: