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

Public Types | |
| enum | ControlType { ct_undefined, ct_someothers } |
Public Member Functions | |
| mmOptionString (wxString name_, wxString key_, wxString description_, wxString def_, unsigned int max_len_, wxString section_=SLGlobals::nosection_name, wxString style_=SLGlobals::nostyle_name) | |
| sets members accordingly | |
| mmOptionString () | |
| sets wxstring member to "" and max_len to 0 | |
Data Fields | |
| wxString | def |
| should not exceed max length (not ensured) | |
| wxString | value |
| this will always represent the current value, | |
| unsigned int | max_len |
| the maximum lentgh the value string may have | |
| 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 string option.
Definition at line 105 of file mmoptionmodel.h.
enum mmOptionModel::ControlType [inherited] |
Definition at line 47 of file mmoptionmodel.h.
| mmOptionString::mmOptionString | ( | wxString | name_, | |
| wxString | key_, | |||
| wxString | description_, | |||
| wxString | def_, | |||
| unsigned int | max_len_, | |||
| wxString | section_ = SLGlobals::nosection_name, |
|||
| wxString | style_ = SLGlobals::nostyle_name | |||
| ) |
sets members accordingly
Definition at line 64 of file mmoptionmodel.cpp.
| mmOptionString::mmOptionString | ( | ) |
sets wxstring member to "" and max_len to 0
Definition at line 70 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.
should not exceed max length (not ensured)
Definition at line 114 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.
| unsigned int mmOptionString::max_len |
the maximum lentgh the value string may have
Definition at line 119 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.
this will always represent the current value,
the only member that should change after creation, before set check if new value exceeds max_len
Definition at line 117 of file mmoptionmodel.h.
1.6.3