The HepCmdArgFloat class is a subclass of the
HepCmdArg class.
See also
HepCmdArg,
HepCmdArgInt,
HepCmdArgBoolean,
HepCmdArgString,
HepCmdArgStringList,
HepCmdLine,
Declaration
#include "CLHEP/String/CmdArg.h"
class HepCmdArgFloat : public HepCmdArg
Public Member Functions
- Constructor
- HepCmdArgFloat(char optchar, const HepString & keyword,
const HepString & value, const HepString & description,
float defValue = 0.0)
- Constructor
- HepCmdArgFloat(const HepString & value,
const HepString & description)
- Constructor
- HepCmdArgFloat(const HepString & value,
const HepString & description, float defValue)
- Destructor
- virtual ~HepCmdArgFloat()
- Conversion operator
- inline operator float()
- Float cast operator. This is how you get the value out!
- =
- inline HepCmdArgFloat & operator= (float)
- Assignment of value.
- setValue
- virtual int setValue(int argc, char **arg)
Example
CLHEP/test/testCmd.cc
1 October 1997
EVC