ALMaSS Vole ODDox
1.1
The vole model description following ODdox protocol
|
#include <OCarrots.h>
Public Member Functions | |
bool | Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev) |
OCarrots () | |
![]() | |
virtual | ~Crop () |
Crop () | |
int | GetFirstDate (void) |
void | ChooseNextCrop (int a_no_dates) |
Chooses the next crop to grow in a field. More... | |
int | GetCropClassification () |
void | SetCropClassification (int a_classification) |
Additional Inherited Members | |
![]() | |
void | SimpleEvent (long a_date, int a_todo, bool a_lock) |
Adds an event to this crop management. More... | |
void | SimpleEvent_ (long a_date, int a_todo, bool a_lock, Farm *a_farm, LE *a_field) |
Adds an event to this crop management without relying on member variables. More... | |
![]() | |
Farm * | m_farm |
LE * | m_field |
FarmEvent * | m_ev |
int | m_first_date |
int | m_count |
int | m_last_date |
int | m_ddegstoharvest |
int | m_CropClassification |
Definition at line 52 of file OCarrots.h.
|
inline |
Definition at line 56 of file OCarrots.h.
References Crop::m_first_date.
Reimplemented from Crop.
Definition at line 32 of file OCarrots.cpp.
References Farm::DoIt(), Farm::FA_Slurry(), Farm::FP_Slurry(), Farm::Harvest(), Farm::IsStockFarmer(), Crop::m_ev, Crop::m_farm, Crop::m_field, Crop::m_first_date, FarmEvent::m_first_year, Crop::m_last_date, FarmEvent::m_lock, FarmEvent::m_startday, FarmEvent::m_todo, oca_fa_slurry, oca_fp_slurry, oca_harvest, oca_rowcul_four, oca_rowcul_one, oca_rowcul_three, oca_rowcul_two, oca_spring_harrow_one, oca_spring_harrow_two, oca_spring_plough, oca_spring_sow, oca_start, OCA_WATER_DATE, oca_water_one, oca_water_three, oca_water_two, Farm::RowCultivation(), Crop::SimpleEvent(), Farm::SpringHarrow(), Farm::SpringPlough(), Farm::SpringSow(), and Farm::Water().