|
| | CSettingTime (const std::string &id, CSettingsManager *settingsManager=NULL) |
| |
| | CSettingTime (const std::string &id, int label, const std::string &value, CSettingsManager *settingsManager=NULL) |
| |
| | CSettingTime (const std::string &id, const CSettingTime &setting) |
| |
| | ~CSettingTime () override=default |
| |
| SettingPtr | Clone (const std::string &id) const override |
| |
| bool | CheckValidity (const std::string &value) const override |
| |
| CDateTime | GetTime () const |
| |
| bool | SetTime (const CDateTime &time) |
| |
| | CSettingString (const std::string &id, CSettingsManager *settingsManager=nullptr) |
| |
| | CSettingString (const std::string &id, const CSettingString &setting) |
| |
| | CSettingString (const std::string &id, int label, const std::string &value, CSettingsManager *settingsManager=nullptr) |
| |
| | ~CSettingString () override=default |
| |
| 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...
|
| |
| bool | FromString (const std::string &value) override |
| |
| std::string | ToString () const override |
| |
| bool | Equals (const std::string &value) const override |
| |
| void | Reset () override |
| |
| virtual const std::string & | GetValue () const |
| |
| virtual bool | SetValue (const std::string &value) |
| |
| virtual const std::string & | GetDefault () const |
| |
| virtual void | SetDefault (const std::string &value) |
| |
| virtual bool | AllowEmpty () const |
| |
| void | SetAllowEmpty (bool allowEmpty) |
| |
| virtual bool | AllowNewOption () const |
| |
| void | SetAllowNewOption (bool allowNewOption) |
| |
| SettingOptionsType | GetOptionsType () const |
| |
| const TranslatableStringSettingOptions & | GetTranslatableOptions () const |
| |
| void | SetTranslatableOptions (const TranslatableStringSettingOptions &options) |
| |
| const StringSettingOptions & | GetOptions () const |
| |
| void | SetOptions (const StringSettingOptions &options) |
| |
| const std::string & | GetOptionsFillerName () const |
| |
| void | SetOptionsFillerName (const std::string &optionsFillerName, void *data=nullptr) |
| |
| void | SetOptionsFiller (StringSettingOptionsFiller optionsFiller, void *data=nullptr) |
| |
| StringSettingOptions | GetDynamicOptions () const |
| |
| StringSettingOptions | UpdateDynamicOptions () |
| |
| SettingOptionsSort | GetOptionsSort () const |
| |
| void | SetOptionsSort (SettingOptionsSort optionsSort) |
| |
| SettingType | GetType () const override |
| |
| | CSetting (const std::string &id, CSettingsManager *settingsManager=nullptr) |
| |
| | CSetting (const std::string &id, const CSetting &setting) |
| |
| | ~CSetting () override=default |
| |
| 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...
|
| |
| virtual | ~ISetting ()=default |
| |
| 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. More...
|
| |
| virtual void | SetRequirementsMet (bool requirementsMet) |
| | Sets whether the setting object meets all necessary requirements. More...
|
| |
|
| typedef std::string | Value |
| |
| static SettingType | Type () |
| |
| static bool | DeserializeIdentification (const TiXmlNode *node, std::string &identification, bool &isReference) |
| | Deserializes the given XML node to retrieve a setting object's identifier and whether the setting is a reference to another setting or not. More...
|
| |
| static bool | DeserializeIdentification (const TiXmlNode *node, std::string &identification) |
| | Deserializes the given XML node to retrieve a setting object's identifier. More...
|
| |
| virtual void | copy (const CSettingString &setting) |
| |
| | CTraitedSetting (const std::string &id, CSettingsManager *settingsManager=nullptr) |
| |
| | CTraitedSetting (const std::string &id, const CTraitedSetting &setting) |
| |
| | ~CTraitedSetting () override=default |
| |
| 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 () |
| |
| virtual | ~ISettingCallback ()=default |
| |
| static bool | DeserializeIdentificationFromAttribute (const TiXmlNode *node, const std::string &attribute, std::string &identification) |
| | Deserializes the given XML node to retrieve a setting object's identifier from the given attribute. More...
|
| |
| std::string | m_value |
| |
| std::string | m_default |
| |
| bool | m_allowEmpty = false |
| |
| bool | m_allowNewOption = false |
| |
| TranslatableStringSettingOptions | m_translatableOptions |
| |
| StringSettingOptions | m_options |
| |
| std::string | m_optionsFillerName |
| |
| StringSettingOptionsFiller | m_optionsFiller = nullptr |
| |
| void * | m_optionsFillerData = nullptr |
| |
| StringSettingOptions | m_dynamicOptions |
| |
| SettingOptionsSort | m_optionsSort = SettingOptionsSort::NoSorting |
| |
| ISettingCallback * | m_callback = nullptr |
| |
| bool | m_enabled = true |
| |
| std::string | m_parentSetting |
| |
| SettingLevel | m_level = SettingLevel::Standard |
| |
| std::shared_ptr< ISettingControl > | m_control |
| |
| SettingDependencies | m_dependencies |
| |
| std::set< CSettingUpdate > | m_updates |
| |
| bool | m_changed = false |
| |
| CSharedSection | m_critical |
| |
| std::string | m_referencedId |
| |
| std::string | m_id |
| |
| CSettingsManager * | m_settingsManager |
| |
| static const Value | DefaultValue |
| |
| static Logger | s_logger |
| |
| static constexpr int | DefaultLabel = -1 |
| |