#include <envUtil.h>
Public Member Functions | |
envSwitch (const char *envName) | |
constructor from env var name | |
const bool & | getEnv () const |
return the value | |
const std::string & | name () const |
operator const bool & () const | |
return the value | |
envSwitch & | operator= (bool b) |
assignement operator (change the value...) | |
Private Attributes | |
std::string | envName_ |
bool | it |
envSwitch::envSwitch | ( | const char * | envName | ) |
constructor from env var name
Definition at line 41 of file envUtil.cc.
const bool& envSwitch::getEnv | ( | ) | const [inline] |
const std::string& envSwitch::name | ( | void | ) | const [inline] |
envSwitch::operator const bool & | ( | ) | const [inline] |
envSwitch& envSwitch::operator= | ( | bool | b | ) | [inline] |
std::string envSwitch::envName_ [private] |
bool envSwitch::it [private] |
Definition at line 92 of file envUtil.h.
Referenced by getEnv(), operator const bool &(), and operator=().