SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
debug_stream_alphabet.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2006-2024 Knut Reinert & Freie Universität Berlin
2// SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
3// SPDX-License-Identifier: BSD-3-Clause
4
10#pragma once
11
15
16namespace seqan3
17{
27template <typename char_t, alphabet alphabet_t>
30{
31 return s << to_char(l);
32}
33
34// forward declare seqan3::mask
35class mask;
36
43template <typename char_t, seqan3::semialphabet alphabet_t>
45 requires std::same_as<std::remove_cvref_t<alphabet_t>, mask>
46{
47 return s << (l == alphabet_t{} ? "UNMASKED" : "MASKED");
48}
49
51
52} // namespace seqan3
Core alphabet concept and free function/type trait wrappers.
A "pretty printer" for most SeqAn data structures and related types.
Definition debug_stream_type.hpp:75
Implementation of a masked alphabet to be used for tuple composites.
Definition mask.hpp:35
Provides seqan3::debug_stream and related types.
debug_stream_type< char_t > & operator<<(debug_stream_type< char_t > &stream, alignment_t &&alignment)
Stream operator for alignments, which are represented as tuples of aligned sequences.
Definition debug_stream_alignment.hpp:107
constexpr auto to_char
Return the char representation of an alphabet object.
Definition alphabet/concept.hpp:383
Concept for output streams.
Stream concepts.
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
Hide me