SeqAn3  3.1.0-rc.1
The Modern C++ library for sequence analysis.
align_config_result_type.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2021, 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 
20 
22 {
42 template <typename alignment_result_t>
44  requires seqan3::detail::is_type_specialisation_of_v<alignment_result_t, seqan3::alignment_result>
47 {
48 public:
50  using type = alignment_result_t;
51 
55  constexpr result_type() = default;
56  constexpr result_type(result_type const &) = default;
57  constexpr result_type(result_type &&) = default;
58  constexpr result_type & operator=(result_type const &) = default;
59  constexpr result_type & operator=(result_type &&) = default;
60  ~result_type() = default;
61 
63 
66 };
67 } // namespace seqan3::align_cfg::detail
Provides some utility functions for the alignment configurations.
Provides seqan3::alignment_result.
Configuration element capturing the configured seqan3::alignment_result for the alignment algorithm.
Definition: align_config_result_type.hpp:47
constexpr result_type()=default
Defaulted.
constexpr result_type(result_type const &)=default
Defaulted.
constexpr result_type & operator=(result_type const &)=default
Defaulted.
constexpr result_type & operator=(result_type &&)=default
Defaulted.
alignment_result_t type
The result type.
Definition: align_config_result_type.hpp:50
constexpr result_type(result_type &&)=default
Defaulted.
align_config_id
An internal enum to check for a consistent configuration object.
Definition: detail.hpp:24
@ result_type
ID for the result_type option.
The internal SeqAn3 namespace.
Definition: align_config_debug.hpp:20
Provides seqan3::pipeable_config_element.
Adds pipe interface to configuration elements.
Definition: pipeable_config_element.hpp:30
Provides C++20 additions to the type_traits header.