SeqAn3 3.1.0-rc.2
The Modern C++ library for sequence analysis.
seqan3::detail::default_validator< option_value_t > Struct Template Reference

Validator that always returns true. More...

#include <seqan3/argument_parser/validators.hpp>

+ Inheritance diagram for seqan3::detail::default_validator< option_value_t >:

Public Types

using option_value_type = option_value_t
 Type of values that are tested by validator.
 

Public Member Functions

std::string get_help_page_message () const
 Since no validation is happening the help message is empty. More...
 
void operator() (option_value_t const &) const noexcept
 Value cmp always passes validation because the operator never throws.
 

Additional Inherited Members

Detailed Description

template<typename option_value_t>
struct seqan3::detail::default_validator< option_value_t >

Validator that always returns true.

Template Parameters
option_value_tMust be a (container of) arithmetic type(s).

The default validator is needed to make the validator parameter of argument_parser::add_option and argument_parser::add_option optional.

Member Function Documentation

◆ get_help_page_message()

template<typename option_value_t >
std::string seqan3::detail::default_validator< option_value_t >::get_help_page_message ( ) const
inline

Since no validation is happening the help message is empty.

Implements validator.


The documentation for this struct was generated from the following file: