Modular Megafauna Model 1.1.5
A physiological, dynamic herbivore simulator in C++.
Loading...
Searching...
No Matches
Fauna::World::InsfileContent Struct Reference

All simulation instructions from the TOML instruction file. More...

Public Attributes

const std::shared_ptr< const HftListhftlist
 Global, immutable list of herbivore functional types. More...
 
const std::shared_ptr< const Parametersparams
 Global, immutable set of simulation parameters. More...
 

Detailed Description

All simulation instructions from the TOML instruction file.

There should be only one immutable list of HFTs and one set of parameters in the whole simulation. We implement it as a struct so both hftlist and params can be set at once in the constructor member initialization.

Use get_params() and get_hfts() to access content.

Member Data Documentation

◆ hftlist

const std::shared_ptr<const HftList> Fauna::World::InsfileContent::hftlist

Global, immutable list of herbivore functional types.

◆ params

const std::shared_ptr<const Parameters> Fauna::World::InsfileContent::params

Global, immutable set of simulation parameters.


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