75 constexpr dssp9() noexcept = default;
78 constexpr
dssp9 & operator=(
dssp9 const &) noexcept = default;
79 constexpr
dssp9 & operator=(
dssp9 &&) noexcept = default;
88 'H',
'B',
'E',
'G',
'I',
'T',
'S',
'C',
'X'
105 ret[
static_cast<rank_type>(rank_to_char_table[rnk])] = rnk;
115 return rank_to_char_table[rank];
122 return char_to_rank_table[
static_cast<index_t
>(chr)];
126inline namespace literals
142constexpr dssp9 operator""_dssp9(
char const ch)
noexcept
163 for (
size_t idx = 0u; idx < len; ++idx)
164 vec[idx].assign_char(str[idx]);
Core alphabet concept and free function/type trait wrappers.
Provides seqan3::alphabet_base.
A CRTP-base that makes defining a custom alphabet easier.
Definition: alphabet_base.hpp:57
constexpr derived_type & assign_char(char_type const chr) noexcept
Assign from a character, implicitly converts invalid characters.
Definition: alphabet_base.hpp:165
detail::min_viable_uint_t< size - 1 > rank_type
The type of the alphabet when represented as a number (e.g. via to_rank()).
Definition: alphabet_base.hpp:80
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:203
std::conditional_t< std::same_as< char, void >, char, char > char_type
The char representation; conditional needed to make semi alphabet definitions legal.
Definition: alphabet_base.hpp:72
The protein structure alphabet of the characters "HGIEBTSCX"..
Definition: dssp9.hpp:63
constexpr dssp9() noexcept=default
Defaulted.
The main SeqAn3 namespace.
Definition: cigar_operation_table.hpp:2