#include <input_validator.h>
|
| DoubleRangeValidator (double minValue, double maxValue, bool is_min_inclusive=true, bool is_max_inclusive=true) |
|
| DoubleRangeValidator (std::function< std::pair< double, double >()> range_func) |
|
| DoubleRangeValidator (std::function< std::tuple< double, double, bool, bool >()> range_func) |
|
bool | isValid (std::string value) override |
|
std::string | getMessage (std::string value) override |
| Returns a meaningful message in case the value is not valid. More...
|
|
Definition at line 194 of file input_validator.h.
arcs::aubo_scope::DoubleRangeValidator::DoubleRangeValidator |
( |
double |
minValue, |
|
|
double |
maxValue, |
|
|
bool |
is_min_inclusive = true , |
|
|
bool |
is_max_inclusive = true |
|
) |
| |
|
inline |
arcs::aubo_scope::DoubleRangeValidator::DoubleRangeValidator |
( |
std::function< std::pair< double, double >()> |
range_func | ) |
|
|
inline |
arcs::aubo_scope::DoubleRangeValidator::DoubleRangeValidator |
( |
std::function< std::tuple< double, double, bool, bool >()> |
range_func | ) |
|
|
inline |
std::string arcs::aubo_scope::DoubleRangeValidator::getMessage |
( |
std::string |
value | ) |
|
|
inlineoverridevirtual |
bool arcs::aubo_scope::DoubleRangeValidator::isValid |
( |
std::string |
value | ) |
|
|
inlineoverridevirtual |
void arcs::aubo_scope::DoubleRangeValidator::updateValue |
( |
| ) |
|
|
inlineprivate |
bool arcs::aubo_scope::DoubleRangeValidator::is_max_inclusive_ { true } |
|
private |
bool arcs::aubo_scope::DoubleRangeValidator::is_min_inclusive_ { true } |
|
private |
double arcs::aubo_scope::DoubleRangeValidator::max_value_ { DBL_MAX } |
|
private |
double arcs::aubo_scope::DoubleRangeValidator::min_value_ { DBL_MIN } |
|
private |
std::function<std::pair<double, double>)> arcs::aubo_scope::DoubleRangeValidator::range_func_ |
|
private |
std::function<std::tuple<double, double, bool, bool>)> arcs::aubo_scope::DoubleRangeValidator::range_func_with_flags_ |
|
private |
The documentation for this struct was generated from the following file: