Utopia  2
Framework for studying models of complex & adaptive systems.
Public Member Functions | List of all members
Utopia::Models::Environment::BaseEnvParam Struct Referenceabstract

Base type for environment parameter. More...

#include <Environment.hh>

Inheritance diagram for Utopia::Models::Environment::BaseEnvParam:
Inheritance graph
[legend]

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...
 

Detailed Description

Base type for environment parameter.

This class is meant to be derived from and used as a basis for the desired kind of environment.

Constructor & Destructor Documentation

◆ ~BaseEnvParam()

virtual Utopia::Models::Environment::BaseEnvParam::~BaseEnvParam ( )
virtualdefault

Member Function Documentation

◆ get_env()

virtual double Utopia::Models::Environment::BaseEnvParam::get_env ( const std::string &  ) const
pure virtual

Get an environment variable.

Implemented in EnvParam, EnvParam, and Utopia::Models::Environment::DummyEnvParam.

◆ set_env()

virtual void Utopia::Models::Environment::BaseEnvParam::set_env ( const std::string &  ,
const double &   
)
pure virtual

Set an environment variable.

Implemented in EnvParam, EnvParam, and Utopia::Models::Environment::DummyEnvParam.


The documentation for this struct was generated from the following file: