zipios++
2.0.2
Zipios++ – a small C++ library that provides easy access to .zip files.
|
A base class to develop input stream filters. More...
#include <filterinputstreambuf.hpp>
Public Member Functions | |
FilterInputStreambuf (std::streambuf *inbuf) | |
Initialize a filter input stream buffer. More... | |
FilterInputStreambuf (FilterInputStreambuf const &src)=delete | |
virtual | ~FilterInputStreambuf () |
Clean up the object. More... | |
FilterInputStreambuf const & | operator= (FilterInputStreambuf const &src)=delete |
Protected Attributes | |
std::streambuf * | m_inbuf |
An input stream buffer filter is an std::streambuf that filters the input it gets from the std::streambuf it is attached to.
zipios::FilterInputStreambuf is a base class to derive input streambuf filters from.
Definition at line 37 of file filterinputstreambuf.hpp.
zipios::FilterInputStreambuf::FilterInputStreambuf | ( | std::streambuf * | inbuf | ) |
This constructor initializes the FilterInputStreambuf by saving the inbuf pointer in this class.
[in] | inbuf | The streambuf to use for input. |
Definition at line 54 of file filterinputstreambuf.cpp.
References m_inbuf.
|
delete |
|
virtual |
At this time the destructor does nothing.
The former version would eventually delete the m_inbuf pointer. However, here we have decided that this class did not own that pointer and thus should not have such permissions.
Definition at line 72 of file filterinputstreambuf.cpp.
|
delete |
|
protected |
Definition at line 46 of file filterinputstreambuf.hpp.
Referenced by FilterInputStreambuf(), zipios::InflateInputStreambuf::reset(), zipios::ZipInputStreambuf::underflow(), zipios::InflateInputStreambuf::underflow(), and zipios::ZipInputStreambuf::ZipInputStreambuf().