![]() |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
String configurator entry class. More...
#include <Configurator.h>
Public Member Functions | |
CfgStr (const std::string &a_key, CfgSecureLevel a_level, const std::string &a_defval) | |
CfgStr (const std::string &a_key, CfgSecureLevel a_level, const std::string &a_defval, bool a_definconf) | |
char * | value () const |
void | set (std::string a_newval) |
virtual CfgType | gettype (void) |
![]() | |
CfgBase (const std::string &a_key, CfgSecureLevel a_level) | |
CfgBase (const std::string &a_key, CfgSecureLevel a_level, bool a_definedinconfig) | |
virtual | ~CfgBase () |
std::string | getkey () |
CfgSecureLevel | getlevel (void) |
void | set_definedinconfig (bool flag) |
bool | get_definedinconfig () const |
bool | get_rangetest () const |
Protected Attributes | |
std::string | m_string |
![]() | |
std::string | m_key |
CfgSecureLevel | m_level |
bool | m_rangetest |
bool | m_definedinconfig {false} |
String configurator entry class.
CfgStr::CfgStr | ( | const std::string & | a_key, |
CfgSecureLevel | a_level, | ||
const std::string & | a_defval | ||
) |
CfgStr::CfgStr | ( | const std::string & | a_key, |
CfgSecureLevel | a_level, | ||
const std::string & | a_defval, | ||
bool | a_definconf | ||
) |
|
inlinevirtual |
|
inline |
|
inline |
References m_string.
Referenced by Aphid_Population_Manager::Aphid_Population_Manager(), Beetle_Population_Manager::Beetle_Population_Manager(), CreatePopulationManager(), CropRotation::CropRotation(), Beetle_Population_Manager::DoBeetleActiveProbe(), Configurator::DumpSymbols(), Landscape::DumpVegAreaData(), FarmManager::FarmManager(), Vole_Population_Manager::Init(), Aphid_Population_Manager::initialisePopulation(), Osmia_Nest_Manager::InitOsmiaBeeNesting(), Landscape::Landscape(), main(), Vole_Population_Manager::OpenSexRatiosProbe(), SubPopulation_Population_Manager::openSubpopulationBaseProbeFile(), Population_Manager::OpenTheMonthlyRipleysOutputProbe(), Population_Manager::OpenTheReallyBigProbe(), Population_Manager::OpenTheRipleysOutputProbe(), PlantGrowthData::PlantGrowthData(), PollenNectarDevelopmentData::PollenNectarDevelopmentData(), VegElement::ReadBugPercentageFile(), PollenNectarDevelopmentData::ReadFlowerNumberCrop(), SetOutputFiles(), Landscape::Tick(), UserDefinedFarm::UserDefinedFarm(), Weather::Weather(), and Landscape::~Landscape().