MeVisLab Toolbox Reference
WEMAttributes.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#pragma once
14
15#include "MLWEMIncludes.h"
17
19
21
25{
26public:
28 void reset();
29
31 std::string label;
33 std::string description;
34
38 void loadFrom(FileMapWrapper& mapper, short version);
39};
40
43
45
#define MLWEM_EXPORT
Definition MLWEMSystem.h:18
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.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
bool operator==(const Tmat2< DT > &a, const Tmat2< DT > &b)
a == b ? Return true if yes.
Definition mlMatrix2.h:425
bool operator!=(const Tmat2< DT > &a, const Tmat2< DT > &b)
a != b ? Return true if yes.
Definition mlMatrix2.h:433