API Documentation
|
The container for storing N-number of ApplicationOption for the program. Almost all options are typically "user options" and are added to that container by default. More...
#include <ApplicationOptions.h>
Public Member Functions | |
ApplicationOptions () | |
void | addOption (const TranslatedString &name, ApplicationOptionBase *value) |
void | addOption (const TranslatedString &group_name, const TranslatedString &name, ApplicationOptionBase *value) |
const ApplicationOptionBase * | getOption (const TranslatedString &group, const TranslatedString &name) const |
const ApplicationOptionBase * | getOption (const TranslatedString &name) const |
void | addToINI (INIFactory &factory) |
void | addToINI (const TranslatedString &group_name, INIFactory &factory) |
void | setToDefaults () |
void | setToDefaults (const TranslatedString &group_name) |
void | logOptions (ProgressInfo *log, bool log_only_non_defaults) |
Static Public Member Functions | |
static ApplicationOptions & | UserOptions () |
Protected Attributes | |
Dictionary< TranslatedString, Dictionary< TranslatedString, ApplicationOptionBase * > > | m_options |
The container for storing N-number of ApplicationOption for the program. Almost all options are typically "user options" and are added to that container by default.
Class: ApplicationOptions
Stores data of any type that can easily be saved or retrieved at runtime. Option belongs to a
|
inline |
|
inline |
void addToINI | ( | const TranslatedString & | group_name, |
INIFactory & | factory ) |
void addToINI | ( | INIFactory & | factory | ) |
|
inline |
|
inline |
void logOptions | ( | ProgressInfo * | log, |
bool | log_only_non_defaults ) |
void setToDefaults | ( | ) |
void setToDefaults | ( | const TranslatedString & | group_name | ) |
|
static |
|
protected |