Library: Foundation
Package: Streams
Header: Poco/TeeStream.h
The base class for TeeInputStream and TeeOutputStream.
This class is needed to ensure the correct initialization order of the stream buffer and base classes.
Direct Base Classes: std::ios
All Base Classes: std::ios
Known Derived Classes: TeeInputStream, TeeOutputStream
Member Functions: addStream, rdbuf
TeeIOS();
Creates the basic stream and leaves it unconnected.
TeeIOS(
std::istream & istr
);
Creates the basic stream and connects it to the given input stream.
TeeIOS(
std::ostream & ostr
);
Creates the basic stream and connects it to the given output stream.
~TeeIOS();
Destroys the stream.
void addStream(
std::ostream & ostr
);
Adds the given output stream.
TeeStreamBuf * rdbuf();
Returns a pointer to the underlying streambuf.
TeeStreamBuf _buf;