zipios::FilterInputStreambuf Class Reference

An input streambuf filter is a streambuf that filters the input it gets from the streambuf it is attached to. More...

#include <filterinputstreambuf.h>

Inheritance diagram for zipios::FilterInputStreambuf:
zipios::InflateInputStreambuf zipios::ZipInputStreambuf

List of all members.

Public Member Functions

 FilterInputStreambuf (streambuf *inbuf, bool del_inbuf=false)
 Constructor.
virtual ~FilterInputStreambuf ()
 Destructor.

Protected Attributes

bool _del_inbuf
streambuf * _inbuf
int _s_pos

Detailed Description

An input streambuf filter is a streambuf that filters the input it gets from the streambuf it is attached to.

FilterInputStreambuf is a base class to derive input streambuf filters from.

Definition at line 15 of file filterinputstreambuf.h.


Constructor & Destructor Documentation

zipios::FilterInputStreambuf::FilterInputStreambuf ( streambuf *  inbuf,
bool  del_inbuf = false 
) [explicit]

Constructor.

Parameters:
inbuf the streambuf to use for input.
del_inbuf if true is specified inbuf will be deleted, when the FilterInputStreambuf is destructed.

Definition at line 8 of file filterinputstreambuf.cpp.

References _inbuf.

zipios::FilterInputStreambuf::~FilterInputStreambuf (  )  [virtual]

Destructor.

Definition at line 18 of file filterinputstreambuf.cpp.

References _del_inbuf, and _inbuf.


Member Data Documentation

Definition at line 29 of file filterinputstreambuf.h.

Referenced by ~FilterInputStreambuf().

streambuf* zipios::FilterInputStreambuf::_inbuf [protected]

Definition at line 27 of file filterinputstreambuf.h.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:51 2011 for FreeCAD by  doxygen 1.6.1