Zipios++
Public Member Functions | Protected Attributes | List of all members
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]

Public Member Functions

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

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.

Definition at line 14 of file filteroutputstreambuf.h.

Constructor & Destructor Documentation

◆ FilterOutputStreambuf()

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.

◆ ~FilterOutputStreambuf()

zipios::FilterOutputStreambuf::~FilterOutputStreambuf ( )
virtual

Destructor.

Definition at line 18 of file filteroutputstreambuf.cpp.


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