19namespace seqan3::detail
29enum struct trace_directions : uint8_t
44 carry_up_open = 0b0'0010,
46 carry_left_open = 0b0'1000
58inline constexpr bool add_enum_bitwise_operators<seqan3::detail::trace_directions> =
true;
82 "↺",
"↖",
"↑",
"↖↑",
"⇡",
"↖⇡",
"↑⇡",
"↖↑⇡",
"←",
"↖←",
"↑←",
"↖↑←",
"⇡←",
"↖⇡←",
"↑⇡←",
"↖↑⇡←",
83 "⇠",
"↖⇠",
"↑⇠",
"↖↑⇠",
"⇡⇠",
"↖⇡⇠",
"↑⇡⇠",
"↖↑⇡⇠",
"←⇠",
"↖←⇠",
"↑←⇠",
"↖↑←⇠",
"⇡←⇠",
"↖⇡←⇠",
"↑⇡←⇠",
"↖↑⇡←⇠"};
87 "N",
"D",
"U",
"DU",
"u",
"Du",
"Uu",
"DUu",
"L",
"DL",
"UL",
"DUL",
"uL",
"DuL",
"UuL",
"DUuL",
88 "l",
"Dl",
"Ul",
"DUl",
"ul",
"Dul",
"Uul",
"DUul",
"Ll",
"DLl",
"ULl",
"DULl",
"uLl",
"DuLl",
"UuLl",
"DUuLl"};
101 template <
typename stream_t>
102 requires detail::is_type_specialisation_of_v<stream_t, debug_stream_type>
103 constexpr void operator()(stream_t & stream, detail::trace_directions
const trace)
const
105 print_impl(stream, stream.flags2(), trace);
117 template <
typename stream_t>
118 constexpr void operator()(stream_t & stream, detail::trace_directions
const trace)
const
130 template <
typename stream_t>
131 constexpr void print_impl(stream_t & stream,
fmtflags2 const flag, detail::trace_directions
const trace)
const
134 auto const & trace_dir = is_unicode ? unicode : csv;
136 stream << trace_dir[static_cast<size_t>(trace)];
Provides seqan3::add_enum_bitwise_operators.
Provides seqan3::debug_stream and related types.
fmtflags2
Flags that change the behaviour of the seqan3::debug_stream.
Definition debug_stream_type.hpp:32
@ utf8
Enables use of non-ASCII UTF8 characters in formatted output.
Definition debug_stream_type.hpp:34
@ none
No flag is set.
Definition debug_stream_type.hpp:33
@ flag
The alignment flag (bit information), uint16_t value.
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
constexpr void operator()(stream_t &stream, detail::trace_directions const trace) const
Prints the trace directions into the given stream.
Definition trace_directions.hpp:103
constexpr void operator()(stream_t &stream, detail::trace_directions const trace) const
Prints the trace directions into the given stream.
Definition trace_directions.hpp:118
Definition default_printer.hpp:50
Provides type traits for working with templates.