SeqAn3 3.4.0-rc.4
The Modern C++ library for sequence analysis.
|
Prints trace_directions
as ascii or as utf8 to output stream.
More...
#include <seqan3/alignment/matrix/detail/trace_directions.hpp>
Public Member Functions | |
template<typename stream_t > requires detail::is_type_specialisation_of_v<stream_t, debug_stream_type> | |
constexpr void | operator() (stream_t &stream, detail::trace_directions const trace) const |
Prints the trace directions into the given stream. | |
template<typename stream_t > | |
constexpr void | operator() (stream_t &stream, detail::trace_directions const trace) const |
Prints the trace directions into the given stream. | |
Prints trace_directions
as ascii or as utf8 to output stream.
The following table shows the printed symbol of a particular seqan3::detail::trace_directions:
trace direction | utf8 | ascii |
---|---|---|
seqan3::detail::trace_directions::none | ↺ | N |
seqan3::detail::trace_directions::diagonal | ↖ | D |
seqan3::detail::trace_directions::up_open | ↑ | U |
seqan3::detail::trace_directions::up | ⇡ | u |
seqan3::detail::trace_directions::left_open | ← | L |
seqan3::detail::trace_directions::left | ⇠ | l |
|
no-apiinlineconstexpr |
Prints the trace directions into the given stream.
This overload is only available if the stream has a member function flags2
that returns a fmtflags2
. Using the flags2() member function allows to print the trace with unicode characters if seqan3::fmtflags2::utf8 is set to the seqan3::debug_stream.
stream_t | The type of the stream. |
stream | The stream to print to. |
trace | The trace directions to print. |
|
no-apiinlineconstexpr |
Prints the trace directions into the given stream.
This overload is only available if the stream has no member function flags2
. In this case it will use ascii characters to print the trace.
stream_t | The type of the stream. |
stream | The stream to print to. |
trace | The trace directions to print. |