SeqAn3
3.0.1
The Modern C++ library for sequence analysis.
▼
SeqAn3
Welcome
►
Setup
►
Tutorial
►
How-To
►
About
►
API Reference (Modules)
▼
API Reference (details)
►
Namespace List
►
Class List
▼
File List
►
File List
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
gap.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 <
cassert
>
17
18
#include <
seqan3/alphabet/alphabet_base.hpp
>
19
20
namespace
seqan3
21
{
22
36
class
gap
:
public
alphabet_base
<gap, 1, char>
37
{
38
private
:
40
using
base_t
=
alphabet_base<gap, 1, char>
;
41
43
friend
base_t
;
44
46
static
constexpr
char
char_value =
'-'
;
47
48
public
:
52
constexpr
gap
() noexcept :
base_t
{} {}
53
constexpr
gap
(
gap
const
&) =
default
;
54
constexpr
gap
(
gap
&&) =
default
;
55
constexpr
gap
&
operator=
(
gap
const
&) =
default
;
56
constexpr
gap
&
operator=
(
gap
&&) =
default
;
57
~gap
() =
default
;
58
59
using
base_t::base_t;
61
};
62
63
}
seqan3::gap
The alphabet of a gap character '-'.
Definition:
gap.hpp:36
alphabet_base.hpp
Provides seqan3::alphabet_base.
seqan3::gap::operator=
constexpr gap & operator=(gap const &)=default
Defaulted.
seqan3::alphabet_base
A CRTP-base that makes defining a custom alphabet easier.
Definition:
alphabet_base.hpp:51
seqan3
The main SeqAn3 namespace.
Definition:
aligned_sequence_concept.hpp:36
seqan3::gap::gap
constexpr gap() noexcept
Defaulted.
Definition:
gap.hpp:52
cassert
seqan3::gap::~gap
~gap()=default
Defaulted.
Version:
main_user
main_dev
3.4.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
seqan3
alphabet
gap
gap.hpp
Generated on Tue Feb 18 2020 09:33:18 for SeqAn3 by
1.8.16