#include <Karto.h>
Public Member Functions | |
virtual Parameter< kt_int32s > * | Clone () |
void | DefineEnumValue (kt_int32s value, const std::string &rName) |
virtual const std::string | GetValueAsString () const |
ParameterEnum & | operator= (const ParameterEnum &rOther) |
kt_int32s | operator= (kt_int32s value) |
ParameterEnum (const std::string &rName, kt_int32s value, ParameterManager *pParameterManger=NULL) | |
virtual void | SetValueFromString (const std::string &rStringValue) |
virtual | ~ParameterEnum () |
Private Types | |
typedef std::map< std::string, kt_int32s > | EnumMap |
Private Attributes | |
EnumMap | m_EnumDefines |
typedef std::map<std::string, kt_int32s> karto::ParameterEnum::EnumMap [private] |
karto::ParameterEnum::ParameterEnum | ( | const std::string & | rName, |
kt_int32s | value, | ||
ParameterManager * | pParameterManger = NULL |
||
) | [inline] |
virtual karto::ParameterEnum::~ParameterEnum | ( | ) | [inline, virtual] |
virtual Parameter<kt_int32s>* karto::ParameterEnum::Clone | ( | ) | [inline, virtual] |
void karto::ParameterEnum::DefineEnumValue | ( | kt_int32s | value, |
const std::string & | rName | ||
) | [inline] |
virtual const std::string karto::ParameterEnum::GetValueAsString | ( | ) | const [inline, virtual] |
Get parameter value as string.
Reimplemented from karto::Parameter< kt_int32s >.
ParameterEnum& karto::ParameterEnum::operator= | ( | const ParameterEnum & | rOther | ) | [inline] |
Assignment operator
Reimplemented from karto::Parameter< kt_int32s >.
virtual void karto::ParameterEnum::SetValueFromString | ( | const std::string & | rStringValue | ) | [inline, virtual] |
Set parameter value from string.
rStringValue | value as string |
Reimplemented from karto::Parameter< kt_int32s >.
EnumMap karto::ParameterEnum::m_EnumDefines [private] |