MeVisLabToolboxReference
|
This class comprises some attributes that are common for a WEM and a WEMPatch. More...
#include <WEMAttributes.h>
Public Member Functions | |
WEMAttributes () | |
Constructor. | |
~WEMAttributes () | |
Destructor. | |
void | reset () |
Sets default values to all members. | |
void | saveTo (std::ostream &outstream) |
Saves attributes to given output stream. | |
unsigned int | loadFrom (std::istream &instream, short version, bool swapBytes) |
Loads attributes from given input stream. | |
unsigned int | loadFrom (char *map, short version, bool swapBytes) |
Loads attributes from given memory map. | |
Public Attributes | |
std::string | label |
Label string. | |
std::string | description |
Description string. |
This class comprises some attributes that are common for a WEM and a WEMPatch.
Definition at line 26 of file WEMAttributes.h.
ml::WEMAttributes::WEMAttributes | ( | ) |
Constructor.
ml::WEMAttributes::~WEMAttributes | ( | ) |
Destructor.
unsigned int ml::WEMAttributes::loadFrom | ( | std::istream & | instream, |
short | version, | ||
bool | swapBytes | ||
) |
Loads attributes from given input stream.
Returns the number of read bytes.
unsigned int ml::WEMAttributes::loadFrom | ( | char * | map, |
short | version, | ||
bool | swapBytes | ||
) |
Loads attributes from given memory map.
Returns the number of read bytes.
void ml::WEMAttributes::reset | ( | ) |
Sets default values to all members.
void ml::WEMAttributes::saveTo | ( | std::ostream & | outstream | ) |
Saves attributes to given output stream.
std::string ml::WEMAttributes::description |
Description string.
Definition at line 42 of file WEMAttributes.h.
std::string ml::WEMAttributes::label |
Label string.
Definition at line 40 of file WEMAttributes.h.