Loading...
Searching...
No Matches
align_config_score_type.hpp
Go to the documentation of this file.
// SPDX-FileCopyrightText: 2006-2025 Knut Reinert & Freie Universität Berlin
// SPDX-FileCopyrightText: 2016-2025 Knut Reinert & MPI für molekulare Genetik
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include <seqan3/alignment/configuration/detail.hpp>
#include <seqan3/core/configuration/pipeable_config_element.hpp>
#include <seqan3/utility/concept.hpp>
namespace seqan3::align_cfg
{
template <arithmetic score_t>
class score_type : private pipeable_config_element
{
public:
static_assert(std::floating_point<score_t> || std::signed_integral<score_t>,
"The selected score type must be a signed integral type or floating point type.");
using type = score_t;
constexpr score_type() = default;
constexpr score_type(score_type const &) = default;
constexpr score_type(score_type &&) = default;
constexpr score_type & operator=(score_type const &) = default;
constexpr score_type & operator=(score_type &&) = default;
~score_type() = default;
static constexpr seqan3::detail::align_config_id id{seqan3::detail::align_config_id::score_type};
};
} // 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