18 namespace seqan3::detail
27 template <
typename search_configuration_t>
29 requires is_type_specialisation_of_v<remove_cvref_t<search_configuration_t>, configuration>
34 static constexpr
bool search_with_max_error = search_configuration_t::template exists<search_cfg::max_error>();
36 static constexpr
bool search_with_max_error_rate =
37 search_configuration_t::template exists<search_cfg::max_error_rate>();
39 static constexpr
bool has_error_configuration = search_with_max_error | search_with_max_error_rate;
42 static constexpr
bool search_all_hits =
43 search_configuration_t::template exists<search_cfg::mode<detail::search_mode_all>>();
45 static constexpr
bool search_best_hits =
46 search_configuration_t::template exists<search_cfg::mode<detail::search_mode_best>>();
48 static constexpr
bool search_all_best_hits =
49 search_configuration_t::template exists<search_cfg::mode<detail::search_mode_all_best>>();
51 static constexpr
bool search_strata_hits =
52 search_configuration_t::template exists<search_cfg::mode<search_cfg::strata>>();
54 static constexpr
bool has_mode_configuration = search_all_hits |
56 search_all_best_hits |
60 static constexpr
bool search_return_index_cursor =
61 search_configuration_t::template exists<search_cfg::output<detail::search_output_index_cursor>>();
63 static constexpr
bool search_return_text_position =
64 search_configuration_t::template exists<search_cfg::output<detail::search_output_text_position>>();
66 static constexpr
bool has_output_configuration = search_return_index_cursor | search_return_text_position;