|
|
| CSettingList (const std::string &id, std::shared_ptr< CSetting > settingDefinition, CSettingsManager *settingsManager=nullptr) |
| |
|
| CSettingList (const std::string &id, std::shared_ptr< CSetting > settingDefinition, int label, CSettingsManager *settingsManager=nullptr) |
| |
|
| CSettingList (const std::string &id, const CSettingList &setting) |
| |
|
std::shared_ptr< CSetting > | Clone (const std::string &id) const override |
| |
|
void | MergeDetails (const CSetting &other) override |
| |
| bool | Deserialize (const TiXmlNode *node, bool update=false) override |
| | Deserializes the given XML node into the properties of the setting object. More...
|
| |
|
SettingType | GetType () const override |
| |
|
bool | FromString (const std::string &value) override |
| |
|
std::string | ToString () const override |
| |
|
bool | Equals (const std::string &value) const override |
| |
|
bool | CheckValidity (const std::string &value) const override |
| |
|
void | Reset () override |
| |
|
SettingType | GetElementType () const |
| |
|
std::shared_ptr< CSetting > | GetDefinition () |
| |
|
std::shared_ptr< const CSetting > | GetDefinition () const |
| |
|
void | SetDefinition (std::shared_ptr< CSetting > definition) |
| |
|
const std::string & | GetDelimiter () const |
| |
|
void | SetDelimiter (const std::string &delimiter) |
| |
|
int | GetMinimumItems () const |
| |
|
void | SetMinimumItems (int minimumItems) |
| |
|
int | GetMaximumItems () const |
| |
|
void | SetMaximumItems (int maximumItems) |
| |
|
bool | FromString (const std::vector< std::string > &value) |
| |
|
const SettingList & | GetValue () const |
| |
|
bool | SetValue (const SettingList &values) |
| |
|
const SettingList & | GetDefault () const |
| |
|
void | SetDefault (const SettingList &values) |
| |
|
| CSetting (const std::string &id, CSettingsManager *settingsManager=nullptr) |
| |
|
| CSetting (const std::string &id, const CSetting &setting) |
| |
|
void | MergeBasics (const CSetting &other) |
| |
|
bool | IsEnabled () const |
| |
|
bool | GetEnabled () const |
| |
|
void | SetEnabled (bool enabled) |
| |
|
bool | IsDefault () const |
| |
|
const std::string & | GetParent () const |
| |
|
void | SetParent (const std::string &parentSetting) |
| |
|
SettingLevel | GetLevel () const |
| |
|
void | SetLevel (SettingLevel level) |
| |
|
std::shared_ptr< const ISettingControl > | GetControl () const |
| |
|
std::shared_ptr< ISettingControl > | GetControl () |
| |
|
void | SetControl (std::shared_ptr< ISettingControl > control) |
| |
|
const SettingDependencies & | GetDependencies () const |
| |
|
void | SetDependencies (const SettingDependencies &dependencies) |
| |
|
const std::set< CSettingUpdate > & | GetUpdates () const |
| |
|
void | SetCallback (ISettingCallback *callback) |
| |
|
bool | IsReference () const |
| |
|
const std::string & | GetReferencedId () const |
| |
|
void | SetReferencedId (const std::string &referencedId) |
| |
|
void | MakeReference (const std::string &referencedId="") |
| |
|
bool | GetVisible () const |
| |
| bool | IsVisible () const override |
| | Whether the setting object is visible or hidden. More...
|
| |
| void | OnSettingAction (const std::shared_ptr< const CSetting > &setting) override |
| | The given setting has been activated. More...
|
| |
| | ISetting (const std::string &id, CSettingsManager *settingsManager=nullptr) |
| | Creates a new setting object with the given identifier. More...
|
| |
| const std::string & | GetId () const |
| | Gets the identifier of the setting object. More...
|
| |
| virtual void | SetVisible (bool visible) |
| | Sets the visibility state of the setting object. More...
|
| |
| int | GetLabel () const |
| | Gets the localizeable label ID of the setting group. More...
|
| |
| void | SetLabel (int label) |
| | Sets the localizeable label ID of the setting group. More...
|
| |
| int | GetHelp () const |
| | Gets the localizeable help ID of the setting group. More...
|
| |
| void | SetHelp (int help) |
| | Sets the localizeable help ID of the setting group. More...
|
| |
| virtual bool | MeetsRequirements () const |
| | Whether the setting object meets all necessary requirements. More...
|
| |
|
virtual void | CheckRequirements () |
| | Checks if the setting object meets all necessary requirements.
|
| |
| virtual void | SetRequirementsMet (bool requirementsMet) |
| | Sets whether the setting object meets all necessary requirements. More...
|
| |
|
|
void | copy (const CSettingList &setting) |
| |
|
bool | fromString (const std::string &strValue, SettingList &values) const |
| |
|
bool | fromValues (const std::vector< std::string > &strValues, SettingList &values) const |
| |
|
std::string | toString (const SettingList &values) const |
| |
| bool | OnSettingChanging (const std::shared_ptr< const CSetting > &setting) override |
| | The value of the given setting is being changed. More...
|
| |
| void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
| | The value of the given setting has changed. More...
|
| |
| bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) override |
| | The given setting needs to be updated. More...
|
| |
| void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) override |
| | The given property of the given setting has changed. More...
|
| |
|
void | Copy (const CSetting &setting) |
| |
|
template<class TSetting > |
| std::shared_ptr< TSetting > | shared_from_base () |
| |
List setting implementation.
- See also
- CSetting