|
SeqAn3 3.4.3-rc.1
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. | |
Private Member Functions | |
| template<typename stream_t > | |
| constexpr void | print_impl (stream_t &stream, fmtflags2 const flag, detail::trace_directions const trace) const |
| Prints the trace directions. | |
Static Private Attributes | |
| static constexpr std::array< std::string_view, 32 > | csv |
| The ascii representation of the trace directions. | |
| static constexpr std::array< std::string_view, 32 > | unicode |
| The unicode representation of the trace directions. | |
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:
|
inlineconstexpr |
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. |
|
inlineconstexpr |
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. |
|
inlineconstexprprivate |
Prints the trace directions.
| stream_t | The type of the stream. |
| stream | The stream to print to. |
| flag | The flags of the stream. |
| trace | The trace directions to print. |
|
staticconstexprprivate |
The ascii representation of the trace directions.
|
staticconstexprprivate |
The unicode representation of the trace directions.