#include <Parameter.h>
Public Member Functions | |
Parameter (ParameterDescription *pDescription, const T &rValue) | |
Parameter (ParameterSet *pParameterSet, const karto::String &rName, const karto::String &rDisplayName, const karto::String &rDescription, const T &rValue) | |
Public Member Functions inherited from karto::AbstractParameter | |
AbstractParameter (ParameterDescription *pDescription, ParameterSet *pParameterSet=NULL) | |
const karto::String & | GetDescription () const |
const karto::String & | GetDisplayName () const |
kt_int32s | GetFlags () const |
const karto::String & | GetName () const |
const ParameterDescription * | GetParameterDescription () const |
ParameterDescription * | GetParameterDescription () |
Public Member Functions inherited from karto::Referenced | |
Referenced () | |
Protected Member Functions | |
kt_bool | CompareValue (const T &rValue) |
virtual T & | GetDefaultValue () |
virtual const T & | GetValue () const |
virtual const karto::String | GetValueAsString () const |
virtual void | InitializeParameters () |
virtual void | SetDefaultValue (const T &rValue) |
virtual void | SetToDefaultValue () |
virtual void | SetValue (const T &rValue) |
virtual void | SetValueFromString (const karto::String &rStringValue) |
Protected Member Functions inherited from karto::Referenced | |
kt_int32s | GetReferenceCount () |
kt_int32s | Reference () const |
kt_int32s | Unreference () const |
kt_int32s | UnreferenceNoDelete () const |
Protected Attributes | |
T | m_Value |
Protected Attributes inherited from karto::AbstractParameter | |
BasicEvent< EventArguments > | Changed |
Private Member Functions | |
KARTO_RTTI () | |
const Parameter & | operator= (const Parameter &) |
Parameter (const Parameter &) | |
Private Attributes | |
T | m_DefaultValue |
Definition at line 436 of file Parameter.h.
|
inline |
Parameter with the given description and given value
pDescription | description of the parameter |
rValue | parameter value |
Definition at line 446 of file Parameter.h.
|
inline |
Parameter for the set of parameters with the given name, display name, description and value
pParameterSet | set of parameters |
rName | name of the parameter |
rDisplayName | display name of the parameter |
rDescription | description of the parameter |
rValue | parameter value |
Definition at line 461 of file Parameter.h.
|
private |
|
inlineprotected |
Compares if the given value is equal to current value
rValue | value to compare against |
Definition at line 566 of file Parameter.h.
|
inlineprotectedvirtual |
Gets the default value of parameter
Definition at line 508 of file Parameter.h.
|
inlineprotectedvirtual |
public: /** Gets the value of parameter
Definition at line 483 of file Parameter.h.
|
inlineprotectedvirtual |
Gets value of parameter as string
Implements karto::AbstractParameter.
Reimplemented in karto::ParameterEnum.
Definition at line 526 of file Parameter.h.
|
inlineprotectedvirtual |
Initialize parameters
Reimplemented from karto::AbstractParameter.
Definition at line 556 of file Parameter.h.
|
private |
|
private |
|
inlineprotectedvirtual |
Sets the default value of parameter
rValue | value to set as default |
Definition at line 517 of file Parameter.h.
|
inlineprotectedvirtual |
Set parameter value to default value
Implements karto::AbstractParameter.
Definition at line 547 of file Parameter.h.
|
inlineprotectedvirtual |
Sets the value of parameter
rValue | value to set parameter to |
Definition at line 492 of file Parameter.h.
|
inlineprotectedvirtual |
Sets the value of parameter from string
rStringValue | string |
Implements karto::AbstractParameter.
Reimplemented in karto::ParameterEnum.
Definition at line 535 of file Parameter.h.
|
private |
Parameter default value
Definition at line 586 of file Parameter.h.
|
protected |
Parameter value
Definition at line 580 of file Parameter.h.