![]() |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
Array_Int configurator entry class. More...
#include <Configurator.h>
Public Member Functions | |
CfgArray_Int (const std::string &a_name, CfgSecureLevel a_level, int a_numofvals, const std::vector< int > &a_defval) | |
CfgArray_Int (const std::string &a_name, CfgSecureLevel a_level, int a_numofvals, const std::vector< int > &a_defval, bool a_definconf) | |
CfgArray_Int (const std::string &a_key, CfgSecureLevel a_level, int a_numvals) | |
std::vector< int > | value () const |
void | set (std::vector< int > a_newval) |
virtual CfgType | gettype () |
int | get_array_size () |
int | value (unsigned a_index) |
![]() | |
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 | |
int | array_size {0} |
std::vector< int > | m_intarray {} |
![]() | |
std::string | m_key |
CfgSecureLevel | m_level |
bool | m_rangetest |
bool | m_definedinconfig {false} |
Array_Int configurator entry class.
CfgArray_Int::CfgArray_Int | ( | const std::string & | a_name, |
CfgSecureLevel | a_level, | ||
int | a_numofvals, | ||
const std::vector< int > & | a_defval | ||
) |
References array_size, g_cfg, and m_intarray.
CfgArray_Int::CfgArray_Int | ( | const std::string & | a_name, |
CfgSecureLevel | a_level, | ||
int | a_numofvals, | ||
const std::vector< int > & | a_defval, | ||
bool | a_definconf | ||
) |
CfgArray_Int::CfgArray_Int | ( | const std::string & | a_key, |
CfgSecureLevel | a_level, | ||
int | a_numvals | ||
) |
References array_size, and g_cfg.
|
inline |
References array_size.
|
inlinevirtual |
|
inline |
References m_intarray.
|
inline |
|
inline |
References m_intarray.
|
protected |
Referenced by CfgArray_Int(), and get_array_size().
|
protected |
Referenced by CfgArray_Int(), set(), and value().