Provides access to the system's environment variables. More...
#include <environment.h>


Static Public Member Functions | |
| static astring | get (const astring &variable_name) |
| looks up the "variable_name" in the current environment variables. | |
| static bool | set (const astring &variable_name, const astring &value) |
| < synonym using simpler char pointer. | |
| static basis::un_int | system_uptime () |
| < synonym using simpler char pointers. | |
Provides access to the system's environment variables.
Definition at line 26 of file environment.h.
looks up the "variable_name" in the current environment variables.
this returns the value for "variable_name" as it was found in the operating system's environment variables that are defined at this point in time for the user and process. the returned string will be empty if no variable under that name could be found.
Definition at line 19 of file environment.cpp.
< synonym using simpler char pointer.
adds or creates "variable_name" in the environment. changes the current set of environment variables by adding or modifying the "variable_name". its new value will be "value".
Definition at line 34 of file environment.cpp.
| basis::un_int basis::environment::system_uptime | ( | ) | [static] |
< synonym using simpler char pointers.
gives the operating system's uptime in a small form that rolls over.
Definition at line 46 of file environment.cpp.
References basis::astring::s().
Referenced by mathematics::chaos::retrain().
1.6.3