|
MeVisLab Toolbox Reference
|
Wraps a FileMap so we can handle errors and exceptions more easily. More...
#include <WEMPersistenceHelper.h>
Public Member Functions | |
| FileMapWrapper (MLuint64 filesize, char *startAddress) | |
| template<typename DT > | |
| DT | readValueFromMapAhead () |
| template<typename DT > | |
| DT | readValueFromMap () |
| void | readStringFromMap (std::string &value, size_t stringLength) |
| void | readStringWithSizeFromMap (std::string &value) |
| void | readVector3FromMap (Vector3 &value, size_t byteSize) |
| void | readVector4FromMap (Vector4 &value, size_t byteSize) |
| const char * | getInitialAddress () const |
| const char * | getCurrentAddress () const |
| const char * | getCurrentAddress (size_t byteSize) |
| void | advance (size_t byteSize) |
| MLuint64 | getNumBytesRead () const |
| void | setSwapBytes (bool swapBytes) |
Wraps a FileMap so we can handle errors and exceptions more easily.
Definition at line 35 of file WEMPersistenceHelper.h.
Definition at line 79 of file WEMPersistenceHelper.h.
Definition at line 75 of file WEMPersistenceHelper.h.
| MLuint64 ml::FileMapWrapper::getNumBytesRead | ( | ) | const |
| void ml::FileMapWrapper::readStringWithSizeFromMap | ( | std::string & | value | ) |
|
inline |
Definition at line 62 of file WEMPersistenceHelper.h.
References mlrange_cast().
|
inline |
Definition at line 41 of file WEMPersistenceHelper.h.
References mlrange_cast(), and MLSwapBytes().
Definition at line 87 of file WEMPersistenceHelper.h.
References mlrange_cast().