#include <gracetmpl.h>
Inheritance diagram for GraceTMPL::EnvironmentUser:
Public Member Functions | |
EnvironmentUser () | |
Constructor. | |
~EnvironmentUser () | |
Destructor. | |
Environment * | env () |
Returns the pointer to the Environment. | |
void | setenv (Environment *env) |
set a new Environment for this class | |
void | setenv (const std::string &name, const std::string &value) |
Set a name/value pair - existing entries will be replaced. | |
void | setenv (const std::string &name, double value) |
Set a name/value pair - existing entries will be replaced. | |
std::string | expand (const std::string &str, int nests=20) |
A wrapper function for Environment::expand(). | |
Protected Attributes | |
Environment * | env_ |
Pointer to the Environment. |
This class provides transparent access to the Environment hierarchy.
|
set a new Environment for this class Used internally to allow setting an Environment for a new Environment user. |