ALMaSS Rabbit ODdox  1.1
The rabbit model description following ODdox protocol
Livestock Class Reference

A class for storing livestock parameters and variables for optimising farms. More...

#include <farm.h>

Public Member Functions

 Livestock (TTypesOfAnimals a_animalType, int a_number)
 Constructor. More...
 

Public Attributes

TTypesOfAnimals m_animalType
 Type of livestock. More...
 
int m_number
 Number of animals of a given type at a farm. More...
 
double m_NanimUsable
 Amount of usable animal fertilizer from a given type of livestock. [kg]. More...
 
double m_FUdemand
 Amount of fodder needed for a given type of livestock. [fodder units]. More...
 

Detailed Description

A class for storing livestock parameters and variables for optimising farms.

Definition at line 1617 of file farm.h.

Constructor & Destructor Documentation

◆ Livestock()

Livestock::Livestock ( TTypesOfAnimals  a_animalType,
int  a_number 
)

Constructor.

Definition at line 5094 of file farm.cpp.

5094  {
5095  m_animalType=a_animalType;
5096  m_number=a_number;
5097  m_NanimUsable=0;
5098  m_FUdemand=0;
5099 
5100 }

References m_animalType, m_FUdemand, m_NanimUsable, and m_number.

Member Data Documentation

◆ m_animalType

TTypesOfAnimals Livestock::m_animalType

Type of livestock.

Definition at line 1622 of file farm.h.

Referenced by Livestock().

◆ m_FUdemand

double Livestock::m_FUdemand

Amount of fodder needed for a given type of livestock. [fodder units].

Definition at line 1628 of file farm.h.

Referenced by Livestock().

◆ m_NanimUsable

double Livestock::m_NanimUsable

Amount of usable animal fertilizer from a given type of livestock. [kg].

Definition at line 1626 of file farm.h.

Referenced by Livestock().

◆ m_number

int Livestock::m_number

Number of animals of a given type at a farm.

Definition at line 1624 of file farm.h.

Referenced by Livestock().


The documentation for this class was generated from the following files:
Livestock::m_number
int m_number
Number of animals of a given type at a farm.
Definition: farm.h:1624
Livestock::m_animalType
TTypesOfAnimals m_animalType
Type of livestock.
Definition: farm.h:1622
Livestock::m_NanimUsable
double m_NanimUsable
Amount of usable animal fertilizer from a given type of livestock. [kg].
Definition: farm.h:1626
Livestock::m_FUdemand
double m_FUdemand
Amount of fodder needed for a given type of livestock. [fodder units].
Definition: farm.h:1628