 |
SeqAn3
3.0.1
The Modern C++ library for sequence analysis.
|
|
Go to the documentation of this file.
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=;
97 constexpr
structured_aa & assign_char(char_type
const c) noexcept
108 constexpr char_type
to_char() const noexcept
118 return char_is_valid_for<sequence_alphabet_type>(c);
124 template <
typename sequence_alphabet_type,
typename structure_alphabet_type>
125 structured_aa(sequence_alphabet_type &&, structure_alphabet_type &&)
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
The CRTP base for a combined alphabet that contains multiple values of different alphabets at the sam...
Definition: alphabet_tuple_base.hpp:120
sequence_alphabet_t sequence_alphabet_type
First template parameter as member type.
Definition: structured_aa.hpp:61
constexpr auto to_char
Return the char representation of an alphabet object.
Definition: concept.hpp:320
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::aa27, container aliases and string literals.
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
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:36
Provides the dssp format for protein structure.
Provides seqan3::alphabet_tuple_base.
structure_alphabet_t structure_alphabet_type
Second template parameter as member type.
Definition: structured_aa.hpp:63
constexpr auto assign_char_to
Assign a character to an alphabet object.
Definition: concept.hpp:416
A seqan3::alphabet_tuple_base that joins an aminoacid alphabet with a protein structure alphabet.
Definition: structured_aa.hpp:51
Core alphabet concept and free function/type trait wrappers.