MaMiCo 1.2
|
#include <ThermostatConfiguration.h>
Public Types | |
enum | ThermostatRegion { onlyOutestLayer , outerLayers , all , nowhere , none } |
Public Member Functions | |
void | parseSubtag (tinyxml2::XMLElement *node) |
std::string | getTag () const |
bool | isValid () const |
ThermostatRegion | getThermostatRegionType () const |
unsigned int | getCells2Use () const |
![]() | |
virtual | ~Configuration () |
Protected Member Functions | |
ThermostatConfiguration (ThermostatRegion type) | |
Private Attributes | |
ThermostatRegion | _type |
int | _cells {0} |
bool | _isValid |
reads the configuartion for the domain of the thermostat.
|
inlinevirtual |
Return name of xml tag that is associated to the configuration.
Implements tarch::configuration::Configuration.
|
inlinevirtual |
Is config valid?
This operation usually fails, if
If a tag ain't optional and parseSubtag() was not called (first case)
Implements tarch::configuration::Configuration.
|
inlinevirtual |
Parses a XML-element.
node | a pointer to the xml-element from tinyxml2 class |
Implements tarch::configuration::Configuration.