The base class for all option types. More...
#include <mmoptionmodel.h>
Inherited by mmOptionBool, mmOptionFloat, mmOptionList, mmOptionSection, and mmOptionString.
Public Types | |
| enum | ControlType { ct_undefined, ct_someothers } |
Public Member Functions | |
| mmOptionModel (wxString name_, wxString key_, wxString description_, OptionType type_=opt_undefined, wxString section_=SLGlobals::nosection_name, wxString style_=SLGlobals::nostyle_name) | |
| sets members accordingly this ctor sets controltype enum according to string | |
| mmOptionModel (wxString name_, wxString key_, wxString description_, OptionType type_=opt_undefined, wxString section_=SLGlobals::nosection_name, ControlType style_=ct_undefined) | |
| virtual | ~mmOptionModel () |
| mmOptionModel () | |
| all members are set to empty strings, type to opt_undefined | |
Data Fields | |
| wxString | name |
| wxString | key |
| wxString | description |
| OptionType | type |
| ControlType | ct_type |
| wxString | section |
| wxString | ct_type_string |
| control style string, as of yet undefined | |
The base class for all option types.
All members and functions are public (also in derived classes). Therefore no sanity checks whatsoever are performed when changing a member. Default constructors are mostly provided for compability with stl containers.
Definition at line 45 of file mmoptionmodel.h.
Definition at line 47 of file mmoptionmodel.h.
| mmOptionModel::mmOptionModel | ( | wxString | name_, | |
| wxString | key_, | |||
| wxString | description_, | |||
| OptionType | type_ = opt_undefined, |
|||
| wxString | section_ = SLGlobals::nosection_name, |
|||
| wxString | style_ = SLGlobals::nostyle_name | |||
| ) |
sets members accordingly this ctor sets controltype enum according to string
Definition at line 3 of file mmoptionmodel.cpp.
| mmOptionModel::mmOptionModel | ( | wxString | name_, | |
| wxString | key_, | |||
| wxString | description_, | |||
| OptionType | type_ = opt_undefined, |
|||
| wxString | section_ = SLGlobals::nosection_name, |
|||
| ControlType | style_ = ct_undefined | |||
| ) |
Definition at line 22 of file mmoptionmodel.cpp.
| mmOptionModel::~mmOptionModel | ( | ) | [virtual] |
Definition at line 29 of file mmoptionmodel.cpp.
| mmOptionModel::mmOptionModel | ( | ) |
all members are set to empty strings, type to opt_undefined
Definition at line 32 of file mmoptionmodel.cpp.
Definition at line 66 of file mmoptionmodel.h.
control style string, as of yet undefined
Definition at line 69 of file mmoptionmodel.h.
Definition at line 64 of file mmoptionmodel.h.
Definition at line 64 of file mmoptionmodel.h.
Definition at line 64 of file mmoptionmodel.h.
Definition at line 67 of file mmoptionmodel.h.
Definition at line 65 of file mmoptionmodel.h.
1.6.3