#include <gracetmpl.h>
Inheritance diagram for GraceTMPL::EnvironmentUser::

Public Methods | |
| EnvironmentUser () | |
| Constructor. | |
| ~EnvironmentUser () | |
| Destructor. | |
| Environment * | env () |
| Returns the pointer to the Environment. | |
| void | setenv (Environment *env) |
| set a new Environment for this class. More... | |
| 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=0) |
| 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. |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001