61 virtual std::string
name()
const override;
62 virtual bool validate(std::string
const & value)
const override;
static constexpr flag_t VALIDATOR_DURATION_DEFAULT_FLAGS
static bool convert_string(std::string const &duration, flag_t flags, double &result)
Convert a string to a double value representing a duration.
virtual std::string name() const override
Return the name of this validator.
virtual bool validate(std::string const &value) const override
Determine whether value is a valid duration.
static constexpr flag_t VALIDATOR_DURATION_LONG
The advgetopt environment to parse command line options.
constexpr flag_t option_flags_merge()
std::vector< std::string > string_list_t
Declaration of validators which can be used to verify the parameters.