 |
SeqAn3
3.0.2
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>;
80 #if SEQAN3_DOXYGEN_ONLY(1)0
81 template <
typename component_type>
86 template <
typename indirect_component_type>
90 template <
typename component_type>
94 template <
typename indirect_component_type>
99 using base_type::operator=;
105 constexpr
structured_aa & assign_char(char_type
const c) noexcept
116 constexpr char_type
to_char() const noexcept
126 return char_is_valid_for<sequence_alphabet_type>(c);
132 template <
typename sequence_alphabet_type,
typename structure_alphabet_type>
constexpr structured_aa(component_type const alph)
Construction via a value of one of the components.
Definition: structured_aa.hpp:83
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:321
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:124
Provides seqan3::aa27, container aliases and string literals.
alphabet_char_t< sequence_alphabet_type > char_type
Equals the char_type of sequence_alphabet_type.
Definition: structured_aa.hpp:66
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:330
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
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:87
constexpr structured_aa & operator=(component_type const alph)
Assignment via a value of one of the components.
Definition: structured_aa.hpp:91
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:417
A seqan3::alphabet_tuple_base that joins an aminoacid alphabet with a protein structure alphabet.
Definition: structured_aa.hpp:54
constexpr structured_aa() noexcept=default
Defaulted.
structured_aa(sequence_alphabet_type &&, structure_alphabet_type &&) -> structured_aa< std::decay_t< sequence_alphabet_type >, std::decay_t< structure_alphabet_type >>
Type deduction guide enables usage of structured_aa without specifying template args.
Core alphabet concept and free function/type trait wrappers.
constexpr structured_aa & operator=(indirect_component_type const alph)
Assignment via a value of a subtype that is assignable to one of the components.
Definition: structured_aa.hpp:95