|
| define_declared_event (SettingChanging, setting_changing, const i_setting &) define_declared_event(SettingChanged |
|
const i_setting & | define_declared_event (SettingDeleted, setting_deleted, const i_setting &) define_declared_event(SettingsChanged |
|
| settings (const i_string &aFileName) |
|
| settings (const i_application &aApp, const i_string &aFileName=string{ "settings.xml" }) |
|
void | register_category (i_string const &aCategorySubkey, i_string const &aCategoryTitle=string{}) override |
|
void | register_group (i_string const &aGroupSubkey, i_string const &aGroupTitle=string{}) override |
|
void | register_setting (i_setting &aSetting) override |
|
category_titles const & | all_categories () const override |
|
i_string const & | category_title (i_string const &aCategorySubkey) const override |
|
group_titles const & | all_groups () const override |
|
i_string const & | group_title (i_string const &aGroupSubkey) const override |
|
setting_list const & | all_settings () const override |
|
setting_ordered_list const & | all_settings_ordered () const override |
|
i_setting const & | setting (i_string const &aKey) const override |
|
i_setting & | setting (i_string const &aKey) override |
|
void | change_setting (i_setting &aExistingSetting, const i_setting_value &aValue, bool aApplyNow=true) override |
|
void | delete_setting (i_setting &aExistingSetting) override |
|
void | apply_changes () override |
|
void | discard_changes () override |
|
bool | modified () const override |
|
void | register_friendly_text (i_setting const &aSetting, i_string const &aText, i_string const &aFriendlyText) override |
|
i_string const & | friendly_text (i_setting const &aSetting, i_string const &aText) const override |
|
void | load () override |
|
void | save () const override |
|
void | changing_setting (i_setting const &aSetting) override |
|
void | changed_setting (i_setting const &aSetting) override |
|
virtual void | register_category (i_string const &aCategorySubkey, i_string const &aCategoryTitle=string{})=0 |
|
void | register_category (string const &aCategorySubkey, string const &aCategoryTitle=string{}) |
|
virtual void | register_group (i_string const &aGroupSubkey, i_string const &aGroupTitle=string{})=0 |
|
void | register_group (string const &aGroupSubkey, string const &aGroupTitle=string{}) |
|
virtual void | register_setting (i_setting &aSetting)=0 |
|
template<typename T > |
i_setting & | register_setting (string const &aKey, T const &aDefaultValue, setting_constraints< as_setting_t< T > > const &aSettingConstraints, string const &aFormat={}) |
|
template<typename T > |
i_setting & | register_setting (string const &aKey, T const &aDefaultValue, string const &aFormat={}) |
|
| reference_counted () noexcept |
|
| reference_counted (const reference_counted &aOther) noexcept |
|
| ~reference_counted () |
|
reference_counted & | operator= (const reference_counted &) |
|
void | add_ref () const noexcept override |
|
void | release () const override |
|
int32_t | use_count () const noexcept override |
|
const base_type * | release_and_take_ownership () const override |
|
base_type * | release_and_take_ownership () override |
|
void | pin () const noexcept override |
|
void | unpin () const override |
|
i_ref_control_block & | control_block () override |
|
| declare_event (setting_changing, const i_setting &) declare_event(setting_changed |
|
const i_setting & | declare_event (setting_deleted, const i_setting &) declare_event(settings_changed |
|
void | register_category (string const &aCategorySubkey, string const &aCategoryTitle=string{}) |
|
void | register_group (string const &aGroupSubkey, string const &aGroupTitle=string{}) |
|
template<typename T > |
i_setting & | register_setting (string const &aKey, T const &aDefaultValue, setting_constraints< as_setting_t< T > > const &aSettingConstraints, string const &aFormat={}) |
|
template<typename T > |
i_setting & | register_setting (string const &aKey, T const &aDefaultValue, string const &aFormat={}) |
|
template<typename T > |
void | change_setting (i_setting &aExistingSetting, T const &aValue, bool aApplyNow=true) |
|
virtual | ~i_reference_counted ()=default |
|
Definition at line 55 of file settings.hpp.