DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Wrapper for environnement variable manipulation. More...
#include <Environment.hpp>
Static Public Member Functions | |
static std::string | get (const std::string &key) |
get a environnement variable | |
static void | set (const std::string &key, const std::string &value) |
sets an environnement variable | |
static void | set (const std::map< std::string, std::string > &values) |
sets a collection of variables | |
Wrapper for environnement variable manipulation.
This class contains utility methods to handle environnement variables
Definition at line 24 of file Environment.hpp.
|
static |
get a environnement variable
Gets an environnement variable
key | the name of the variable |
NO_VALUE
if the variable is unknown. Definition at line 49 of file Environment.cpp.
|
static |
sets a collection of variables
Sets a collection of environnement variables.
values | The map of string string pairs containing the name / values pairs |
PosixIssue | unable to set environnement variable |
Definition at line 38 of file Environment.cpp.
|
static |
sets an environnement variable
Sets an environnement variable
key | the name of the variable |
value | the value of the variable |
PosixIssue | unable to set environnement variable |
Definition at line 23 of file Environment.cpp.