|
ALMaSS Rodenticide ODdox
1.1
The rodenticide model description following ODdox protocol
|
Class used for describing the rodenticide bait location. More...
#include <Rodenticide.h>
Public Member Functions | |
| BaitLocation (int a_x, int a_y, TTypesBaitLocation a_type) | |
| BaitLocation constructor. More... | |
| virtual | ~BaitLocation (void) |
| BaitLocation destructor. More... | |
| int | GetX (void) |
| Get x-coordinate. More... | |
| int | GetY (void) |
| Get y-coordinate. More... | |
| int | GetMass (void) |
| Get bait mass. More... | |
| int | GetstartDay (void) |
| Get start day. More... | |
| TTypesBaitLocation | GetBLtype (void) |
| Get bait location type. More... | |
| bool | GetUseFlag () |
| Get use flag. More... | |
| void | SetX (int a_x) |
| Set x-coordinate. More... | |
| void | SetY (int a_y) |
| Set y-coordinate. More... | |
| void | SetstartDay (int a_startDay) |
| Set start day. More... | |
| void | SetMass (int a_mass) |
| Set bait mass. More... | |
| void | ReduceMass (int a_mass) |
| Set bait mass. More... | |
| void | SetBLtype (TTypesBaitLocation a_BLt) |
| Set bait location type. More... | |
| void | Reset () |
| Reset all flags and mass. More... | |
| void | SetUseFlag (bool a_flag) |
| Set use flag. More... | |
Protected Attributes | |
| int | m_x |
| x-coordinate More... | |
| int | m_y |
| y-coordinate More... | |
| int | m_mass |
| bait mass More... | |
| TTypesBaitLocation | m_BLtype |
| bait replenishment frequency More... | |
| bool | m_useThisYear |
| flag for bait location use this year More... | |
| int | m_startDay |
| date for placement of first bait More... | |
Class used for describing the rodenticide bait location.
| BaitLocation::BaitLocation | ( | int | a_x, |
| int | a_y, | ||
| TTypesBaitLocation | a_type | ||
| ) |
BaitLocation constructor.
|
virtual |
BaitLocation destructor.
|
inline |
Get bait location type.
|
inline |
Get start day.
|
inline |
Get use flag.
|
inline |
Reset all flags and mass.
|
inline |
|
inline |
Set start day.
|
inline |
Set use flag.
|
inline |
|
inline |
|
protected |
bait replenishment frequency
|
protected |
bait mass
|
protected |
date for placement of first bait
|
protected |
flag for bait location use this year
|
protected |
x-coordinate
This class has no functionality apart from get/set and arithmetic manipulation of class members.
|
protected |
y-coordinate