47 template <writable_alphabet sequence_alphabet_t = aa27, writable_alphabet structure_alphabet_t = dssp9>
49 requires (!std::is_reference_v<sequence_alphabet_t>) && (!std::is_reference_v<structure_alphabet_t>)
53 sequence_alphabet_t, structure_alphabet_t>
58 sequence_alphabet_t, structure_alphabet_t>;
82 SEQAN3_DOXYGEN_ONLY(( constexpr
structured_aa(component_type const alph) {} ))
84 SEQAN3_DOXYGEN_ONLY(( constexpr
structured_aa(indirect_component_type
const alph) {} ))
86 SEQAN3_DOXYGEN_ONLY(( constexpr
structured_aa & operator=(component_type const alph) {} ))
88 SEQAN3_DOXYGEN_ONLY(( constexpr
structured_aa &
operator=(indirect_component_type
const alph) {} ))
92 using base_type::operator=;
118 return char_is_valid_for<sequence_alphabet_type>(c);
124 template <
typename sequence_alphabet_type,
typename structure_alphabet_type>
A seqan3::alphabet_tuple_base that joins an aminoacid alphabet with a protein structure alphabet...
Definition: structured_aa.hpp:51
Provides the dssp format for protein structure.
constexpr auto to_char
Return the char representation of an alphabet object.
Definition: concept.hpp:320
Provides seqan3::aa27, container aliases and string literals.
The main SeqAn3 namespace.
sequence_alphabet_t sequence_alphabet_type
First template parameter as member type.
Definition: structured_aa.hpp:61
The CRTP base for a combined alphabet that contains multiple values of different alphabets at the sam...
Definition: alphabet_tuple_base.hpp:120
constexpr structured_aa(indirect_component_type const alph)
Construction via a value of a subtype that is assignable to one of the components.
Definition: structured_aa.hpp:84
decltype(seqan3::to_char(std::declval< alphabet_type const >())) alphabet_char_t
The char_type of the alphabet; defined as the return type of seqan3::to_char.
Definition: concept.hpp:329
structure_alphabet_t structure_alphabet_type
Second template parameter as member type.
Definition: structured_aa.hpp:63
Core alphabet concept and free function/type trait wrappers.
static constexpr bool char_is_valid(char_type const c) noexcept
Validate whether a character is valid in the sequence alphabet.
Definition: structured_aa.hpp:116
Provides seqan3::alphabet_tuple_base.
constexpr auto assign_char_to
Assign a character to an alphabet object.
Definition: concept.hpp:416