Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkConfigurationHolder.h>
Public Types | |
enum | ValueType { DT_UNINIZIALIZED, DT_BOOL, DT_UINT, DT_INT, DT_DOUBLE, DT_STRING, DT_GROUP } |
Public Member Functions | |
ConfigurationHolder () | |
void | SetBool (bool value) |
void | SetUnsignedInt (unsigned int value) |
void | SetInt (int value) |
void | SetDouble (double value) |
void | SetString (std::string value) |
void | ClearGroup () |
void | AddToGroup (std::string id, const ConfigurationHolder &value) |
bool | AsBool () |
unsigned int | AsUnsignedInt () |
int | AsInt () |
double | AsDouble () |
std::string | AsString () |
bool | AsBool (bool value) |
unsigned int | AsUnsignedInt (unsigned int value) |
int | AsInt (int value) |
double | AsDouble (double value) |
std::string | AsString (std::string value) |
std::vector< std::string > | AsStringVector () |
ConfigurationHolder & | At (std::string id) |
Definition at line 32 of file mitkConfigurationHolder.h.
Enumerator | |
---|---|
DT_UNINIZIALIZED | |
DT_BOOL | |
DT_UINT | |
DT_INT | |
DT_DOUBLE | |
DT_STRING | |
DT_GROUP |
Definition at line 35 of file mitkConfigurationHolder.h.
mitk::ConfigurationHolder::ConfigurationHolder | ( | ) |
Definition at line 22 of file mitkConfigurationHolder.cpp.
void mitk::ConfigurationHolder::AddToGroup | ( | std::string | id, |
const ConfigurationHolder & | value | ||
) |
Definition at line 64 of file mitkConfigurationHolder.cpp.
bool mitk::ConfigurationHolder::AsBool | ( | ) |
Definition at line 70 of file mitkConfigurationHolder.cpp.
bool mitk::ConfigurationHolder::AsBool | ( | bool | value | ) |
Definition at line 259 of file mitkConfigurationHolder.cpp.
double mitk::ConfigurationHolder::AsDouble | ( | ) |
Definition at line 171 of file mitkConfigurationHolder.cpp.
double mitk::ConfigurationHolder::AsDouble | ( | double | value | ) |
Definition at line 292 of file mitkConfigurationHolder.cpp.
int mitk::ConfigurationHolder::AsInt | ( | ) |
Definition at line 136 of file mitkConfigurationHolder.cpp.
int mitk::ConfigurationHolder::AsInt | ( | int | value | ) |
Definition at line 281 of file mitkConfigurationHolder.cpp.
std::string mitk::ConfigurationHolder::AsString | ( | ) |
Definition at line 206 of file mitkConfigurationHolder.cpp.
std::string mitk::ConfigurationHolder::AsString | ( | std::string | value | ) |
Definition at line 303 of file mitkConfigurationHolder.cpp.
std::vector< std::string > mitk::ConfigurationHolder::AsStringVector | ( | ) |
Definition at line 241 of file mitkConfigurationHolder.cpp.
References mitkThrow.
unsigned int mitk::ConfigurationHolder::AsUnsignedInt | ( | ) |
Definition at line 101 of file mitkConfigurationHolder.cpp.
unsigned int mitk::ConfigurationHolder::AsUnsignedInt | ( | unsigned int | value | ) |
Definition at line 270 of file mitkConfigurationHolder.cpp.
mitk::ConfigurationHolder & mitk::ConfigurationHolder::At | ( | std::string | id | ) |
Definition at line 254 of file mitkConfigurationHolder.cpp.
void mitk::ConfigurationHolder::ClearGroup | ( | ) |
Definition at line 58 of file mitkConfigurationHolder.cpp.
void mitk::ConfigurationHolder::SetBool | ( | bool | value | ) |
Definition at line 28 of file mitkConfigurationHolder.cpp.
void mitk::ConfigurationHolder::SetDouble | ( | double | value | ) |
Definition at line 46 of file mitkConfigurationHolder.cpp.
References DT_DOUBLE.
void mitk::ConfigurationHolder::SetInt | ( | int | value | ) |
Definition at line 40 of file mitkConfigurationHolder.cpp.
References DT_INT.
void mitk::ConfigurationHolder::SetString | ( | std::string | value | ) |
Definition at line 52 of file mitkConfigurationHolder.cpp.
void mitk::ConfigurationHolder::SetUnsignedInt | ( | unsigned int | value | ) |
Definition at line 34 of file mitkConfigurationHolder.cpp.