 |
SeqAn3
3.0.1
The Modern C++ library for sequence analysis.
|
|
Go to the documentation of this file.
69 template <
typename char_t =
char>
118 template <
typename t>
137 *stream << static_cast<int>(v);
146 *stream << static_cast<unsigned>(v);
164 return stream->flags();
170 return stream->flags(flgs);
182 stream->unsetf(
flag);
@ small_int_as_number
Definition: debug_stream_type.hpp:32
@ utf8
Enables use of non-ASCII UTF8 characters in formatted output.
Definition: debug_stream_type.hpp:31
debug_stream_type & operator<<(fmtflags2 const flag)
Set the format flag(s) on the stream (current flags are ORed with the argument).
Definition: debug_stream_type.hpp:223
void setf(fmtflags const flag)
Set the format flag(s) on the stream (current flags are ORed with the argument).
Definition: debug_stream_type.hpp:174
constexpr debug_stream_type(std::basic_ostream< char_t > &out)
Construction from an output stream.
Definition: debug_stream_type.hpp:85
decltype(std::declval< std::basic_ostream< char_t > >().flags()) fmtflags
This type is std::ios_base::fmtflags.
Definition: debug_stream_type.hpp:155
debug_stream_type & operator<<(fmtflags const flag)
Set the format flag(s) on the stream (current flags are ORed with the argument).
Definition: debug_stream_type.hpp:186
fmtflags2 flags2() const
Retrieve the format flags from the stream.
Definition: debug_stream_type.hpp:198
~debug_stream_type()=default
Defaulted.
void setf(fmtflags2 const flag)
Set the format flag(s) on the stream (current flags are ORed with the argument).
Definition: debug_stream_type.hpp:211
fmtflags flags() const
Retrieve the format flags from the stream.
Definition: debug_stream_type.hpp:162
A "pretty printer" for most SeqAn data structures and related types.
Definition: debug_stream_type.hpp:70
fmtflags flags(fmtflags const flgs)
Replace the current flags on the stream with the given argument.
Definition: debug_stream_type.hpp:168
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:36
void unsetf(fmtflags const flag)
Unset the format flag(s) on the stream.
Definition: debug_stream_type.hpp:180
debug_stream_type & operator<<(t &&v)
Forwards to the underlying stream object.
Definition: debug_stream_type.hpp:120
void unsetf(fmtflags2 const flag)
Unset the format flag(s) on the stream.
Definition: debug_stream_type.hpp:217
constexpr bool add_enum_bitwise_operators< fmtflags2 >
Overload bitwise operators for seqan3::fmtflags2.
Definition: debug_stream_type.hpp:39
Provides seqan3::add_enum_bitwise_operators.
fmtflags2
Flags that change the behaviour of the seqan3::debug_stream.
Definition: debug_stream_type.hpp:28
@ none
No flag is set.
Definition: debug_stream_type.hpp:30
debug_stream_type & operator=(debug_stream_type const &)=default
Defaulted.
void set_underlying_stream(std::basic_ostream< char_t > &out)
Change the underlying output stream.
Definition: debug_stream_type.hpp:109
debug_stream_type()=default
Defaulted.
@ flag
The alignment flag (bit information), uint16_t value.
debug_stream_type & operator<<(std::ostream &(*fp)(std::ostream &))
This overloads enables forwarding std::endl and other manipulators.
Definition: debug_stream_type.hpp:127
fmtflags2 flags2(fmtflags2 flgs)
Replace the current flags on the stream with the given argument.
Definition: debug_stream_type.hpp:204