61 virtual std::string
name()
const override;
62 virtual bool validate(std::string
const & value)
const override;
64#pragma GCC diagnostic push
65#pragma GCC diagnostic ignored "-Wpedantic"
69#pragma GCC diagnostic pop
static constexpr flag_t VALIDATOR_SIZE_POWER_OF_TWO
static bool convert_string(std::string const &size, flag_t flags, __int128 &result)
Convert a string to a large integer (128 bits) value representing a size.
static constexpr flag_t VALIDATOR_SIZE_DEFAULT_FLAGS
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 size.
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.