SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Static Public Member Functions | List of all members
smtk::common::Environment Class Reference

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.
 

Detailed Description

Cross-platform access to process environment variables.


The documentation for this class was generated from the following files: