OMPF::ompfGroupChunk Class Reference

#include <ompfGroupChunk.h>

Inherits OMPF::ompfBaseChunk.

Public Member Functions

 ompfGroupChunk ()
 
virtual ~ompfGroupChunk ()=default
 
uint32 getSize (const ompfSettings &settings) override
 
- 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
 

Detailed Description

group chunk wich simply groups other chunks

Constructor & Destructor Documentation

◆ ompfGroupChunk()

OMPF::ompfGroupChunk::ompfGroupChunk ( )

does nothing

◆ ~ompfGroupChunk()

virtual OMPF::ompfGroupChunk::~ompfGroupChunk ( )
virtualdefault

does nothing

Member Function Documentation

◆ getSize()

uint32 OMPF::ompfGroupChunk::getSize ( const ompfSettings settings)
overridevirtual
Returns
size of chunk
Parameters
settingsthe settings to use to calculate the size

Reimplemented from OMPF::ompfBaseChunk.


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