SeqAn3
3.4.0
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Loading...
Searching...
No Matches
align_config_score_type.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
9
10
#pragma once
11
12
#include <
seqan3/alignment/configuration/detail.hpp
>
13
#include <
seqan3/core/configuration/pipeable_config_element.hpp
>
14
#include <
seqan3/utility/concept.hpp
>
15
16
namespace
seqan3::align_cfg
17
{
31
template
<arithmetic score_t>
32
class
score_type
:
private
pipeable_config_element
33
{
34
public
:
35
static_assert
(std::floating_point<score_t> || std::signed_integral<score_t>,
36
"The selected score type must be a signed integral type or floating point type."
);
37
39
using
type
= score_t;
40
44
constexpr
score_type
() =
default
;
45
constexpr
score_type
(
score_type
const
&) =
default
;
46
constexpr
score_type
(
score_type
&&) =
default
;
47
constexpr
score_type
&
operator=
(
score_type
const
&) =
default
;
48
constexpr
score_type
&
operator=
(
score_type
&&) =
default
;
49
~score_type
() =
default
;
50
52
55
static
constexpr
seqan3::detail::align_config_id
id
{seqan3::detail::align_config_id::score_type};
56
};
57
58
}
// namespace seqan3::align_cfg
detail.hpp
Provides some utility functions for the alignment configurations.
seqan3::align_cfg::score_type::~score_type
~score_type()=default
Defaulted.
seqan3::align_cfg::score_type::score_type
constexpr score_type(score_type const &)=default
Defaulted.
seqan3::align_cfg::score_type::score_type
constexpr score_type(score_type &&)=default
Defaulted.
seqan3::align_cfg::score_type::operator=
constexpr score_type & operator=(score_type &&)=default
Defaulted.
seqan3::align_cfg::score_type::type
score_t type
The selected score type.
Definition
align_config_score_type.hpp:39
seqan3::align_cfg::score_type::score_type
constexpr score_type()=default
Defaulted.
seqan3::align_cfg::score_type::operator=
constexpr score_type & operator=(score_type const &)=default
Defaulted.
seqan3::align_cfg
A special sub namespace for the alignment configurations.
Definition
align_config_band.hpp:22
pipeable_config_element.hpp
Provides seqan3::pipeable_config_element.
seqan3::pipeable_config_element
Adds pipe interface to configuration elements.
Definition
pipeable_config_element.hpp:29
concept.hpp
Provides concepts that do not have equivalents in C++20.
Hide me
Version:
seqan3
alignment
configuration
align_config_score_type.hpp
Generated on
for SeqAn3 by
1.17.0