FleCSI Core API Version: 2.3.2
 
Loading...
Searching...
No Matches
tee_stream_t Struct Reference

The tee_stream_t type provides a stream class that writes to multiple output buffers. More...

Public Member Functions

void add_buffer (std::string const &key, std::ostream &s, bool colorized=false)
 Add a new buffer to the output.
 
void disable_buffer (std::string const &key)
 Disable an existing buffer.
 
void enable_buffer (std::string const &key)
 Enable an existing buffer.
 

Detailed Description

The tee_stream_t type provides a stream class that writes to multiple output buffers.

Member Function Documentation

◆ add_buffer()

void add_buffer ( std::string const & key,
std::ostream & s,
bool colorized = false )

Add a new buffer to the output.

◆ enable_buffer()

void enable_buffer ( std::string const & key)

Enable an existing buffer.

Parameters
keyThe string identifier of the streambuf.

◆ disable_buffer()

void disable_buffer ( std::string const & key)

Disable an existing buffer.

Parameters
keyThe string identifier of the streambuf.