ALMaSS Rabbit ODdox  1.00
The rabbit model description following ODdox protocol
Public Member Functions | Public Attributes | List of all members
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 1474 of file farm.h.

Constructor & Destructor Documentation

Livestock::Livestock ( TTypesOfAnimals  a_animalType,
int  a_number 
)

Constructor.

Definition at line 4617 of file farm.cpp.

4617  {
4618  m_animalType=a_animalType;
4619  m_number=a_number;
4620  m_NanimUsable=0;
4621  m_FUdemand=0;
4622 
4623 }
double m_FUdemand
Amount of fodder needed for a given type of livestock. [fodder units].
Definition: farm.h:1485
TTypesOfAnimals m_animalType
Type of livestock.
Definition: farm.h:1479
int m_number
Number of animals of a given type at a farm.
Definition: farm.h:1481
double m_NanimUsable
Amount of usable animal fertilizer from a given type of livestock. [kg].
Definition: farm.h:1483

Member Data Documentation

TTypesOfAnimals Livestock::m_animalType

Type of livestock.

Definition at line 1479 of file farm.h.

double Livestock::m_FUdemand

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

Definition at line 1485 of file farm.h.

double Livestock::m_NanimUsable

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

Definition at line 1483 of file farm.h.

int Livestock::m_number

Number of animals of a given type at a farm.

Definition at line 1481 of file farm.h.


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