Sierra Toolkit
Version of the Day
|
Class basic_tee_streambuf maintains a list of destination output stream buffers to send written characters to. Many destination output stream buffers may be added. For each character written to this stream buffer, the same character is written to each destination stream buffer. More...
#include <TeeStreambuf.hpp>
Inherits basic_streambuf< Ch, Tr >.
Public Member Functions | |
basic_tee_streambuf () | |
basic_tee_streambuf (std::basic_ostream< Ch, Tr > *os) | |
virtual | ~basic_tee_streambuf () |
int | eof () |
Member function eof returns the current end-of-file status. More... | |
void | add (std::ostream *os) |
Member function add adds the specified destination output stream buffer. More... | |
void | remove (std::ostream *os) |
Member function remove removes the specified destination output stream buffer. More... | |
void | clear () |
Member function clear removes are destination output stream buffers. | |
Class basic_tee_streambuf maintains a list of destination output stream buffers to send written characters to. Many destination output stream buffers may be added. For each character written to this stream buffer, the same character is written to each destination stream buffer.
Definition at line 20 of file OutputLog.hpp.
|
inline |
Creates a new basic_tee_streambuf instance.
Definition at line 38 of file TeeStreambuf.hpp.
|
inlineexplicit |
Creates a new basic_tee_streambuf instance and adds the specified destination output stream buffer.
Definition at line 46 of file TeeStreambuf.hpp.
|
inlinevirtual |
Destroys a basic_tee_streambuf instance.
Definition at line 54 of file TeeStreambuf.hpp.
|
inline |
Member function eof returns the current end-of-file status.
Definition at line 62 of file TeeStreambuf.hpp.
|
inline |
Member function add adds the specified destination output stream buffer.
sb | a std::streambuf pointer to the output strema buffer to add. |
Definition at line 72 of file TeeStreambuf.hpp.
|
inline |
Member function remove removes the specified destination output stream buffer.
sb | a std::streambuf pointer to the output strema buffer to remove. |
Definition at line 83 of file TeeStreambuf.hpp.