An output stream working as the tee unix utility.
More...
#include <teeostream.h>
An output stream working as the tee unix utility.
Definition at line 31 of file teeostream.h.
◆ TeeOStream() [1/3]
OTest2::TeeOStream::TeeOStream |
( |
| ) |
|
◆ TeeOStream() [2/3]
OTest2::TeeOStream::TeeOStream |
( |
std::initializer_list< std::ostream * > |
sinks_ | ) |
|
|
explicit |
Ctor - list of sinks.
- Parameters
-
sinks_ | The sinks. The ownerships of them is not taken. |
Definition at line 84 of file teeostream.cpp.
◆ ~TeeOStream()
OTest2::TeeOStream::~TeeOStream |
( |
| ) |
|
|
virtual |
◆ TeeOStream() [3/3]
OTest2::TeeOStream::TeeOStream |
( |
const TeeOStream & |
| ) |
|
|
delete |
◆ appendSink()
void OTest2::TeeOStream::appendSink |
( |
std::ostream * |
sink_ | ) |
|
Append another sink stream.
- Parameters
-
sink_ | The sink. The ownership is not taken. |
Definition at line 94 of file teeostream.cpp.
◆ operator=()
The documentation for this class was generated from the following files: