|
| define_declared_event (Changing, changing) define_declared_event(Changed |
|
| setting (i_settings &aManager, i_string const &aKey, T const &aDefaultValue, i_setting_constraints const &aConstraints=setting_constraints< T >{}, i_string const &aFormat=string{}) |
|
| setting (const self_type &aOther) |
|
| setting (const i_setting &aSetting) |
|
i_settings & | manager () const override |
|
string const & | key () const override |
|
setting_constraints< T > const & | constraints () const override |
|
string const & | format () const override |
|
bool | hidden () const override |
|
bool | is_enabled () const override |
|
void | set_enabled (bool aEnabled) override |
|
bool | is_default (bool aUnappliedNew=false) const override |
|
bool | modified () const override |
|
i_setting_value const & | default_value () const override |
|
i_setting_value const & | value (bool aUnappliedNew=false) const override |
|
i_setting_value const & | modified_value () const override |
|
void | value_as_string (i_string &aValue, bool aUnappliedNew=false) const override |
|
void | set_default_value (i_setting_value const &aDefaultValue) override |
|
void | set_value (i_setting_value const &aNewValue) override |
|
void | set_value_from_string (i_string const &aNewValue) override |
|
void | clear () override |
|
virtual i_setting_value const & | value (bool aUnappliedNew=false) const=0 |
|
template<typename T > |
abstract_return_t< const T > | value (bool aUnappliedNew=false) const |
|
virtual i_setting_value const & | modified_value () const=0 |
|
template<typename T > |
abstract_return_t< const T > | modified_value () const |
|
virtual void | value_as_string (i_string &aValue, bool aUnappliedNew=false) const=0 |
|
std::string | value_as_string (bool aUnappliedNew=false) const |
|
virtual void | set_default_value (i_setting_value const &aDefaultValue)=0 |
|
template<typename T > |
void | set_default_value (T const &aDefaultValue, std::enable_if_t<!std::is_convertible_v< T &, i_setting_value & >, sfinae >={}) |
|
virtual void | set_value (i_setting_value const &aNewValue)=0 |
|
template<typename T > |
void | set_value (T const &aNewValue, std::enable_if_t<!std::is_convertible_v< T &, i_setting_value & >, sfinae >={}) |
|
| 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 |
|
bool | enabled () const |
|
bool | disabled () const |
|
void | enable () |
|
void | disabled () |
|
template<typename T > |
abstract_return_t< const T > | value (bool aUnappliedNew=false) const |
|
template<typename T > |
abstract_return_t< const T > | modified_value () const |
|
std::string | value_as_string (bool aUnappliedNew=false) const |
|
template<typename T > |
void | set_default_value (T const &aDefaultValue, std::enable_if_t<!std::is_convertible_v< T &, i_setting_value & >, sfinae >={}) |
|
template<typename T > |
void | set_value (T const &aNewValue, std::enable_if_t<!std::is_convertible_v< T &, i_setting_value & >, sfinae >={}) |
|
template<typename T > |
void | apply_value (T const &aNewValue, std::enable_if_t<!std::is_convertible_v< T &, i_setting_value & >, sfinae >={}) |
|
i_setting & | operator= (i_setting const &aRhs) |
|
i_setting & | operator= (i_setting_value const &aRhs) |
|
template<typename T > |
i_setting & | operator= (T const &aNewValue) |
|
virtual | ~i_reference_counted ()=default |
|
template<
typename T>
class neolib::setting< T >
Definition at line 51 of file setting.hpp.