ALMaSS Rabbit ODdox
1.1
The rabbit model description following ODdox protocol
|
Go to the documentation of this file.
29 #ifndef CONFIGURATOR_H
30 #define CONFIGURATOR_H
46 #define CFG_MAX_LINE_LENGTH 512
79 const string getkey (
void ) {
return m_key; }
98 int value(
void ) {
return m_int; }
99 virtual void set(
int a_newval);
118 double value(
void) {
return m_float; }
119 virtual void set(
double a_newval);
135 bool value(
void ) {
return m_bool; }
136 void set(
bool a_newval ) { m_bool = a_newval; }
152 const char*
value(
void ) {
return m_string.c_str(); }
153 void set(
char* a_newval ) { m_string = a_newval; }
164 map<string, unsigned int>
CfgI;
169 void ParseCfgLine(
char* a_line );
170 void SetCfgInt (
char* a_key,
char* a_val );
171 void SetCfgFloat (
char* a_key,
char* a_val );
172 void SetCfgBool (
char* a_key,
char* a_val );
173 void SetCfgStr (
char* a_key,
char* a_val );
174 bool LastDoubleQuote(
char* a_rest_of_line );
178 bool SetCfgGatekeeper(
const char* a_method,
183 void ShowIdType(
unsigned int a_i );
184 char* ExtractString(
char* a_line );
185 void DumpSymbols(
const char *a_dumpfile,
193 void DumpPublicSymbols(
const char *a_dumpfile,
201 void DumpAllSymbolsAndExit(
const char *a_dumpfile );
207 bool ReadSymbols(
const char *a_cfgfile );
217 bool Register(
CfgBase* a_cfgval,
const char* a_key );
222 #endif // CONFIGURATOR_H
map< string, unsigned int > CfgI
virtual CfgType gettype(void)
class Configurator * g_cfg
String configurator entry class.
const string getkey(void)
A class to provide standard parameter entry facilities.
virtual CfgType gettype(void)
Bool configurator entry class.
virtual CfgType gettype(void)
virtual CfgType gettype(void)
virtual CfgType gettype(void)
Integer configurator entry class.
Base class for a configurator entry.
Double configurator entry class.
vector< CfgBase * > CfgVals
CfgSecureLevel getlevel(void)