#include <Utilities/General/interface/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 |
Definition at line 71 of file envUtil.h.
envSwitch::envSwitch | ( | const char * | envName | ) |
const bool& envSwitch::getEnv | ( | ) | const [inline] |
const std::string& envSwitch::name | ( | void | ) | const [inline] |
envSwitch::operator const bool & | ( | ) | const [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=().