DUNE: Uniform Navigational Environment
2.4.2
|
Static Public Member Functions | |
static bool | get (std::string var, std::string &value) |
template<typename T > | |
static bool | get (std::string var, T &value) |
static void | set (std::string var, std::string value) |
template<typename T > | |
static void | set (std::string var, T value) |
static void | unset (std::string var) |
|
static |
Get an environment variable.
Note: call may not be thread-safe on some OSes.
[in] | var | the name of the environment variable. |
[out] | value | set to the value of environment variable, if the call is successful. |
Referenced by DUNE::Tasks::Context::Context().
|
inlinestatic |
Get an environment variable, template version.
[in] | var | the name of the environment variable. |
[out] | value | set to the value of environment variable, if the call is successful. |
|
static |
Set an environment variable.
Note: call may not be thread-safe on some OSes.
[in] | var | the name of the environment variable. |
[in] | value | new value for the environment variable. |
Referenced by set().
|
inlinestatic |
Set an environment variable, template version.
[in] | var | the name of the environment variable. |
[in] | value | new value for the environment variable. |
References set().
|
static |
Unset an environment variable.
Note: call may not be thread-safe on some OSes.
[in] | var | the name of the environment variable. |