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

Exception that an array parameter does not have the correct length. More...

#include <insfile_reader.h>

Inheritance diagram for Fauna::bad_array_size:

Public Member Functions

 bad_array_size (const std::string &key, const unsigned int given_size, const std::string &expected_size)
 Constructor. More...
 

Detailed Description

Exception that an array parameter does not have the correct length.

Constructor & Destructor Documentation

◆ bad_array_size()

Fauna::bad_array_size::bad_array_size ( const std::string &  key,
const unsigned int  given_size,
const std::string &  expected_size 
)
inline

Constructor.

Parameters
keyThe fully qualified TOML key.
given_sizeThe number of elements found in the TOML file.
expected_sizeThe required size of the array.

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