Modular Megafauna Model 1.1.5
A physiological, dynamic herbivore simulator in C++.
Loading...
Searching...
No Matches
forage_types.h File Reference

Definition of forage types (grass, browse, etc.) More...

#include <cassert>
#include <set>
#include <string>

Go to the source code of this file.

Namespaces

namespace  Fauna
 

Enumerations

enum class  Fauna::ForageType { Fauna::Grass , Fauna::Inedible }
 Different types of forage. More...
 

Functions

const std::string & Fauna::get_forage_type_name (const ForageType)
 Get a short, lowercase string identifier for a forage type. More...
 

Variables

const int Fauna::FORAGE_TYPE_COUNT = (int)ForageType::Inedible + 1
 Number of elements in ForageType. More...
 
const std::set< ForageTypeFauna::FORAGE_TYPES = get_all_forage_types()
 

Detailed Description

Definition of forage types (grass, browse, etc.)

Date
2019