Utopia
2
Framework for studying models of complex & adaptive systems.
|
Base type for environment parameter. More...
#include <Environment.hh>
Public Member Functions | |
virtual | ~BaseEnvParam ()=default |
virtual double | get_env (const std::string &) const =0 |
Get an environment variable. More... | |
virtual void | set_env (const std::string &, const double &)=0 |
Set an environment variable. More... | |
Base type for environment parameter.
This class is meant to be derived from and used as a basis for the desired kind of environment.
|
virtualdefault |
|
pure virtual |
Get an environment variable.
Implemented in EnvParam, EnvParam, and Utopia::Models::Environment::DummyEnvParam.
|
pure virtual |
Set an environment variable.
Implemented in EnvParam, EnvParam, and Utopia::Models::Environment::DummyEnvParam.