Class population_dynamics_parser

Inheritance Relationships

Base Types

  • public rer::client< population_dynamics_parser >

  • public rconfig::xml::xml_config_parser

Class Documentation

class population_dynamics_parser : public rer::client<population_dynamics_parser>, public rconfig::xml::xml_config_parser

Parses XML configuration for population_dynamics into population_dynamics_config. Assumes it is handed an XML parent in which the child tag kXMLRoot is found.

Parameter tags under the XML root are expected to exactly match the names of the fields in the population_dynamics_config struct.

Public Types

using config_type = population_dynamics_config

Public Functions

inline population_dynamics_parser(void)
void parse(const ticpp::Element &node) override
bool validate(void) const override
inline std::string xml_root(void) const override

Public Static Attributes

static const std::string kXMLRoot = "population_dynamics"

The XML root tag that all population_dynamics configuration should lie under in the XML tree.