Hold a single precision number.
More...
#include <option.h>
Inheritance diagram for util::FloatOption:
List of all members.Public Member Functions
-
FloatOption (const char *name, const char *defaultVal, const char *usage, const char cmd, float *const storage=NULL)
-
FloatOption (const string &name, const string &defaultVal, const string &usage, const char cmd, float *const storage=NULL)
-
virtual string getTypeName () const
-
void setValue (const string &s) throw (UException)
-
virtual float getFloat () const
-
virtual string toString () const
-
virtual int getInt () const
-
virtual string getString () const
-
virtual bool getBool () const
-
virtual bool needsValue () const
-
const string & getName () const
-
char getCmdLineChar () const
-
const string & getDefault () const
-
const string & getUsage () const
Protected Attributes
-
float value_
-
float * storage_
-
string name_
-
string default_
-
string usage_
-
char cmdlinechar_
Related Functions
(Note that these are not member functions.)
Detailed Description
Hold a single precision number.
The documentation for this class was generated from the following file:
Generated on Fri Dec 24 13:32:05 2004 for LTL by
1.3.4