0.44.0
|
#include <ompfResourceSearchPathChunk.h>
Inherits OMPF::ompfBaseChunk.
Public Member Functions | |
ompfResourceSearchPathChunk () | |
virtual | ~ompfResourceSearchPathChunk ()=default |
uint32 | getSize (const ompfSettings &settings) override |
void | setPath (iaString path) |
iaString | getPath () const |
void | setPathType (OMPFPathType pathType) |
OMPFPathType | getPathType () const |
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 |
search path chunk
OMPF::ompfResourceSearchPathChunk::ompfResourceSearchPathChunk | ( | ) |
does nothing
|
virtualdefault |
does nothing
iaString OMPF::ompfResourceSearchPathChunk::getPath | ( | ) | const |
OMPFPathType OMPF::ompfResourceSearchPathChunk::getPathType | ( | ) | const |
|
overridevirtual |
settings | the settings the size calculation is based on |
Reimplemented from OMPF::ompfBaseChunk.
void OMPF::ompfResourceSearchPathChunk::setPath | ( | iaString | path | ) |
sets the search path
path | a path we later can search in |
void OMPF::ompfResourceSearchPathChunk::setPathType | ( | OMPFPathType | pathType | ) |
sets path type
pathType | path type |