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 | |
void | addOption (const TranslatedString &group_name, const TranslatedString &name, ApplicationOptionBase *value) |
void | addOption (const TranslatedString &name, ApplicationOptionBase *value) |
void | addToINI (const TranslatedString &group_name, INIFactory &factory) |
void | addToINI (INIFactory &factory) |
ApplicationOptions () | |
const ApplicationOptionBase * | getOption (const TranslatedString &group, const TranslatedString &name) const |
const ApplicationOptionBase * | getOption (const TranslatedString &name) const |
void | logOptions (ProgressInfo *log, bool log_only_non_defaults) |
void | setToDefaults () |
void | setToDefaults (const TranslatedString &group_name) |
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 specific group for easy sorting and can be used to automatically generate widgets.
|
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 |