 |
SeqAn3
3.0.2
The Modern C++ library for sequence analysis.
|
|
Go to the documentation of this file.
18 namespace seqan3::detail
26 enum struct trace_directions : uint8_t
49 constexpr
bool add_enum_bitwise_operators<seqan3::detail::trace_directions> =
true;
73 template <
typename char_t>
76 static char const * unicode[32]{
"↺",
"↖",
"↑",
"↖↑",
"⇡",
"↖⇡",
"↑⇡",
"↖↑⇡",
77 "←",
"↖←",
"↑←",
"↖↑←",
"⇡←",
"↖⇡←",
"↑⇡←",
"↖↑⇡←",
78 "⇠",
"↖⇠",
"↑⇠",
"↖↑⇠",
"⇡⇠",
"↖⇡⇠",
"↑⇡⇠",
"↖↑⇡⇠",
79 "←⇠",
"↖←⇠",
"↑←⇠",
"↖↑←⇠",
"⇡←⇠",
"↖⇡←⇠",
"↑⇡←⇠",
"↖↑⇡←⇠"};
81 static char const * csv[32]{
"N",
"D",
"U",
"DU",
"u",
"Du",
"Uu",
"DUu",
82 "L",
"DL",
"UL",
"DUL",
"uL",
"DuL",
"UuL",
"DUuL",
83 "l",
"Dl",
"Ul",
"DUl",
"ul",
"Dul",
"Uul",
"DUul",
84 "Ll",
"DLl",
"ULl",
"DULl",
"uLl",
"DuLl",
"UuLl",
"DUuLl"};
87 auto const & trace_dir = is_unicode ? unicode : csv;
89 s << trace_dir[static_cast<size_t>(trace)];
@ utf8
Enables use of non-ASCII UTF8 characters in formatted output.
Definition: debug_stream_type.hpp:31
fmtflags2 flags2() const
Retrieve the format flags from the stream.
Definition: debug_stream_type.hpp:194
Provides seqan3::debug_stream and related types.
A "pretty printer" for most SeqAn data structures and related types.
Definition: debug_stream_type.hpp:71
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
Provides seqan3::add_enum_bitwise_operators.
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
@ none
No flag is set.
Definition: debug_stream_type.hpp:30