SeqAn3
3.0.1
The Modern C++ library for sequence analysis.
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
gapped.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
14
#pragma once
15
16
#include <
seqan3/alphabet/gap/gap.hpp
>
17
#include <
seqan3/alphabet/composite/alphabet_variant.hpp
>
18
19
namespace
seqan3
20
{
21
22
38
template
<
typename
alphabet_t>
40
requires
writable_alphabet<alphabet_t>
42
using
gapped
=
alphabet_variant<alphabet_t, gap>
;
43
44
}
// namespace seqan3
45
46
namespace
seqan3::detail
47
{
48
// ---------------------------------------------------------------------------------------------------------------------
49
// is_gapped_alphabet constexpr variable
50
// ---------------------------------------------------------------------------------------------------------------------
51
54
template
<
typename
t>
55
constexpr
bool
is_gapped_alphabet =
false
;
56
59
template
<
typename
t>
60
constexpr
bool
is_gapped_alphabet<gapped<t>> =
true
;
61
62
}
// namespace seqan3::detail
seqan3::alphabet_variant
A combined alphabet that can hold values of either of its alternatives.
Definition:
alphabet_variant.hpp:129
alphabet_variant.hpp
Provides seqan3::alphabet_variant.
gap.hpp
Provides seqan3::gap.
seqan3
The main SeqAn3 namespace.
Definition:
aligned_sequence_concept.hpp:36
writable_alphabet
Refines seqan3::alphabet and adds assignability.
seqan3
alphabet
gap
gapped.hpp
Generated on Tue Feb 18 2020 09:33:18 for SeqAn3 by
1.8.16