GnuCash 7574033+
Loading...
Searching...
No Matches
GncOptionRangeValue< ValueType > Class Template Reference

Used for numeric ranges and plot sizes. More...

#include <gnc-option-impl.hpp>

Inheritance diagram for GncOptionRangeValue< ValueType >:
OptionClassifier

Public Member Functions

 GncOptionRangeValue (const char *section, const char *name, const char *key, const char *doc_string, ValueType value, ValueType min, ValueType max, ValueType step)
 GncOptionRangeValue (const char *section, const char *name, const char *key, const char *doc_string, ValueType value, ValueType min, ValueType max, ValueType step, GncOptionUIType ui)
 GncOptionRangeValue (const GncOptionRangeValue< ValueType > &)=default
 GncOptionRangeValue (GncOptionRangeValue< ValueType > &&)=default
GncOptionRangeValue< ValueType > & operator= (const GncOptionRangeValue< ValueType > &)=default
GncOptionRangeValue< ValueType > & operator= (GncOptionRangeValue< ValueType > &&)=default
ValueType get_value () const
ValueType get_default_value () const
bool validate (ValueType value)
void set_value (ValueType value)
void set_default_value (ValueType value)
void get_limits (ValueType &upper, ValueType &lower, ValueType &step) const noexcept
void reset_default_value ()
void mark_saved () noexcept
bool is_dirty () const noexcept
bool is_changed () const noexcept
GncOptionUIType get_ui_type () const noexcept
void make_internal ()
bool is_internal ()
bool is_alternate () const noexcept
void set_alternate (bool value) noexcept
std::string serialize () const noexcept
bool deserialize (const std::string &str) noexcept

Additional Inherited Members

Data Fields inherited from OptionClassifier
std::string m_section
std::string m_name
std::string m_sort_tag
std::string m_doc_string

Detailed Description

template<typename ValueType>
class GncOptionRangeValue< ValueType >

Used for numeric ranges and plot sizes.

Definition at line 397 of file gnc-option-impl.hpp.


The documentation for this class was generated from the following files: