1 #include "EditableParameter.h"
4 EditableParameter::EditableParameter()
9 EditableParameter::EditableParameter(
const string & name,
10 const string & description,
22 EditableParameter::EditableParameter(
const string & name,
23 const string & description,
33 EditableParameter::EditableParameter(
const string & name,
34 const string & description,
46 EditableParameter::EditableParameter(
const string & name,
47 const string & description,
58 EditableParameter::EditableParameter(
const string & name,
59 const string & description,
73 _increment(parameter._increment)
76 EditableParameter::~EditableParameter()
83 switch (par.getType())
85 case 0: os <<
"(BOOL)=" << par.getBoolValue();
break;
86 case 1: os <<
"(INT) =" << par.getIntValue();
break;
87 case 2: os <<
"(FLT) =" << par.getFloatValue();
break;
88 case 3: os <<
"(DBL) =" << par.getDoubleValue();
break;
90 os <<
"\tMIN :"<<par.getMinimum()
91 <<
"\tMAX :"<<par.getMaximum()
92 <<
"\tINC :"<<par.getIncrement()
93 <<
"\tKey :"<<par.getKey()
const string & getName() const
Get the name of the object.