 |
SeqAn3
3.0.1
The Modern C++ library for sequence analysis.
|
|
Go to the documentation of this file.
58 struct argument_parsing<t &> : argument_parsing<t>
62 struct argument_parsing<t const &> : argument_parsing<t>
68 namespace seqan3::detail::adl_only
81 template <
typename option_t>
82 struct enumeration_names_fn
86 seqan3::is_constexpr_default_constructible_v<remove_cvref_t<option_t>>,
87 remove_cvref_t<option_t>,
94 template <
typename dummy =
int>
98 { impl(priority_tag<1>{}, s_option_t{}, dummy{}) };
99 std::same_as<decltype(impl(priority_tag<1>{}, s_option_t{}, dummy{})),
103 auto operator()()
const
105 return impl(priority_tag<1>{}, s_option_t{});
150 template <
typename option_type>
152 requires requires { { detail::adl_only::enumeration_names_fn<option_type>{}() }; }
167 template <
typename option_type>
171 { seqan3::enumeration_names<option_type> };
185 template <
typename option_type>
205 template <
typename char_t,
typename option_type>
211 for (
auto & [key, value] : enumeration_names<option_type>)
217 return s <<
"<UNKNOWN_VALUE>";
option_spec
Used to further specify argument_parser options/flags.
Definition: auxiliary.hpp:231
Provides C++20 additions to the type_traits header.
const auto enumeration_names
Return a conversion map from std::string_view to option_type.
Definition: auxiliary.hpp:154
#define SEQAN3_CPO_IMPL(PRIO, TERM)
A macro that helps defining the overload set of a customisation point.
Definition: customisation_point.hpp:45
The default were no checking or special displaying is happening.
Definition: auxiliary.hpp:233
Provides various type traits on generic types.
Provides seqan3::debug_stream and related types.
A "pretty printer" for most SeqAn data structures and related types.
Definition: debug_stream_type.hpp:70
The concept std::same_as<T, U> is satisfied if and only if T and U denote the same type.
Definition: auxiliary.hpp:234
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:36
Checks whether the free function seqan3::enumeration_names can be called on the type.
Checks whether the the type can be used in an add_(positional_)option call on the argument parser.
debug_stream_type< char_t > & operator<<(debug_stream_type< char_t > &stream, tuple_t const &alignment)
Stream operator for alignments, which are represented as tuples of aligned sequences.
Definition: aligned_sequence_concept.hpp:559
The identity transformation (a transformation_trait that returns the input).
Definition: type_traits:31
Definition: auxiliary.hpp:243
A type that can be specialised to provide customisation point implementations for the seqan3::argumen...
Definition: auxiliary.hpp:49
Definition: auxiliary.hpp:239
A namespace for third party and standard library specialisations of SeqAn customisation points.
Definition: char.hpp:42
Helper utilities for defining customisation point objects.