61struct argument_parsing<t &> : argument_parsing<t>
65struct argument_parsing<t const &> : argument_parsing<t>
71namespace seqan3::detail::adl_only
81template <
typename option_t>
82struct enumeration_names_cpo :
public detail::customisation_point_object<enumeration_names_cpo<option_t>, 1>
85 using base_t = detail::customisation_point_object<enumeration_names_cpo<option_t>, 1>;
92 template <
typename option_type>
93 using option_or_type_identity
95 seqan3::is_constexpr_default_constructible_v<std::remove_cvref_t<option_type>>,
102 template <
typename option_type = option_t>
117 template <
typename option_type = option_t>
167template <
typename option_type>
169 requires requires { { detail::adl_only::enumeration_names_cpo<option_type>{}() }; }
171inline auto const enumeration_names = detail::adl_only::enumeration_names_cpo<option_type>{}();
187template <
typename option_type>
190 { seqan3::enumeration_names<option_type> };
207template <
typename option_type>
226template <
typename char_t,
typename option_type>
230inline debug_stream_type<char_t> &
operator<<(debug_stream_type<char_t> & s, option_type && op)
232 for (
auto & [key, value] : enumeration_names<option_type>)
238 return s <<
"<UNKNOWN_VALUE>";
292struct argument_parser_meta_data
Provides various type traits on generic types.
The <concepts> header from C++20's standard library.
Helper utilities for defining customisation point objects (CPOs).
#define SEQAN3_CPO_OVERLOAD(...)
A macro that helps to define a seqan3::detail::customisation_point_object.
Definition: customisation_point.hpp:102
Provides seqan3::debug_stream and related types.
debug_stream_type< char_t > & operator<<(debug_stream_type< char_t > &stream, alignment_t &&alignment)
Stream operator for alignments, which are represented as tuples of aligned sequences.
Definition: debug_stream_alignment.hpp:101
auto const enumeration_names
Return a conversion map from std::string_view to option_type.
Definition: auxiliary.hpp:165
option_spec
Used to further specify argument_parser options/flags.
Definition: auxiliary.hpp:249
@ standard
The default were no checking or special displaying is happening.
Definition: auxiliary.hpp:250
@ advanced
Definition: auxiliary.hpp:256
@ hidden
Definition: auxiliary.hpp:260
@ required
Definition: auxiliary.hpp:251
Checks whether the the type can be used in an add_(positional_)option call on the argument parser.
Checks whether the free function seqan3::enumeration_names can be called on the type.
A namespace for third party and standard library specialisations of SeqAn customisation points.
Definition: char.hpp:44
The main SeqAn3 namespace.
Definition: cigar_operation_table.hpp:2
update_notifications
Indicates whether application allows automatic update notifications by the seqan3::argument_parser.
Definition: auxiliary.hpp:268
@ off
Automatic update notifications should be disabled.
@ on
Automatic update notifications should be enabled.
A type that can be specialised to provide customisation point implementations for the seqan3::argumen...
Definition: auxiliary.hpp:53
The <type_traits> header from C++20's standard library.