CepGen 1.2.5
Central exclusive processes event generator
|
All environment variable-related utilities.
Functions | |
std::string | get (const std::string &var, const std::string &def="") |
Get an environment variable. | |
std::vector< std::string > | searchPaths () |
Retrieve a list of all search paths for external files. | |
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. | |
Variables | |
static constexpr char | PATH_DELIM = ':' |
void append | ( | const std::string & | var, |
const std::string & | value | ||
) |
Definition at line 57 of file Environment.cpp.
std::string get | ( | const std::string & | var, |
const std::string & | def | ||
) |
Definition at line 28 of file Environment.cpp.
std::vector< std::string > searchPaths | ( | ) |
Definition at line 34 of file Environment.cpp.
void set | ( | const std::string & | var, |
const std::string & | value | ||
) |
Definition at line 49 of file Environment.cpp.
void unset | ( | const std::string & | var | ) |
Definition at line 64 of file Environment.cpp.
|
staticconstexpr |
Definition at line 54 of file Environment.cpp.