![]() |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
Base class for a configurator entry. More...
#include <Configurator.h>
Public Member Functions | |
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 () |
virtual CfgType | gettype () |
CfgSecureLevel | getlevel (void) |
void | set_definedinconfig (bool flag) |
bool | get_definedinconfig () const |
bool | get_rangetest () const |
Protected Attributes | |
std::string | m_key |
CfgSecureLevel | m_level |
bool | m_rangetest |
bool | m_definedinconfig {false} |
Base class for a configurator entry.
CfgBase::CfgBase | ( | const std::string & | a_key, |
CfgSecureLevel | a_level | ||
) |
References g_cfg, m_key, m_level, and m_rangetest.
CfgBase::CfgBase | ( | const std::string & | a_key, |
CfgSecureLevel | a_level, | ||
bool | a_definedinconfig | ||
) |
References m_definedinconfig, m_key, m_level, and m_rangetest.
|
inline |
References m_definedinconfig.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in CfgStr, CfgBool, CfgFloat, CfgInt, CfgFunction, CfgArray_Double, and CfgArray_Int.
References CFG_NONE.
Referenced by Configurator::CheckBounds().
|
inline |
|
protected |
Referenced by CfgBase(), get_definedinconfig(), and set_definedinconfig().
|
protected |
Referenced by CfgBase(), getkey(), CfgInt::set(), and CfgFloat::set().
|
protected |
Referenced by CfgBase(), and getlevel().
|
protected |
Referenced by CfgBase(), CfgFloat::CfgFloat(), CfgInt::CfgInt(), get_rangetest(), CfgInt::set(), and CfgFloat::set().