#include <Karto.h>
Public Member Functions | |
virtual Parameter * | Clone () |
const T & | GetValue () const |
virtual const std::string | GetValueAsString () const |
const std::string | GetValueAsString () const |
const std::string | GetValueAsString () const |
Parameter & | operator= (const Parameter &rOther) |
T | operator= (T value) |
Parameter () | |
Parameter (const std::string &rName, const std::string &rDescription, T value, ParameterManager *pParameterManger=NULL) | |
Parameter (const std::string &rName, T value, ParameterManager *pParameterManger=NULL) | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
void | SetValue (const T &rValue) |
virtual void | SetValueFromString (const std::string &rStringValue) |
void | SetValueFromString (const std::string &rStringValue) |
void | SetValueFromString (const std::string &rStringValue) |
virtual | ~Parameter () |
Public Member Functions inherited from karto::AbstractParameter | |
AbstractParameter () | |
AbstractParameter (const std::string &rName, const std::string &rDescription, ParameterManager *pParameterManger=NULL) | |
AbstractParameter (const std::string &rName, ParameterManager *pParameterManger=NULL) | |
const std::string & | GetDescription () const |
const std::string & | GetName () const |
virtual | ~AbstractParameter () |
Protected Attributes | |
T | m_Value |
Friends | |
class | boost::serialization::access |
Parameter class
|
inline |
|
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.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
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.
|
friend |
|
protected |