SeqAn3  3.0.2
The Modern C++ library for sequence analysis.
result_type.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik
4 // This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5 // shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6 // -----------------------------------------------------------------------------------------------------
7 
13 #pragma once
14 
15 #include <seqan3/std/type_traits>
16 
21 
22 namespace seqan3::search_cfg::detail
23 {
24 
41 template <typename search_result_t>
43  requires seqan3::detail::is_type_specialisation_of_v<search_result_t, search_result>
45 class result_type : public pipeable_config_element<result_type<search_result_t>>
46 {
47 public:
49  using type = search_result_t;
50 
54  constexpr result_type() = default;
55  constexpr result_type(result_type const &) = default;
56  constexpr result_type(result_type &&) = default;
57  constexpr result_type & operator=(result_type const &) = default;
58  constexpr result_type & operator=(result_type &&) = default;
59  ~result_type() = default;
60 
63  static constexpr seqan3::detail::search_config_id id{seqan3::detail::search_config_id::result_type};
64 };
65 } // namespace seqan3::search_cfg::detail
type_traits
Provides C++20 additions to the type_traits header.
detail.hpp
Provides compatibility matrix for search configurations.
template_inspection.hpp
Provides seqan3::type_list and auxiliary type traits.
pipeable_config_element.hpp
Provides seqan3::pipeable_config_element.
search_result.hpp
Provides seqan3::search_result.