59 virtual std::string
name()
const override;
60 virtual bool validate(std::string
const & value)
const override;
70 double f_minimum = std::numeric_limits<double>::min();
71 double f_maximum = std::numeric_limits<double>::max();
virtual bool validate(std::string const &value) const override
Determine whether value is a double.
virtual std::string name() const override
Return the name of this validator.
range_t::vector_t f_allowed_values
bool(* to_double_t)(std::string const &number, double &result)
static bool convert_string(std::string const &number, double &result)
Convert a string to a double value.
The advgetopt environment to parse command line options.
constexpr flag_t option_flags_merge()
std::vector< std::string > string_list_t
std::vector< range_t > vector_t
Declaration of validators which can be used to verify the parameters.