MeVisLabToolboxReference
ml::WEMAttributes Class Reference

This class comprises some attributes that are common for a WEM and a WEMPatch. More...

#include <WEMAttributes.h>

List of all members.

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.

Detailed Description

This class comprises some attributes that are common for a WEM and a WEMPatch.

Definition at line 26 of file WEMAttributes.h.


Constructor & Destructor Documentation

ml::WEMAttributes::WEMAttributes ( )

Constructor.

ml::WEMAttributes::~WEMAttributes ( )

Destructor.


Member Function Documentation

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.


Member Data Documentation

Description string.

Definition at line 42 of file WEMAttributes.h.

Label string.

Definition at line 40 of file WEMAttributes.h.


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