#include <Karto.h>
Public Member Functions | |
virtual Parameter * | Clone () |
const T & | GetValue () const |
virtual const std::string | GetValueAsString () const |
template<> | |
const std::string | GetValueAsString () const |
template<> | |
const std::string | GetValueAsString () const |
Parameter & | operator= (const Parameter &rOther) |
T | operator= (T value) |
Parameter (const std::string &rName, T value, ParameterManager *pParameterManger=NULL) | |
Parameter (const std::string &rName, const std::string &rDescription, T value, ParameterManager *pParameterManger=NULL) | |
void | SetValue (const T &rValue) |
virtual void | SetValueFromString (const std::string &rStringValue) |
template<> | |
void | SetValueFromString (const std::string &rStringValue) |
template<> | |
void | SetValueFromString (const std::string &rStringValue) |
virtual | ~Parameter () |
Public Member Functions inherited from karto::AbstractParameter | |
AbstractParameter (const std::string &rName, ParameterManager *pParameterManger=NULL) | |
AbstractParameter (const std::string &rName, const std::string &rDescription, ParameterManager *pParameterManger=NULL) | |
const std::string & | GetDescription () const |
const std::string & | GetName () const |
virtual | ~AbstractParameter () |
Protected Attributes | |
T | m_Value |
Parameter class
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Clone this parameter
Implements karto::AbstractParameter.
Reimplemented in karto::ParameterEnum.
|
inline |
|
inlinevirtual |
Gets value of parameter as string
Implements karto::AbstractParameter.
Reimplemented in karto::ParameterEnum.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Sets value of parameter from string
rStringValue |
Implements karto::AbstractParameter.
Reimplemented in karto::ParameterEnum.
|
inlinevirtual |
Set parameter value from string.
rStringValue | value as string |
Implements karto::AbstractParameter.
|
inlinevirtual |
Set parameter value from string.
rStringValue | value as string |
Implements karto::AbstractParameter.
|
protected |