54template <std::move_constructible callback_t>
80 static constexpr seqan3::detail::search_config_id
id{seqan3::detail::search_config_id::on_result};
87template <std::move_constructible callback_t>
Configuration element to provide a user defined callback function for the search.
Definition: on_result.hpp:56
constexpr on_result & operator=(on_result const &)=default
Defaulted.
seqan3::semiregular_box_t< callback_t > callback
The stored callable which will be invoked with the search result.
Definition: on_result.hpp:59
constexpr on_result()=default
Defaulted.
constexpr on_result(on_result &&)=default
Defaulted.
constexpr on_result(on_result const &)=default
Defaulted.
constexpr on_result(callback_t callback)
Constructs the configuration element with the given user callback.
Definition: on_result.hpp:74
~on_result()=default
Defaulted.
constexpr on_result & operator=(on_result &&)=default
Defaulted.
::ranges::semiregular_box_t semiregular_box_t
Utility transformation trait to get a wrapper type that models std::semiregular. Imported from ranges...
Definition: semiregular_box.hpp:35
A special sub namespace for the search configurations.
on_result(callback_t &&) -> on_result< std::decay_t< callback_t > >
Deduces the callback type from a forwarding constructor argument.
SeqAn specific customisations in the standard namespace.
Provides seqan3::pipeable_config_element.
Provides seqan3::semiregular_box.
Adds pipe interface to configuration elements.
Definition: pipeable_config_element.hpp:32