All environment variable-related utilities.
Functions | |
std::vector< std::string > | searchPaths () |
Retrieve a list of all search paths for external files. | |
std::string | get (const std::string &var, const std::string &def="") |
Get an environment variable. | |
void | set (const std::string &var, const std::string &value) |
Set an environment variable. | |
void | append (const std::string &var, const std::string &value) |
Add a value to an environment variable. | |
void | unset (const std::string &var) |
Clear an environment variable. | |
std::vector< std::string > searchPaths | ( | ) |
void set | ( | const std::string & | var, |
const std::string & | value ) |