HepCmdArgString


The HepCmdArgString class is a subclass of the HepCmdArg class.

See also

HepCmdArg, HepCmdArgInt, HepCmdArgFloat, HepCmdArgBoolean, HepCmdArgStringList, HepCmdLine,

Declaration

#include "CLHEP/String/CmdArg.h"

class HepCmdArgString : public HepCmdArg

Public Member Functions

Constructor
HepCmdArgString(char optchar, const HepString & keyword, const HepString & value, const HepString & description, const char * defValue = 0)
Constructor
HepCmdArgString(const HepString & value, const HepString & description)
Constructor
HepCmdArgString(const HepString & value, const HepString & description, const HepString & defValue)
Destructor
virtual ~HepCmdArgString()
Conversion operator
inline operator const char * ()
const char* cast operator. This is how you get the value out!
=
inline HepCmdArgString & operator= (const HepString &) Assignment of value.
setValue
virtual int setValue(int argc, char **arg)

Example

CLHEP/test/testCmd.cc


1 October 1997
EVC