SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
Cross-platform access to process environment variables. More...
#include <Environment.h>
Static Public Member Functions | |
static bool | hasVariable (const std::string &varName) |
Return true if the environment variable exists, false otherwise. | |
static std::string | getVariable (const std::string &varName) |
Return the value of the environment variable (if it exists; an empty string otherwise). | |
static void | setVariable (const std::string &varName, const std::string &value) |
Set the value of the environment variable varName to value. | |
Cross-platform access to process environment variables.