SeqAn3  3.0.0
The Modern C++ library for sequence analysis.
align_config_result.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2019, 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 
18 
19 namespace seqan3::detail
20 {
21 
25 struct with_score_type
26 {};
27 
31 struct with_back_coordinate_type
32 {};
33 
37 struct with_front_coordinate_type
38 {};
39 
44 struct with_alignment_type
45 {};
46 
47 } // namespace seqan3::detail
48 
49 namespace seqan3
50 {
51 
54 inline constexpr detail::with_score_type with_score{};
57 inline constexpr detail::with_back_coordinate_type with_back_coordinate{};
60 inline constexpr detail::with_front_coordinate_type with_front_coordinate{};
63 inline constexpr detail::with_alignment_type with_alignment{};
64 
65 } // namespace seqan3
66 
67 namespace seqan3::align_cfg
68 {
69 
90 template <typename with_type = detail::with_score_type>
97 class result : public pipeable_config_element<result<with_type>, with_type>
98 {
99 public:
102  static constexpr detail::align_config_id id{detail::align_config_id::result};
103 };
104 
111 
113 template <typename with_type>
116 } // namespace seqan3::align_cfg
Sets the result of the alignment computation.
Definition: align_config_result.hpp:97
Adds pipe interface to configuration elements.
Definition: pipeable_config_element.hpp:30
The main SeqAn3 namespace.
A special sub namespace for the alignment configurations.
Definition: align_config_aligned_ends.hpp:514
Provides seqan3::alignment_result.
Provides some utility functions for the alignment configurations.
Provides seqan3::pipeable_config_element.
Definition: aligned_sequence_concept.hpp:35
The concept std::Same<T, U> is satisfied if and only if T and U denote the same type.