Functions | |
std::string | getEnvironment (const char *key, bool *found=nullptr) |
Read a variable from the environment. More... | |
void | setEnvironment (const std::string &key, const std::string &val) |
Set or change an environment variable. More... | |
void | unsetEnvironment (const std::string &key) |
Remove an environment variable. More... | |
|
inline |
Read a variable from the environment.
key | the variable to read |
found | an optional variable to set to true iff variable is found |
Definition at line 31 of file environment.h.
|
inline |
Set or change an environment variable.
key | the variable to set or change |
val | the target value |
Definition at line 51 of file environment.h.
|
inline |
Remove an environment variable.
key | the variable to remove |
Definition at line 67 of file environment.h.