Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::ConfigurationHolder Class Reference

#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 ()
 
ConfigurationHolderAt (std::string id)
 

Detailed Description

Definition at line 28 of file mitkConfigurationHolder.h.

Member Enumeration Documentation

◆ ValueType

Enumerator
DT_UNINIZIALIZED 
DT_BOOL 
DT_UINT 
DT_INT 
DT_DOUBLE 
DT_STRING 
DT_GROUP 

Definition at line 31 of file mitkConfigurationHolder.h.

Constructor & Destructor Documentation

◆ ConfigurationHolder()

mitk::ConfigurationHolder::ConfigurationHolder ( )

Member Function Documentation

◆ AddToGroup()

void mitk::ConfigurationHolder::AddToGroup ( std::string  id,
const ConfigurationHolder value 
)

◆ AsBool() [1/2]

bool mitk::ConfigurationHolder::AsBool ( )

◆ AsBool() [2/2]

bool mitk::ConfigurationHolder::AsBool ( bool  value)

◆ AsDouble() [1/2]

double mitk::ConfigurationHolder::AsDouble ( )

◆ AsDouble() [2/2]

double mitk::ConfigurationHolder::AsDouble ( double  value)

◆ AsInt() [1/2]

int mitk::ConfigurationHolder::AsInt ( )

◆ AsInt() [2/2]

int mitk::ConfigurationHolder::AsInt ( int  value)

◆ AsString() [1/2]

std::string mitk::ConfigurationHolder::AsString ( )

◆ AsString() [2/2]

std::string mitk::ConfigurationHolder::AsString ( std::string  value)

◆ AsStringVector()

std::vector<std::string> mitk::ConfigurationHolder::AsStringVector ( )

◆ AsUnsignedInt() [1/2]

unsigned int mitk::ConfigurationHolder::AsUnsignedInt ( )

◆ AsUnsignedInt() [2/2]

unsigned int mitk::ConfigurationHolder::AsUnsignedInt ( unsigned int  value)

◆ At()

ConfigurationHolder& mitk::ConfigurationHolder::At ( std::string  id)

◆ ClearGroup()

void mitk::ConfigurationHolder::ClearGroup ( )

◆ SetBool()

void mitk::ConfigurationHolder::SetBool ( bool  value)

◆ SetDouble()

void mitk::ConfigurationHolder::SetDouble ( double  value)

◆ SetInt()

void mitk::ConfigurationHolder::SetInt ( int  value)

◆ SetString()

void mitk::ConfigurationHolder::SetString ( std::string  value)

◆ SetUnsignedInt()

void mitk::ConfigurationHolder::SetUnsignedInt ( unsigned int  value)

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