NDEVR
API Documentation
ApplicationOptionBaseabstract

The core of the default object to store data of any type that should persist through sessions of the application. More...

Inheritance diagram for ApplicationOptionBase:
[legend]

Public Member Functions

virtual ~ApplicationOptionBase ()
 Destructor.
virtual void fromString (const String &)=0
 Sets the option value by parsing the given string.
virtual INIOptioniniOption ()=0
 Creates an INIOption representation of this option for INI file serialization.
virtual bool isDefault () const =0
 Checks whether the current value matches the default value.
virtual void setToDefaultValue ()=0
 Resets the option value back to its default.
virtual StringAllocatingView toString () const =0
 Converts the stored option value to a string representation.

Detailed Description

The core of the default object to store data of any type that should persist through sessions of the application.


Developers should use ApplicationOption.

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.

Definition at line 20 of file ApplicationOptions.h.

Member Function Documentation

◆ fromString()

◆ iniOption()

◆ isDefault()

◆ toString()


The documentation for this class was generated from the following file: