26 enum struct trace_directions : uint8_t
49 constexpr
bool add_enum_bitwise_operators<seqan3::detail::trace_directions> =
true;
62 static char const * unicode[8]{
"↺",
"↖",
"↑",
"↖↑",
"←",
"↖←",
"↑←",
"↖↑←"};
63 static char const * csv[8]{
"N",
"D",
"U",
"DU",
"L",
"DL",
"UL",
"DUL"};
66 auto const & trace_dir = is_unicode ? unicode : csv;
68 s << trace_dir[static_cast<size_t>(trace) % 8u];
Provides seqan3::add_enum_bitwise_operators.
debug_stream_type & operator<<(debug_stream_type &s, detail::trace_directions const trace)
All trace_directions can be printed as ascii or as utf8 to the seqan3::debug_stream.
Definition: trace_directions.hpp:60
Enables use of non-ASCII UTF8 characters in formatted output.
Definition: debug_stream.hpp:40
No flag is set.
Definition: debug_stream.hpp:39
The main SeqAn3 namespace.
fmtflags2 flags2() const
Retrieve the format flags from the stream.
Definition: debug_stream.hpp:203
Definition: aligned_sequence_concept.hpp:35
A "pretty printer" for most SeqAn data structures and related types.
Definition: debug_stream.hpp:78
Provides seqan3::debug_stream and related types.