|
Public Member Functions |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Standard_EXPORT | BinLDrivers_DocumentSection () |
| | Empty constructor
.
|
| Standard_EXPORT | BinLDrivers_DocumentSection (const TCollection_AsciiString &theName, const Standard_Boolean isPostRead) |
| | Constructor
.
|
| Standard_EXPORT const TCollection_AsciiString & | Name () const |
| | Query the name of the section.
.
|
| Standard_EXPORT Standard_Boolean | IsPostRead () const |
| | Query the status: if the Section should be read after OCAF;
False means that the Section is read before starting to
read OCAF data.
.
|
| Standard_EXPORT Standard_Size | Offset () const |
| | Query the offset of the section in the persistent file
.
|
| Standard_EXPORT void | SetOffset (const Standard_Size theOffset) |
| | Set the offset of the section in the persistent file
.
|
| Standard_EXPORT Standard_Size | Length () const |
| | Query the length of the section in the persistent file
.
|
| Standard_EXPORT void | SetLength (const Standard_Size theLength) |
| | Set the length of the section in the persistent file
.
|
| Standard_EXPORT void | WriteTOC (Standard_OStream &theOS) |
| | Create a Section entry in the Document TOC (list of sections)
.
|
| Standard_EXPORT void | Write (Standard_OStream &theOS, const Standard_Size theOffset) |
| | Save Offset and Length data into the Section entry
in the Document TOC (list of sections)
.
|
Static Public Member Functions |
| static Standard_EXPORT void | ReadTOC (BinLDrivers_DocumentSection &theSection, Standard_IStream &theIS) |
| | Fill a DocumentSection instance from the data that are read
from TOC.
.
|
Private Attributes |
| TCollection_AsciiString | myName |
| Standard_Size | myValue [2] |
| Standard_Boolean | myIsPostRead |