| zipios 2.3.4
    Zipios -- a small C++ library providing easy access to .zip files. | 
A base class to develop output stream filters. More...
#include <filteroutputstreambuf.hpp>


| Public Member Functions | |
| FilterOutputStreambuf (FilterOutputStreambuf const &rhs)=delete | |
| FilterOutputStreambuf (std::streambuf *outbuf) | |
| Initialize your filter output stream buffer. | |
| virtual | ~FilterOutputStreambuf () | 
| Clean up the object. | |
| FilterOutputStreambuf & | operator= (FilterOutputStreambuf const &rhs)=delete | 
| Protected Attributes | |
| std::streambuf * | m_outbuf = nullptr | 
An output stream buffer filter is an std::streambuf that filters the output it gets from the std::streambuf it is attached to.
FilterOutputStreambuf is a base class to derive input streambuf filters from.
Definition at line 40 of file filteroutputstreambuf.hpp.
| zipios::FilterOutputStreambuf::FilterOutputStreambuf | ( | std::streambuf * | outbuf | ) | 
This constructor initializes the filter by saving the outbuf buffer pointer in it.
| [in] | outbuf | The streambuf to pass the filtered data on to. | 
Definition at line 56 of file filteroutputstreambuf.cpp.
References m_outbuf.
| 
 | delete | 
| 
 | virtual | 
At this time the destructor does nothing.
The former version would eventually delete the m_outbuf pointer. However, here we have decided that this class did not own that pointer and thus should not have such permissions.
Definition at line 74 of file filteroutputstreambuf.cpp.
| 
 | delete | 
| 
 | protected | 
Definition at line 50 of file filteroutputstreambuf.hpp.
Referenced by FilterOutputStreambuf(), zipios::ZipOutputStreambuf::finish(), zipios::DeflateOutputStreambuf::flushOutvec(), zipios::ZipOutputStreambuf::overflow(), zipios::ZipOutputStreambuf::putNextEntry(), zipios::ZipOutputStreambuf::updateEntryHeaderInfo(), zipios::GZIPOutputStreambuf::writeHeader(), and zipios::GZIPOutputStreambuf::writeInt().