zipios::FilterOutputStreambuf Class Reference

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>

Inheritance diagram for zipios::FilterOutputStreambuf:
zipios::DeflateOutputStreambuf zipios::GZIPOutputStreambuf zipios::ZipOutputStreambuf

List of all members.

Public Member Functions

 FilterOutputStreambuf (streambuf *outbuf, bool del_outbuf=false)
 Constructor.
virtual ~FilterOutputStreambuf ()
 Destructor.

Protected Attributes

bool _del_outbuf
streambuf * _outbuf

Detailed Description

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.


Constructor & Destructor Documentation

zipios::FilterOutputStreambuf::FilterOutputStreambuf ( streambuf *  outbuf,
bool  del_outbuf = false 
) [explicit]

Constructor.

Parameters:
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.


Member Data Documentation

Definition at line 28 of file filteroutputstreambuf.h.

Referenced by ~FilterOutputStreambuf().


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