SeqAn3
3.0.2
The Modern C++ library for sequence analysis.
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
debug_stream_alphabet.hpp
Go to the documentation of this file.
1
// -----------------------------------------------------------------------------------------------------
2
// Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
3
// Copyright (c) 2016-2020, 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
15
#include <
seqan3/alphabet/concept.hpp
>
16
#include <
seqan3/alphabet/mask/mask.hpp
>
17
#include <
seqan3/core/detail/debug_stream_type.hpp
>
18
#include <
seqan3/io/stream/concept.hpp
>
19
20
namespace
seqan3
21
{
31
template
<
typename
char
_t, alphabet alphabet_t>
32
inline
debug_stream_type<char_t>
&
operator<<
(
debug_stream_type<char_t>
& s, alphabet_t && l)
34
requires (!
output_stream_over
<
std::basic_ostream<char_t>
, alphabet_t>)
36
{
37
return
s <<
to_char
(l);
38
}
39
46
template
<
typename
char
_t>
47
inline
debug_stream_type<char_t>
&
operator<<
(
debug_stream_type<char_t>
& s,
mask
const
l)
48
{
49
return
s << (l ==
mask::MASKED
?
"MASKED"
:
"UNMASKED"
);
50
}
51
53
54
}
// namespace seqan3
mask.hpp
Create a mask composite which can be applied with another alphabet.
concept.hpp
Stream concepts.
output_stream_over
Concept for output streams.
seqan3::to_char
constexpr auto to_char
Return the char representation of an alphabet object.
Definition:
concept.hpp:321
debug_stream_type.hpp
Provides seqan3::debug_stream and related types.
seqan3::mask
Implementation of a masked alphabet to be used for tuple composites.
Definition:
mask.hpp:35
seqan3::debug_stream_type
A "pretty printer" for most SeqAn data structures and related types.
Definition:
debug_stream_type.hpp:71
std::basic_ostream
seqan3
The main SeqAn3 namespace.
Definition:
aligned_sequence_concept.hpp:29
seqan3::operator<<
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:103
seqan3::mask::MASKED
static const mask MASKED
Definition:
mask.hpp:61
concept.hpp
Core alphabet concept and free function/type trait wrappers.
Version:
main_user
main_dev
3.4.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.2
3.0.1
3.0.0
seqan3
core
detail
debug_stream_alphabet.hpp
Generated on Thu Dec 3 2020 18:58:18 for SeqAn3 by
1.8.20