53 bool aOptional =
false,
54 bool aInitiallyDisabled =
false,
58 i_vector<i_setting_value>
const& aAllowableValues = vector<setting_value_type>{}) :
59 iInitiallyDisabled{ aInitiallyDisabled },
60 iOptional{ aOptional },
61 iMinimumValue{ aMinimumValue },
62 iMaximumValue{ aMaximumValue },
63 iStepValue{ aStepValue },
64 iAllowableValues{ aAllowableValues }
81 return iInitiallyDisabled;
85 return iMinimumValue.
is_set();
89 return iMaximumValue.
is_set();
93 return iStepValue.
is_set();
97 return !iAllowableValues.empty();
101 return iMinimumValue;
105 return iMaximumValue;
113 return iAllowableValues;
117 bool iInitiallyDisabled;
setting_value_type const & step_value() const override
bool initially_disabled() const override
setting_value< value_type > setting_value_type
vector< setting_value_type > const & allowable_values() const override
bool has_minimum_value() const override
setting_constraints(i_setting_constraints const &aOther)
bool has_step_value() const override
setting_value_type const & minimum_value() const override
bool optional() const override
setting_value_type const & maximum_value() const override
bool has_allowable_values() const override
bool has_maximum_value() const override
setting_constraints(bool aOptional=false, bool aInitiallyDisabled=false, setting_value_type const &aMinimumValue=setting_value_type{}, setting_value_type const &aMaximumValue=setting_value_type{}, setting_value_type const &aStepValue=setting_value_type{}, i_vector< i_setting_value > const &aAllowableValues=vector< setting_value_type >{})
bool is_set() const override