Holds a bool option. More...
#include <mmoptionmodel.h>
Inherits mmOptionModel.

Public Types | |
| enum | ControlType { ct_undefined, ct_someothers } |
Public Member Functions | |
| mmOptionBool (wxString name_, wxString key_, wxString description_, bool def_, wxString section_=SLGlobals::nosection_name, wxString style_=SLGlobals::nostyle_name) | |
| sets members accordingly | |
| mmOptionBool () | |
| sets wxstring member to "" and bool members to false | |
Data Fields | |
| bool | def |
| bool | value |
| this will always represent the current value, also the only member that should change after creation | |
| wxString | name |
| wxString | key |
| wxString | description |
| OptionType | type |
| ControlType | ct_type |
| wxString | section |
| wxString | ct_type_string |
| control style string, as of yet undefined | |
Holds a bool option.
difference from parent: members def and value are bool
Definition at line 74 of file mmoptionmodel.h.
enum mmOptionModel::ControlType [inherited] |
Definition at line 47 of file mmoptionmodel.h.
| mmOptionBool::mmOptionBool | ( | wxString | name_, | |
| wxString | key_, | |||
| wxString | description_, | |||
| bool | def_, | |||
| wxString | section_ = SLGlobals::nosection_name, |
|||
| wxString | style_ = SLGlobals::nostyle_name | |||
| ) |
sets members accordingly
Definition at line 42 of file mmoptionmodel.cpp.
| mmOptionBool::mmOptionBool | ( | ) |
sets wxstring member to "" and bool members to false
Definition at line 48 of file mmoptionmodel.cpp.
ControlType mmOptionModel::ct_type [inherited] |
Definition at line 66 of file mmoptionmodel.h.
wxString mmOptionModel::ct_type_string [inherited] |
control style string, as of yet undefined
Definition at line 69 of file mmoptionmodel.h.
| bool mmOptionBool::def |
Definition at line 81 of file mmoptionmodel.h.
wxString mmOptionModel::description [inherited] |
Definition at line 64 of file mmoptionmodel.h.
wxString mmOptionModel::key [inherited] |
Definition at line 64 of file mmoptionmodel.h.
wxString mmOptionModel::name [inherited] |
Definition at line 64 of file mmoptionmodel.h.
wxString mmOptionModel::section [inherited] |
Definition at line 67 of file mmoptionmodel.h.
OptionType mmOptionModel::type [inherited] |
Definition at line 65 of file mmoptionmodel.h.
| bool mmOptionBool::value |
this will always represent the current value, also the only member that should change after creation
Definition at line 83 of file mmoptionmodel.h.
1.6.3