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