53 constexpr
bool add_enum_bitwise_operators<seqan3::detail::trace_directions> =
true;
74 template <
typename char_t>
77 static char const * unicode[32]{
"↺",
"↖",
"↑",
"↖↑",
"⇡",
"↖⇡",
"↑⇡",
"↖↑⇡",
78 "←",
"↖←",
"↑←",
"↖↑←",
"⇡←",
"↖⇡←",
"↑⇡←",
"↖↑⇡←",
79 "⇠",
"↖⇠",
"↑⇠",
"↖↑⇠",
"⇡⇠",
"↖⇡⇠",
"↑⇡⇠",
"↖↑⇡⇠",
80 "←⇠",
"↖←⇠",
"↑←⇠",
"↖↑←⇠",
"⇡←⇠",
"↖⇡←⇠",
"↑⇡←⇠",
"↖↑⇡←⇠"};
82 static char const * csv[32]{
"N",
"D",
"U",
"DU",
"u",
"Du",
"Uu",
"DUu",
83 "L",
"DL",
"UL",
"DUL",
"uL",
"DuL",
"UuL",
"DUuL",
84 "l",
"Dl",
"Ul",
"DUl",
"ul",
"Dul",
"Uul",
"DUul",
85 "Ll",
"DLl",
"ULl",
"DULl",
"uLl",
"DuLl",
"UuLl",
"DUuLl"};
88 auto const & trace_dir = is_unicode ? unicode : csv;
90 s << trace_dir[static_cast<size_t>(trace)];
Provides seqan3::add_enum_bitwise_operators.
A "pretty printer" for most SeqAn data structures and related types.
Definition: debug_stream_type.hpp:76
fmtflags2 flags2() const
Retrieve the format flags from the stream.
Definition: debug_stream_type.hpp:199
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:103
trace_directions
The possible directions a trace can have. The values can be combined by the logical |-operator.
Definition: trace_directions.hpp:29
@ up
Trace comes from the above entry.
@ left
Trace comes from the left entry.
@ diagonal
Trace comes from the diagonal entry.
@ left_open
Trace comes from the left entry, while opening the gap.
@ up_open
Trace comes from the above entry, while opening the gap.
@ utf8
Enables use of non-ASCII UTF8 characters in formatted output.
Definition: debug_stream_type.hpp:33
The internal SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29