SeqAn3  3.0.2
The Modern C++ library for sequence analysis.
scoring_scheme_policy.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/core/platform.hpp>
16 
17 namespace seqan3::detail
18 {
19 
30 template <typename alignment_algorithm_t, typename scoring_scheme_t>
31 class scoring_scheme_policy
32 {
33 private:
35  friend alignment_algorithm_t;
36 
40  constexpr scoring_scheme_policy() noexcept = default;
43  constexpr scoring_scheme_policy(scoring_scheme_policy const &) noexcept = default;
45  constexpr scoring_scheme_policy(scoring_scheme_policy &&) noexcept = default;
47  constexpr scoring_scheme_policy & operator=(scoring_scheme_policy const &) noexcept = default;
49  constexpr scoring_scheme_policy & operator=(scoring_scheme_policy &&) noexcept = default;
51  ~scoring_scheme_policy() noexcept = default;
52 
54  template <typename configuration_t>
55  scoring_scheme_policy(configuration_t const & /*config*/)
56  {}
58 
60  scoring_scheme_t scoring_scheme{};
61 };
62 
63 } // namespace seqan3::detail
platform.hpp
Provides platform and dependency checks.