53template <std::copy_constructible callback_t>
58 seqan3::detail::copyable_wrapper_t<callback_t>
callback{};
79 static constexpr seqan3::detail::search_config_id
id{seqan3::detail::search_config_id::on_result};
86template <std::copy_constructible callback_t>
Configuration element to provide a user defined callback function for the search.
Definition: on_result.hpp:55
constexpr on_result & operator=(on_result const &)=default
Defaulted.
constexpr on_result(callback_t &&callback)
Constructs the configuration element with the given user callback.
Definition: on_result.hpp:73
constexpr on_result()=default
Defaulted.
constexpr on_result(on_result &&)=default
Defaulted.
constexpr on_result(on_result const &)=default
Defaulted.
seqan3::detail::copyable_wrapper_t< callback_t > callback
The stored callable which will be invoked with the search result.
Definition: on_result.hpp:58
~on_result()=default
Defaulted.
constexpr on_result & operator=(on_result &&)=default
Defaulted.
Provides seqan3::detail::copyable_wrapper.
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.
Adds pipe interface to configuration elements.
Definition: pipeable_config_element.hpp:32