|
| 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 |
|
virtual void | register_category (i_string const &aCategorySubkey, i_string const &aCategoryTitle=string{})=0 |
|
virtual void | register_group (i_string const &aGroupSubkey, i_string const &aGroupTitle=string{})=0 |
|
virtual void | register_setting (i_setting &aSetting)=0 |
|
virtual i_map< i_string, i_string > const & | all_categories () const =0 |
|
virtual i_string const & | category_title (i_string const &aCategorySubkey) const =0 |
|
virtual i_map< i_string, i_map< i_string, i_string > > const & | all_groups () const =0 |
|
virtual i_string const & | group_title (i_string const &aGroupSubkey) const =0 |
|
virtual i_map< i_string, i_ref_ptr< i_setting > > const & | all_settings () const =0 |
|
virtual i_vector< i_ref_ptr< i_setting > > const & | all_settings_ordered () const =0 |
|
virtual i_setting const & | setting (i_string const &aKey) const =0 |
|
virtual i_setting & | setting (i_string const &aKey)=0 |
|
virtual void | change_setting (i_setting &aExistingSetting, i_setting_value const &aValue, bool aApplyNow=true)=0 |
|
virtual void | delete_setting (i_setting &aExistingSetting)=0 |
|
virtual void | apply_changes ()=0 |
|
virtual void | discard_changes ()=0 |
|
virtual bool | modified () const =0 |
|
virtual void | register_friendly_text (i_setting const &aSetting, i_string const &aText, i_string const &aFriendlyText)=0 |
|
virtual i_string const & | friendly_text (i_setting const &aSetting, i_string const &aText) const =0 |
|
virtual void | load ()=0 |
|
virtual void | save () const =0 |
|
virtual void | changing_setting (i_setting const &aSetting)=0 |
|
virtual void | changed_setting (i_setting const &aSetting)=0 |
|
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 |
|
virtual void | add_ref () const noexcept=0 |
|
virtual void | release () const =0 |
|
virtual int32_t | use_count () const noexcept=0 |
|
virtual const i_reference_counted * | release_and_take_ownership () const =0 |
|
virtual i_reference_counted * | release_and_take_ownership ()=0 |
|
virtual void | pin () const noexcept=0 |
|
virtual void | unpin () const =0 |
|
virtual i_ref_control_block & | control_block ()=0 |
|
Definition at line 63 of file i_settings.hpp.