Zipios++
Public Member Functions | Protected Attributes
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:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

streambuf * _outbuf
bool _del_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.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
outbufthe streambuf to pass the filtered data on to.
del_outbufif true is specified outbuf will be deleted, when the FilterOutputStreambuf is destructed.

Definition at line 8 of file filteroutputstreambuf.cpp.

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

Destructor.

Definition at line 18 of file filteroutputstreambuf.cpp.


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