A FilterOutputStreambuf is a streambuf that filters the data that is written to it before it passes it on to the output streambuf it is connected to. More...
#include <filteroutputstreambuf.h>
Public Member Functions | |
FilterOutputStreambuf (streambuf *outbuf, bool del_outbuf=false) | |
Constructor. | |
virtual | ~FilterOutputStreambuf () |
Destructor. | |
Protected Attributes | |
bool | _del_outbuf |
streambuf * | _outbuf |
A FilterOutputStreambuf is a streambuf that filters the data that is written to it before it passes it on to the output streambuf it is connected to.
Definition at line 14 of file filteroutputstreambuf.h.
zipios::FilterOutputStreambuf::FilterOutputStreambuf | ( | streambuf * | outbuf, | |
bool | del_outbuf = false | |||
) | [explicit] |
Constructor.
outbuf | the streambuf to pass the filtered data on to. | |
del_outbuf | if true is specified outbuf will be deleted, when the FilterOutputStreambuf is destructed. |
Definition at line 8 of file filteroutputstreambuf.cpp.
References _outbuf.
zipios::FilterOutputStreambuf::~FilterOutputStreambuf | ( | ) | [virtual] |
Destructor.
Definition at line 18 of file filteroutputstreambuf.cpp.
References _del_outbuf, and _outbuf.
bool zipios::FilterOutputStreambuf::_del_outbuf [protected] |
Definition at line 28 of file filteroutputstreambuf.h.
Referenced by ~FilterOutputStreambuf().
streambuf* zipios::FilterOutputStreambuf::_outbuf [protected] |
Definition at line 27 of file filteroutputstreambuf.h.
Referenced by FilterOutputStreambuf(), zipios::ZipOutputStreambuf::finish(), zipios::DeflateOutputStreambuf::flushOutvec(), zipios::ZipOutputStreambuf::putNextEntry(), zipios::ZipOutputStreambuf::updateEntryHeaderInfo(), and ~FilterOutputStreambuf().