SeqAn3
3.4.0
The Modern C++ library for sequence analysis.
Toggle main menu visibility
Loading...
Searching...
No Matches
search_common.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 <
tuple
>
13
14
#include <
seqan3/core/platform.hpp
>
15
16
namespace
seqan3::detail
17
{
18
21
struct
search_param
22
{
24
uint8_t total{};
26
uint8_t substitution{};
28
uint8_t insertion{};
30
uint8_t deletion{};
31
33
constexpr
friend
bool
operator==(search_param
const
& lhs, search_param
const
& rhs)
noexcept
34
{
35
return
std::tie
(lhs.total, lhs.substitution, lhs.insertion, lhs.deletion)
36
==
std::tie
(rhs.total, rhs.substitution, rhs.insertion, rhs.deletion);
37
}
38
40
constexpr
friend
bool
operator!=(search_param
const
& lhs, search_param
const
& rhs)
noexcept
41
{
42
return
!(lhs == rhs);
43
}
44
};
45
46
}
// namespace seqan3::detail
platform.hpp
Provides platform and dependency checks.
std::tie
T tie(T... args)
tuple
Hide me
Version:
seqan3
search
detail
search_common.hpp
Generated on
for SeqAn3 by
1.17.0