SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::detail::default_validator< option_value_t > Struct Template Reference

Validator that always returns true. More...

+ 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.
 
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.

Remarks
For a complete overview, take a look at Argument Parser

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:
Hide me