#include <CBoolConfigParam.h>
Inheritance diagram for CBoolConfigParam:
Public Member Functions | |
CBoolConfigParam (const string &rName, bool fDefault=false) | |
Constructor. | |
~CBoolConfigParam () | |
Destructor. | |
CBoolConfigParam (const CBoolConfigParam &rhs) | |
copy constructor | |
CBoolConfigParam & | operator= (const CBoolConfigParam &rhs) |
Assignment. | |
int | operator== (const CBoolConfigParam &rhs) const |
Equality test. | |
int | operator!= (const CBoolConfigParam &rhs) const |
bool | getValue () const |
bool | getOptionValue () |
get current flag. | |
virtual int | SetValue (CTCLInterpreter &rInterp, CTCLResult &rResult, const char *pFlag) |
Parse flag. | |
virtual string | GetParameterFormat () |
CBoolConfigParam (const string &rName, bool fDefault=false) | |
Constructor. | |
~CBoolConfigParam () | |
Destructor. | |
CBoolConfigParam (const CBoolConfigParam &rhs) | |
copy constructor | |
CBoolConfigParam & | operator= (const CBoolConfigParam &rhs) |
Assignment. | |
int | operator== (const CBoolConfigParam &rhs) const |
Equality test. | |
int | operator!= (const CBoolConfigParam &rhs) const |
bool | getValue () const |
bool | getOptionValue () |
get current flag. | |
virtual int | SetValue (CTCLInterpreter &rInterp, CTCLResult &rResult, const char *pFlag) |
Parse flag. | |
virtual string | GetParameterFormat () |
Protected Member Functions | |
void | setBool (bool fValue) |
void | setBool (bool fValue) |
Static Protected Member Functions | |
Bool_t | ParseFlag (const char *value) |
Bool_t | ParseFlag (const char *value) |
Private Attributes | |
bool | m_fValue |
Current boolean value. :. |
An example of a parameter of this sort might be:
-eclreadout off
Definition at line 322 of file CBoolConfigParam.h.
|
Constructor. Constructor.
Definition at line 295 of file CBoolConfigParam.cpp. References CConfigurationParameter::setValue(). |
|
Destructor. Destructor Definition at line 306 of file CBoolConfigParam.cpp. |
|
copy constructor Copy constructor. Used to create temproraries such as for passing by value to functions.
Definition at line 315 of file CBoolConfigParam.cpp. |
|
Constructor.
|
|
Destructor.
|
|
copy constructor
|
|
get current flag.
|
|
get current flag. Returns the value of the parameter. Definition at line 357 of file CBoolConfigParam.cpp. References m_fValue. Referenced by CReadOrder::Initialize(), CCAENV830Module::Initialize(), CCAENV775::Initialize(), and CCAENModule::Initialize(). |
|
Implements CConfigurationParameter. |
|
Implements CConfigurationParameter. Definition at line 403 of file CBoolConfigParam.cpp. |
|
Reimplemented from CConfigurationParameter. Definition at line 343 of file include/CBoolConfigParam.h. References m_fValue. |
|
Reimplemented from CConfigurationParameter. Definition at line 343 of file CBoolConfigParam.h. References m_fValue. |
|
Definition at line 334 of file include/CBoolConfigParam.h. References operator==(). |
|
Definition at line 334 of file CBoolConfigParam.h. References operator==(). |
|
Assignment.
|
|
Assignment. Assignment
Definition at line 328 of file CBoolConfigParam.cpp. References m_fValue, and CConfigurationParameter::operator=(). |
|
Equality test.
|
|
Equality test. Compare for functional equality.
Definition at line 344 of file CBoolConfigParam.cpp. References m_fValue, and CConfigurationParameter::operator==(). Referenced by operator!=(). |
|
|
|
Utility function to parse a boolean flag:
Definition at line 423 of file CBoolConfigParam.cpp. Referenced by SetValue(). |
|
Definition at line 348 of file include/CBoolConfigParam.h. References m_fValue. |
|
Definition at line 348 of file CBoolConfigParam.h. References m_fValue. |
|
Parse flag.
Implements CConfigurationParameter. |
|
Parse flag. Parses the parameter value. This function can fail if:
Implements CConfigurationParameter. Definition at line 374 of file CBoolConfigParam.cpp. References CConfigurationParameter::getSwitch(), m_fValue, and ParseFlag(). |
|
Current boolean value. :.
Definition at line 325 of file include/CBoolConfigParam.h. Referenced by getOptionValue(), getValue(), operator=(), operator==(), setBool(), and SetValue(). |