ALMaSS Rabbit ODdox
1.1
The rabbit model description following ODdox protocol
|
#include <maperrormsg.h>
Public Member Functions | |
void | Warn (MapErrorState a_level, std::string a_msg1, std::string a_msg2) |
void | Warn (MapErrorState a_level, std::string a_msg1, int) |
void | Warn (std::string a_msg1, std::string a_msg2) |
void | Warn (std::string a_msg1, double a_num) |
void | WarnAddInfo (MapErrorState a_level, std::string a_add1, std::string a_add2) |
void | WarnAddInfo (MapErrorState a_level, std::string a_add1, double a_num) |
void | SetWarnLevel (MapErrorState a_level) |
MapErrorMsg (std::string a_warnfile) | |
Private Attributes | |
MapErrorState | m_level |
std::string | m_warnfile |
Definition at line 43 of file maperrormsg.h.
MapErrorMsg::MapErrorMsg | ( | std::string | a_warnfile | ) |
Definition at line 43 of file maperrormsg.cpp.
References m_warnfile.
void MapErrorMsg::SetWarnLevel | ( | MapErrorState | a_level | ) |
Definition at line 48 of file maperrormsg.cpp.
void MapErrorMsg::Warn | ( | MapErrorState | a_level, |
std::string | a_msg1, | ||
int | a_msg2 | ||
) |
void MapErrorMsg::Warn | ( | MapErrorState | a_level, |
std::string | a_msg1, | ||
std::string | a_msg2 | ||
) |
Definition at line 59 of file maperrormsg.cpp.
References m_warnfile.
Referenced by OptimisingFarm::ActualProfit(), Landscape::AddBeetleBanks(), LE_TypeClass::BackTranslateEleTypes(), LE_TypeClass::BackTranslateVegTypes(), Landscape::BorderAdd(), Landscape::BorderNeed(), Landscape::BorderScan(), RasterMap::CellReplacementNeighbour(), Landscape::CentroidSpiralOut(), Farm::CheckRotationManagementLoop(), Crop::ChooseNextCrop(), FarmManager::ConnectFarm(), Landscape::ConsolidatePolys(), FarmManager::CreateFarms(), CropRotation::CropRotation(), Calendar::DayLength(), AnimalFarm::determineMinFodder(), FarmManager::DumpFarmrefs(), Landscape::DumpMapGraphics(), Landscape::DumpMapInfoByArea(), PesticideMap::DumpPMap(), Configurator::DumpSymbols(), Landscape::DumpTreatCounters(), Landscape::EventDump(), Landscape::EventDumpPesticides(), Landscape::EventtypeToString(), Configurator::ExtractString(), probe_data::FileAppendOutput(), OptimisingFarm::Find_neighbour_to_imitate(), FarmManager::FindClosestFarm(), FarmManager::FindClosestFarmOpenness(), FarmManager::FindClosestFarmOpennessProb(), FarmManager::FindClosestFarmOpennessProbNearRoostIsBest(), FarmManager::FindClosestFarmOpennessProbSmallIsBest(), OptimisingFarm::findCropByName(), OptimisingFarm::findCropByName_almass(), FarmManager::FindFarmWithOpenness(), FarmManager::FindFarmWithRandom(), Landscape::ForceArea(), RasterMap::Get(), DataForOptimisation::Get_farmType(), FarmManager::GetFarmCentroid(), FarmManager::GetFarmPtr(), CropRotation::GetFirstCrop(), CropRotation::GetNextCrop(), FarmManager::GetRenumberedFarmRef(), Landscape::GISASCII_Output(), OptimisingFarm::HandleEvents(), Landscape::IncTreatCounter(), RasterMap::Init1(), RasterMap::Init2(), OptimisingFarm::Initialize(), Farm::InitiateManagement(), Landscape::InitOsmiaBeeNesting(), Rabbit_Juvenile::InternalPesticideHandlingAndResponse(), Rabbit_Male::InternalPesticideHandlingAndResponse(), Rabbit_Female::InternalPesticideHandlingAndResponse(), Farm::InvIntPartition(), Landscape::Landscape(), Farm::LeSwitch(), Rabbit_Population_Manager::LoadWarrenLocations(), OptimisingFarm::Make_rotations(), Farm::Management(), OptimisingFarm::Match_crop_to_field(), Landscape::NewElement(), probe_data::OpenFile(), probe_data::OpenForAppendToFile(), Population_Manager::OpenTheMonthlyRipleysOutputProbe(), Population_Manager::OpenTheReallyBigProbe(), Population_Manager::OpenTheRipleysOutputProbe(), Configurator::ParseCfgLine(), PollenNectarDevelopmentData::PollenNectarDevelopmentData(), Landscape::PolysDump(), Landscape::PolysRenumber(), Landscape::PolysValidate(), Landscape::PolytypeToString(), FarmManager::PrintOutput(), OptimisingFarm::randomizeCropList(), RasterMap::RasterMap(), VegElement::ReadBugPercentageFile(), FarmManager::ReadCropsData_perFarm_and_Soil_and_Size_almass(), FarmManager::ReadCropsData_perFarmType_almass(), FarmManager::ReadCropsData_perSoilType_almass(), Landscape::ReadPolys2(), Farm::ReadRotation(), Configurator::ReadSymbols(), Farm::RemoveField(), Landscape::RemoveSmallPolygons(), Pesticide::SavePPM(), Rabbit_Population_Manager::SaveWarrenLocations(), CfgInt::set(), CfgFloat::set(), Configurator::SetCfgBool(), Configurator::SetCfgFloat(), Configurator::SetCfgGatekeeper(), Configurator::SetCfgInt(), Configurator::SetCfgStr(), PlantGrowthData::SetVegNum(), SetWarnLevel(), OptimisingFarm::total(), OptimisingFarm::Translate_crops_to_almass(), FarmManager::TranslateAnimalsCodes(), FarmManager::TranslateCropCodes(), FarmManager::TranslateCropsCodes(), FarmManager::TranslateCropVariablesCodes(), LE_TypeClass::TranslateEleTypes(), FarmManager::TranslateFarmCodes(), FarmManager::TranslateFarmSizeCodes(), FarmManager::TranslateLivestockParametersCodes(), FarmManager::TranslateParametersCodes(), FarmManager::TranslateSoilCodes(), LE_TypeClass::TranslateVegTypes(), Landscape::UnsprayedMarginAdd(), UserDefinedFarm::UserDefinedFarm(), Landscape::VegDump(), PlantGrowthData::VegTypeToCurveNum(), Landscape::VegtypeToString(), Landscape::Warn(), and Weather::Weather().
void MapErrorMsg::Warn | ( | std::string | a_msg1, |
double | a_num | ||
) |
void MapErrorMsg::Warn | ( | std::string | a_msg1, |
std::string | a_msg2 | ||
) |
void MapErrorMsg::WarnAddInfo | ( | MapErrorState | a_level, |
std::string | a_add1, | ||
double | a_num | ||
) |
void MapErrorMsg::WarnAddInfo | ( | MapErrorState | a_level, |
std::string | a_add1, | ||
std::string | a_add2 | ||
) |
Definition at line 149 of file maperrormsg.cpp.
References m_level, and m_warnfile.
Referenced by RasterMap::Get(), RasterMap::Init2(), and Configurator::ShowIdType().
|
private |
Definition at line 45 of file maperrormsg.h.
Referenced by SetWarnLevel(), and WarnAddInfo().
|
private |
Definition at line 46 of file maperrormsg.h.
Referenced by MapErrorMsg(), Warn(), and WarnAddInfo().