Interface Documentation
Version: invalid
Public Member Functions | List of all members
flecsi::log::tee_stream_t Struct Reference

#include <types.hh>

Inheritance diagram for flecsi::log::tee_stream_t:
Inheritance graph
[legend]
Collaboration diagram for flecsi::log::tee_stream_t:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ add_buffer()

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

Add a new buffer to the output.

◆ disable_buffer()

bool flecsi::log::tee_stream_t::disable_buffer ( std::string const &  key)
inline

Disable an existing buffer.

Parameters
keyThe string identifier of the streambuf.

◆ enable_buffer()

bool flecsi::log::tee_stream_t::enable_buffer ( std::string const &  key)
inline

Enable an existing buffer.

Parameters
keyThe string identifier of the streambuf.

The documentation for this struct was generated from the following file: