CCAFFEINE
0.8.8
|
00001 #ifndef FloatParameter_h_seen 00002 #define FloatParameter_h_seen 00003 // package parameters; 00004 00005 //requires 00006 //#include "parameters/BaseParameter.h" 00007 00010 class FloatParameter : public virtual BaseParameter { 00011 00012 public: 00013 float low; 00014 float high; 00015 float Default; 00016 char *help; 00017 char *prompt; 00018 float value; 00019 00020 FloatParameter(char *name_, char *help_, char *prompt_, float Default_, float low_, float high_) ; 00021 00022 ~FloatParameter(); 00023 00024 int setValue(char *val); 00025 00026 /*CFREE*/ virtual char *toString() ; 00027 /*CFREE*/ virtual char *toString(char *infix); 00028 00029 00030 char *getName() { return name; } 00031 00032 char *getValueString(); 00033 00034 private: 00035 char vstring[40]; 00036 }; 00037 #endif // FloatParameter_h_seen