CCAFFEINE
0.8.8
|
#include <DoubleParameter.h>
Public Member Functions | |
DoubleParameter (char *name_, char *help_, char *prompt_, double Default_, double low_, double high_) | |
int | setValue (char *val) |
virtual char * | toString () |
virtual char * | toString (char *infix) |
char * | getName () |
char * | getValueString () |
Public Attributes | |
double | low |
double | high |
double | Default |
char * | help |
char * | prompt |
double | value |
This interface is DEPRECATED. 64 bit float parameter class.
int DoubleParameter::setValue | ( | char * | value | ) | [virtual] |
parse the ascii form of the value. returns 0 if ok, -1 if error.
Implements BaseParameter.
virtual char* DoubleParameter::toString | ( | ) | [virtual] |
Get the bounds, etc as a curiously formatted string
Implements BaseParameter.
virtual char* DoubleParameter::toString | ( | char * | infix | ) | [virtual] |
Return the string form of the parameter using infix as part of the formatting. We own this string.
Implements BaseParameter.
char* DoubleParameter::getName | ( | ) | [inline, virtual] |
Return the simple string (no whitespace) name/key identifying this parameter uniquely within a collection of parameters. We own this string; don't free it.
Implements BaseParameter.
{ return name; }
char* DoubleParameter::getValueString | ( | ) | [virtual] |
Get value printed into a string in the usual way. We own this string; don't free it (or keep it beyond the life of the parameter object). In some obscure cases, this may come back as "UNDEFINED".
Implements BaseParameter.