41 template <
typename sequence_alphabet_t>
43 requires WritableAlphabet<sequence_alphabet_t>
70 using base_type::base_type;
73 SEQAN3_DOXYGEN_ONLY(( constexpr
masked(component_type
const alph) {} ))
75 SEQAN3_DOXYGEN_ONLY(( constexpr
masked(indirect_component_type const alph) {} ))
77 SEQAN3_DOXYGEN_ONLY(( constexpr
masked &
operator=(component_type
const alph) {} ))
79 SEQAN3_DOXYGEN_ONLY(( constexpr
masked & operator=(indirect_component_type const alph) {} ))
83 using base_type::operator=;
84 using base_type::operator==;
85 using base_type::operator!=;
86 using base_type::operator>=;
87 using base_type::operator<=;
88 using base_type::operator<;
89 using base_type::operator>;
155 template <
typename sequence_alphabet_type>
156 masked(sequence_alphabet_type &&, mask
const &)
157 -> masked<std::decay_t<sequence_alphabet_type>>;
masked & assign_char_strictly(char_type const c)
Strict assign from a character.
Definition: masked.hpp:103
Meta-header for the mask submodule; includes all headers from alphabet/mask/.
sequence_alphabet_t sequence_alphabet_type
First template parameter as member type.
Definition: masked.hpp:53
constexpr auto assign_rank_to
Assign a rank to an alphabet object.
Definition: concept.hpp:207
static constexpr bool char_is_valid(char_type const c) noexcept
Validate whether a character value has a one-to-one mapping to an alphabet value. ...
Definition: masked.hpp:147
alphabet_char_t< sequence_alphabet_type > char_type
Equals the char_type of sequence_alphabet_type.
Definition: masked.hpp:56
constexpr char_type to_char() const noexcept
Return a character.
Definition: masked.hpp:116
auto constexpr is_lower
Checks whether c is a lower case character.
Definition: predicate.hpp:271
constexpr auto to_char
Return the char representation of an alphabet object.
Definition: concept.hpp:285
constexpr auto to_rank
Return the rank representation of a (semi-)alphabet object.
Definition: concept.hpp:103
The main SeqAn3 namespace.
constexpr masked & operator=(masked const &)=default
Defaulted.
constexpr masked()
Defaulted.
Definition: masked.hpp:63
The CRTP base for a combined alphabet that contains multiple values of different alphabets at the sam...
Definition: alphabet_tuple_base.hpp:188
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:294
static detail::min_viable_uint_t< size > constexpr alphabet_size
The size of the alphabet, i.e. the number of different values it can take.
Definition: alphabet_base.hpp:175
Provides character predicates for tokenisation.
~masked()=default
Defaulted.
constexpr masked & assign_char(char_type const c) noexcept
Assign from a character.
Definition: masked.hpp:95
Implementation of a masked alphabet to be used for tuple composites.
Definition: mask.hpp:34
Provides seqan3::alphabet_tuple_base.
constexpr auto assign_char_to
Assign a character to an alphabet object.
Definition: concept.hpp:395
constexpr masked(component_type const alph)
Construction via a value of one of the components.
Definition: masked.hpp:73
An exception typically thrown by seqan3::Alphabet::assign_char_strict.
Definition: exception.hpp:25
Implementation of a masked composite, which extends a given alphabet with a mask. ...
Definition: masked.hpp:45
constexpr char_type to_lower(char_type const c) noexcept
Converts 'A'-'Z' to 'a'-'z' respectively; other characters are returned as is.
Definition: transform.hpp:82