|
| NX_INI_FLAG (0, enableOutput, "Enable Output.") |
|
| NX_INI_FLAG (1, enableTime, "Enable Time.") |
|
| NX_INI_FLAG (1, enableFps, "Enable Fps.") |
|
| NX_INI_STRING (" string with leading space", str0, "String with leading space.") |
|
| NX_INI_STRING ("string with middle \quote", str1, "String with middle quote.") |
|
| NX_INI_STRING ("\string with leading quote", str2, "String with leading quote.") |
|
| NX_INI_STRING ("string with trailing quote \, str3, "String with trailing quote.") |
|
| NX_INI_STRING ("\nquoted string\, str4, "Enquoted string.") |
|
| NX_INI_STRING ("plain string", str5, "Plain string.") |
|
| NX_INI_STRING ("plain string with \backslash", str6, "Plain string with backslash.") |
|
| NX_INI_INT (113, intNumber, "Test int number.") |
|
| NX_INI_FLOAT (310.55F, floatNumber,"Test float number.") |
|
| IniConfig (const char *iniFile) |
|
| IniConfig (const IniConfig &)=delete |
|
| IniConfig (IniConfig &&)=delete |
|
IniConfig & | operator= (const IniConfig &)=delete |
|
IniConfig & | operator= (IniConfig &&)=delete |
|
const char * | iniFile () const |
|
const char * | iniFilePath () const |
|
void | reload () |
|
bool | getParamTypeAndValue (const char *paramName, ParamType *outType, const void **outData) const |
|
| Tweaks () |
|
| Tweaks (const Tweaks &)=delete |
|
| Tweaks (Tweaks &&)=delete |
|
Tweaks & | operator= (const Tweaks &)=delete |
|
Tweaks & | operator= (Tweaks &&)=delete |
|
template<typename T > |
void | set (const T *field, T newValue) |
|
|
enum | ParamType { ParamType::boolean,
ParamType::string,
ParamType::integer,
ParamType::float_
} |
|
static bool | isEnabled () |
|
static void | setEnabled (bool value) |
|
static void | setOutput (std::ostream *output) |
|
static const char * | iniFilesDir () |
|
static void | setIniFilesDir (const char *iniFilesDir) |
|
bool | regBoolParam (const bool *pValue, bool defaultValue, const char *paramName, const char *description) |
|
int | regIntParam (const int *pValue, int defaultValue, const char *paramName, const char *description) |
|
const char * | regStringParam (const char *const *pValue, const char *defaultValue, const char *paramName, const char *description) |
|
float | regFloatParam (const float *pValue, float defaultValue, const char *paramName, const char *description) |
|