120 friend constexpr
bool operator==(
gap const &,
gap const &) noexcept
125 friend constexpr
bool operator!=(
gap const &,
gap const &) noexcept
130 friend constexpr
bool operator<(
gap const &,
gap const &) noexcept
135 friend constexpr
bool operator>(
gap const &,
gap const &) noexcept
140 friend constexpr
bool operator<=(
gap const &,
gap const &) noexcept
145 friend constexpr
bool operator>=(
gap const &,
gap const &) noexcept
152 constexpr
gap gap::GAP{};
char char_type
The type of the alphabet when converted to char (e.g. via to_char()).
Definition: gap.hpp:65
The alphabet of a gap character '-'.
Definition: gap.hpp:62
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:58
bool rank_type
The type of the alphabet when represented as a number (e.g. via to_rank()).
Definition: gap.hpp:67
constexpr rank_type to_rank() const noexcept
Return the letter's numeric value or rank in the alphabet. (returns always 0)
Definition: gap.hpp:90
constexpr gap & assign_rank([[maybe_unused]] rank_type const i) noexcept
Assign from a numeric value (no-op, since gap has only one character).
Definition: gap.hpp:108
static constexpr rank_type value_size
The size of the alphabet, i.e. the number of different values it can take.
Definition: gap.hpp:116
constexpr gap & assign_char([[maybe_unused]] char_type const c) noexcept
Assign from a character (no-op, since gap has only one character).
Definition: gap.hpp:101
constexpr char_type to_char() const noexcept
Return the letter as a character of char_type (returns always '-').
Definition: gap.hpp:84