|
| Parameter (const string &name, const string &description, double value, int type, int key) |
|
| Parameter (const string &name, const string &description, bool *value, int key) |
|
| Parameter (const string &name, const string &description, int *value, int key) |
|
| Parameter (const string &name, const string &description, float *value, int key) |
|
| Parameter (const string &name, const string &description, double *value, int key) |
|
| Parameter (const Parameter ¶meter) |
|
const Parameter & | operator= (const Parameter ¶meter) |
|
int | getKey () const |
|
int | getType () const |
|
bool | getBoolValue () const |
|
int | getIntValue () const |
|
float | getFloatValue () const |
|
double | getDoubleValue () const |
|
void | setKey (int key) |
|
void | setValue (bool value) |
|
void | setValue (int value) |
|
void | setValue (float value) |
|
void | setValue (double value) |
|
void | set (const string &name, const string &description, double value, int type=Double, int key=0) |
|
void | set (const string &name, const string &description, bool *value, int key=0) |
|
void | set (const string &name, const string &description, int *value, int key=0) |
|
void | set (const string &name, const string &description, float *value, int key=0) |
|
void | set (const string &name, const string &description, double *value, int key=0) |
|
void | setName (const string &newName) |
| Set the name of the object.
|
|
const string & | getName () const |
| Get the name of the object.
|
|
bool | isName (const string &aName) const |
| Determine whether name equals given name.
|
|
void | setDescription (const string &description) |
| Set the Describe of the object.
|
|
const string | getDescription () const |
| Get the Describe of the object.
|
|
bool | isDescribed () const |
| Determine whether Describe is set, i.e object has a Describe.
|
|
bool | isDescription (const string &description) const |
| Determine whether Describe equals given Describe.
|
|
bool | sameDescriptionAs (const Described &described) const |
| Determine whether Describe equals that of given object.
|
|
Class defining a mutable and generic parameter.
A parameter has a value, a name, and can also be given a short description. The parameter may be of type Boolean, Integer, or Double. An integer key may be optionally specified to provide a unique identifier. This class is a base class for ConstrainedParameter and EditableParameter classes.
- See Also
- ConstrainedParameter
-
EditableParameter
Definition at line 23 of file Parameter.h.