0.44.0
|
#include <ompfHeaderChunk.h>
Inherits OMPF::ompfBaseChunk.
Public Member Functions | |
ompfHeaderChunk () | |
virtual | ~ompfHeaderChunk ()=default |
uint32 | getSize (const ompfSettings &settings) override |
virtual bool | write (std::ofstream &stream, const ompfSettings &settings) |
virtual bool | read (std::ifstream &stream, ompfSettings &settings) |
Public Member Functions inherited from OMPF::ompfBaseChunk | |
ompfBaseChunk (OMPFChunkType typeID) | |
virtual | ~ompfBaseChunk ()=default |
virtual bool | write (std::ofstream &stream, const ompfSettings &settings) |
virtual bool | read (std::ifstream &stream, ompfSettings &settings) |
void | insertChunk (ompfBaseChunk *chunk) |
void | removeChunk (ompfBaseChunk *chunk) |
bool | hasParent () const |
uint32 | getParentID () const |
void | setParentID (const uint32 parentID) |
bool | hasChildren () const |
const std::vector< ompfBaseChunk * > & | getChildren () const |
void | setID (const uint32 chunkID) |
uint32 | getID () const |
virtual uint32 | getSize (const ompfSettings &settings) |
OMPFChunkType | getType () const |
void | setName (const iaString &name) |
iaString | getName () const |
header chunk the represents the header in an ompf file
OMPF::ompfHeaderChunk::ompfHeaderChunk | ( | ) |
does nothing
|
virtualdefault |
does nothing
|
overridevirtual |
settigns | the settings to calculate the size |
Reimplemented from OMPF::ompfBaseChunk.
|
virtual |
reads chunk from stream
stream | source stream |
settings | the settings how to read the chunk |
Reimplemented from OMPF::ompfBaseChunk.
|
virtual |
writes chunk to stream
stream | destination stream |
settings | the settings how to write the chunk |
Reimplemented from OMPF::ompfBaseChunk.