ALMaSS Partridge ODdox
1.1
The partridge model description following ODdox protocol
|
Double configurator entry class. More...
#include <configurator.h>
Public Member Functions | |
CfgFloat (const char *a_key, CfgSecureLevel a_level, double a_defval) | |
CfgFloat (const char *a_key, CfgSecureLevel a_level, double a_defval, double a_min, double a_max) | |
Constructor with max min checking enabled. More... | |
double | value (void) |
virtual void | set (double a_newval) |
virtual CfgType | gettype (void) |
Public Member Functions inherited from CfgBase | |
CfgBase (const char *a_key, CfgSecureLevel a_level) | |
virtual | ~CfgBase (void) |
const string | getkey (void) |
CfgSecureLevel | getlevel (void) |
Protected Attributes | |
double | m_float |
double | m_min |
double | m_max |
Protected Attributes inherited from CfgBase | |
string | m_key |
CfgSecureLevel | m_level |
bool | m_rangetest |
Double configurator entry class.
Definition at line 106 of file configurator.h.
CfgFloat::CfgFloat | ( | const char * | a_key, |
CfgSecureLevel | a_level, | ||
double | a_defval | ||
) |
Definition at line 121 of file configurator.cpp.
References m_float.
CfgFloat::CfgFloat | ( | const char * | a_key, |
CfgSecureLevel | a_level, | ||
double | a_defval, | ||
double | a_min, | ||
double | a_max | ||
) |
Constructor with max min checking enabled.
Definition at line 126 of file configurator.cpp.
References m_max, m_min, CfgBase::m_rangetest, and set().
|
inlinevirtual |
|
virtual |
Definition at line 134 of file configurator.cpp.
References g_msg, m_float, m_max, m_min, CfgBase::m_rangetest, and MapErrorMsg::Warn().
Referenced by CfgFloat().
|
inline |
Definition at line 118 of file configurator.h.
Referenced by OptimisingFarm::ActualProfit(), BeetleBank::BeetleBank(), Landscape::BeetleBankPossible(), VegElement::CalcGooseForageResources(), Pond::CalcLarvalFood(), Pond::CalcPondPesticide(), Farm::CattleIsOut(), Farm::CattleIsOutLow(), Farm::CattleOut(), Farm::CattleOutLowGrazing(), Partridge_Chick::ChDeveloping(), OptimisingFarm::ChooseDecisionMode(), Partridge_Clutch::ClDeveloping(), AnimalFarm::correctFodderDemand(), CoveyManager::CoveyManager(), Farm::CutOrch(), Orchard::Cutting(), MownGrass::Cutting(), Partridge_Chick::DailyMortality(), Partridge_Chick2::DailyMortality(), Partridge_Male::DailyMortality(), Partridge_Female::DailyMortality(), Pesticide::DiffusionFunction(), FarmManager::DistributeFarmerTypes(), VegElement::DoDevelopment(), BeetleBank::DoDevelopment(), Orchard::DoDevelopment(), OrchardBand::DoDevelopment(), Configurator::DumpSymbols(), FarmManager::FarmManagement(), Partridge_Population_Manager::FillInFoodArray(), Partridge_Female::FIncubating(), OptimisingFarm::findBIs(), FarmManager::FindClosestFarmOpennessProb(), FarmManager::FindClosestFarmOpennessProbNearRoostIsBest(), FarmManager::FindClosestFarmOpennessProbSmallIsBest(), OptimisingFarm::findFertilizer(), OptimisingFarm::findGrossMargin(), FarmManager::FindNeighbours(), Partridge_Female::FLaying(), Partridge_Covey::HabitatEvalPoly(), Landscape::hb_Add(), Landscape::hb_MarkTheBresenhamWay(), Heath::Heath(), Partridge_Population_Manager::Init(), Landscape::Landscape(), Pesticide::MainMapDecay(), Partridge_Covey::ManagerCheckMerge(), Partridge_Covey::ManagerDriftPos(), Partridge_Covey::ManagerRethinkPos(), Marsh::Marsh(), Partridge_Covey::MoveMagicVegToFood(), MownGrass::MownGrass(), NaturalGrassDry::NaturalGrassDry(), NaturalGrassWet::NaturalGrassWet(), Partridge_Female::OnClutchMown(), Partridge_Clutch::OnFarmEvent(), Partridge_Chick::OnFarmEvent(), Partridge_Chick2::OnFarmEvent(), Partridge_Male::OnFarmEvent(), Partridge_Female::OnFarmEvent(), OptimisingFarm::OptimiseFarm(), OptimisingFarm::optimizeCrops(), PermanentSetaside::PermanentSetaside(), PermPasture::PermPasture(), PermPastureLowYield::PermPastureLowYield(), PermPastureTussocky::PermPastureTussocky(), Pesticide::Pesticide(), Farm::PigsAreOutForced(), Farm::PigsOut(), Partridge_Covey::PressureLimitExceeded(), OptimisingFarm::Prob_multiplier(), Farm::ProductApplication(), Farm::ProductApplication_DateLimited(), RoadsideVerge::RoadsideVerge(), Saltmarsh::Saltmarsh(), Pesticide::Tick(), and WaterBufferZone::WaterBufferZone().
|
protected |
Definition at line 109 of file configurator.h.
Referenced by CfgFloat(), and set().
|
protected |
Definition at line 111 of file configurator.h.
Referenced by CfgFloat(), and set().
|
protected |
Definition at line 110 of file configurator.h.
Referenced by CfgFloat(), and set().