casa
5.7.0-16
|
This class allows for getting enviroment variables. More...
#include <EnvVar.h>
Static Public Member Functions | |
static Bool | isDefined (const String &name) |
Is environment variable with given name defined? More... | |
static String | get (const String &name) |
Get the value of environment variable with given name. More... | |
static void | set (const String &name, const String &value) |
Define environment variable. More... | |
Private Member Functions | |
EnvironmentVariable () | |
This class is not meant to be constructed. More... | |
This class allows for getting enviroment variables.
Public interface
Environment variables are familiar to every Unix, MSDOS and VMS computer user. This class makes it convenient to get and enquire about environment variables from within a C++ program.
Check if an environment variable is defined. If so, get its value.
|
private |
This class is not meant to be constructed.
Get the value of environment variable with given name.
If not defined, return an empty String.
Is environment variable with given name defined?
Define environment variable.
If it already exists, its value will be overwritten.