SeqAn3 3.4.0-rc.3
The Modern C++ library for sequence analysis.
|
A struct that provides a debug stream printer for a specific value type. More...
#include <seqan3/core/debug_stream/debug_stream_type.hpp>
Public Member Functions | |
template<typename char_t > | |
constexpr void | operator() (debug_stream_type< char_t > &stream, fmtflags2 const flag) const |
Sets the fmtflags2 of the debug stream. | |
template<typename char_t > | |
constexpr void | operator() (debug_stream_type< char_t > &stream, int8_t const v) const |
Prints an int8_t value to the debug stream. | |
template<typename char_t > | |
constexpr void | operator() (debug_stream_type< char_t > &stream, uint8_t const v) const |
Prints a uint8_t value to the debug stream. | |
A struct that provides a debug stream printer for a specific value type.
This struct provides operator() overloads for printing values of type int8_t, uint8_t, and seqan3::fmtflags2 to a debug stream. The operator() overloads handle the formatting of the values based on the fmtflags2 settings of the debug stream.
value_t | The type of the value to be printed. |
|
inlineconstexpr |
Sets the fmtflags2 of the debug stream.
char_t | The character type of the debug stream. |
stream | The debug stream to set the fmtflags2 for. |
flag | The fmtflags2 value to set. |
This function sets the fmtflags2 of the debug stream to the specified flag value.
|
inlineconstexpr |
Prints an int8_t value to the debug stream.
char_t | The character type of the debug stream. |
stream | The debug stream to print to. |
v | The int8_t value to be printed. |
This function prints the int8_t value to the debug stream, taking into account the fmtflags2 settings of the stream. If the fmtflags2::small_int_as_number flag is set, the value is printed as an int, otherwise it is printed as is.
|
inlineconstexpr |
Prints a uint8_t value to the debug stream.
char_t | The character type of the debug stream. |
stream | The debug stream to print to. |
v | The uint8_t value to be printed. |
This function prints the uint8_t value to the debug stream, taking into account the fmtflags2 settings of the stream. If the fmtflags2::small_int_as_number flag is set, the value is printed as an unsigned int, otherwise it is printed as is.