65 constexpr
cigar() noexcept =
default;
66 constexpr
cigar(
cigar const &) noexcept =
default;
70 ~cigar() noexcept =
default;
76 SEQAN3_DOXYGEN_ONLY(( constexpr
cigar(component_type
const alph) noexcept {} ))
78 SEQAN3_DOXYGEN_ONLY(( constexpr
cigar(indirect_component_type const alph) noexcept {} ))
80 SEQAN3_DOXYGEN_ONLY(( constexpr
cigar &
operator=(component_type
const alph) noexcept {} ))
82 SEQAN3_DOXYGEN_ONLY(( constexpr
cigar & operator=(indirect_component_type const alph) noexcept {} ))
86 using base_t::operator=;
87 using base_t::operator==;
88 using base_t::operator!=;
89 using base_t::operator>=;
90 using base_t::operator<=;
91 using base_t::operator<;
92 using base_t::operator>;
103 auto [ ptr, errc ] =
std::to_chars(ret.data(), ret.data() + 10, get<0>(*this));
108 ret.resize(ptr - ret.data() + 1);
122 if ((errc !=
std::errc{}) || (!char_is_valid_for<cigar_op>(*ptr)) || (*(ptr + 1) != 0))
constexpr void resize(size_type const count) noexcept
Resizes the container to contain count elements.
Definition: small_string.hpp:216
constexpr auto to_char
Return the char representation of an alphabet object.
Definition: concept.hpp:285
The main SeqAn3 namespace.
Provides std::from_chars and std::to_chars if not defined in the stl <charconv> header.
Implements a small string that can be used for compile time computations.
Definition: small_string.hpp:43
cigar & assign_char(small_string< 11 > const s) noexcept
Assign from the character representation.
Definition: cigar.hpp:117
debug_stream_type & operator<<(debug_stream_type &stream, tuple_t const &alignment)
Streaming operator for alignments, which are represented as tuples of aligned sequences.
Definition: aligned_sequence_concept.hpp:518
The CRTP base for a combined alphabet that contains multiple values of different alphabets at the sam...
Definition: alphabet_tuple_base.hpp:188
constexpr cigar() noexcept=default
Defaulted.
~cigar() noexcept=default
Defaulted.
constexpr cigar(component_type const alph) noexcept
Construction via a value of one of the components.
Definition: cigar.hpp:76
Introduces the cigar_op alphabet.
The cigar alphabet pairs a counter with a seqan3::cigar_op letter.
Definition: cigar.hpp:51
constexpr cigar & operator=(cigar const &) noexcept=default
Defaulted.
A CRTP-base that makes defining a custom alphabet easier.
Definition: alphabet_base.hpp:52
Provides seqan3::alphabet_tuple_base.
constexpr auto assign_char_to
Assign a character to an alphabet object.
Definition: concept.hpp:395
A "pretty printer" for most SeqAn data structures and related types.
Definition: debug_stream.hpp:78
small_string< 11 > to_char() const noexcept
Return the character representation.
Definition: cigar.hpp:98
Provides seqan3::debug_stream and related types.