SeqAn3  3.2.0
The Modern C++ library for sequence analysis.
align_config_result_type.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2022, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2022, 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 <type_traits>
16 
20 
21 namespace seqan3::align_cfg::detail
22 {
42 template <typename alignment_result_t>
43  requires seqan3::detail::is_type_specialisation_of_v<alignment_result_t, seqan3::alignment_result>
44 class result_type : private pipeable_config_element
45 {
46 public:
48  using type = alignment_result_t;
49 
53  constexpr result_type() = default;
54  constexpr result_type(result_type const &) = default;
55  constexpr result_type(result_type &&) = default;
56  constexpr result_type & operator=(result_type const &) = default;
57  constexpr result_type & operator=(result_type &&) = default;
58  ~result_type() = default;
59 
61 
63  static constexpr seqan3::detail::align_config_id id{seqan3::detail::align_config_id::result_type};
64 };
65 } // namespace seqan3::align_cfg::detail
Provides seqan3::alignment_result.
requires requires
The rank_type of the semi-alphabet; defined as the return type of seqan3::to_rank....
Definition: alphabet/concept.hpp:164
Provides seqan3::pipeable_config_element.