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