SeqAn3  3.2.0
The Modern C++ library for sequence analysis.
debug_stream_alphabet.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2022, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2022, Knut Reinert & MPI für molekulare Genetik
4 // This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5 // shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6 // -----------------------------------------------------------------------------------------------------
7 
13 #pragma once
14 
18 
19 namespace seqan3
20 {
30 template <typename char_t, alphabet alphabet_t>
33 {
34  return s << to_char(l);
35 }
36 
37 // forward declare seqan3::mask
38 class mask;
39 
46 template <typename char_t, seqan3::semialphabet alphabet_t>
48  requires std::same_as<std::remove_cvref_t<alphabet_t>, mask>
49 {
50  return s << (l == alphabet_t{} ? "UNMASKED" : "MASKED");
51 }
52 
54 
55 } // 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:78
Implementation of a masked alphabet to be used for tuple composites.
Definition: mask.hpp:38
Provides seqan3::debug_stream and related types.
constexpr auto to_char
Return the char representation of an alphabet object.
Definition: alphabet/concept.hpp:386
requires requires
The rank_type of the semi-alphabet; defined as the return type of seqan3::to_rank....
Definition: alphabet/concept.hpp:164
Concept for output streams.
Stream concepts.
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
requires detail::debug_stream_range_guard< alignment_matrix_t > &&detail::matrix< alignment_matrix_t > debug_stream_type< char_t > & operator<<(debug_stream_type< char_t > &s, alignment_matrix_t &&matrix)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: debug_matrix.hpp:496