Provides seqan3::alphabet_base.
A CRTP-base that makes defining a custom alphabet easier.
Definition alphabet_base.hpp:54
static constexpr detail::min_viable_uint_t< size > alphabet_size
The size of the alphabet, i.e. the number of different values it can take.
Definition alphabet_base.hpp:196
rank_type rank
The value of the alphabet letter is stored as the rank.
Definition alphabet_base.hpp:258
The actual implementation of seqan3::cigar::operation for documentation purposes only.
Definition cigar_operation.hpp:45
static constexpr std::array< rank_type, 256 > char_to_rank_table
The lookup table used in char_to_rank.
Definition cigar_operation.hpp:71
static constexpr char_type rank_to_char(rank_type const rank)
Returns the character representation of rank.
Definition cigar_operation.hpp:85
constexpr cigar_operation() noexcept=default
Defaulted.
static constexpr rank_type char_to_rank(char_type const chr)
Returns the rank representation of character.
Definition cigar_operation.hpp:91
friend base_t
Befriend seqan3::alphabet_base.
Definition cigar_operation.hpp:51
static constexpr char_type rank_to_char_table[alphabet_size]
The lookup table used in rank_to_char.
Definition cigar_operation.hpp:68
A namespace for SeqAn entities that are intended for documentation purposes only.
Definition cigar_operation.hpp:19