Wraps a FileMap so we can handle errors and exceptions more easily.
This class comprises some attributes that are common for a WEM and a WEMPatch.
std::string label
Label string.
void reset()
Sets default values to all members.
void loadFrom(FileMapWrapper &mapper, short version)
Loads attributes from given memory map.
std::string description
Description string.
void saveTo(OutStreamWrapper &ostreamWrapper)
Saves attributes to given output stream.
bool MLWEM_EXPORT operator!=(const WEMAttributes &x, const WEMAttributes &y)
bool MLWEM_EXPORT operator==(const WEMAttributes &x, const WEMAttributes &y)