|
Sierra Toolkit Version of the Day
|
Class basic_tee_streambuf maintains a list of destination output stream buffers to send written characters to. More...
#include <TeeStreambuf.hpp>
Public Member Functions | |
| basic_tee_streambuf () | |
| Creates a new basic_tee_streambuf instance. | |
| basic_tee_streambuf (std::basic_ostream< Ch, Tr > *os) | |
| Creates a new basic_tee_streambuf instance and adds the specified destination output stream buffer. | |
| virtual | ~basic_tee_streambuf () |
| Destroys a basic_tee_streambuf instance. | |
| int | eof () |
| Member function eof returns the current end-of-file status. | |
| void | add (std::ostream *os) |
| Member function add adds the specified destination output stream buffer. | |
| void | remove (std::ostream *os) |
| Member function remove removes the specified destination output stream buffer. | |
| 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 28 of file TeeStreambuf.hpp.
| int stk::basic_tee_streambuf< Ch, Tr >::eof | ( | ) | [inline] |
Member function eof returns the current end-of-file status.
Definition at line 62 of file TeeStreambuf.hpp.
| void stk::basic_tee_streambuf< Ch, Tr >::add | ( | std::ostream * | os | ) | [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.
| void stk::basic_tee_streambuf< Ch, Tr >::remove | ( | std::ostream * | os | ) | [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.