GZIPOutputStreambuf is a zip output streambuf filter. More...
#include <gzipoutputstreambuf.h>
Public Member Functions | |
GZIPOutputStreambuf (streambuf *outbuf, bool del_outbuf=false) | |
GZIPOutputStreambuf constructor. | |
void | setFilename (const string &filename) |
void | setComment (const string &comment) |
void | close () |
Calls finish. | |
void | finish () |
Finishes the compression. | |
virtual | ~GZIPOutputStreambuf () |
Destructor. | |
Protected Member Functions | |
virtual int | overflow (int c=EOF) |
virtual int | sync () |
GZIPOutputStreambuf is a zip output streambuf filter.
Definition at line 15 of file gzipoutputstreambuf.h.
zipios::GZIPOutputStreambuf::GZIPOutputStreambuf | ( | streambuf * | outbuf, | |
bool | del_outbuf = false | |||
) | [explicit] |
GZIPOutputStreambuf constructor.
A newly constructed GZIPOutputStreambuf is ready to accept data.
outbuf | the streambuf to use for output.
|
Definition at line 19 of file gzipoutputstreambuf.cpp.
zipios::GZIPOutputStreambuf::~GZIPOutputStreambuf | ( | ) | [virtual] |
Destructor.
Definition at line 47 of file gzipoutputstreambuf.cpp.
void zipios::GZIPOutputStreambuf::close | ( | ) |
Calls finish.
Definition at line 33 of file gzipoutputstreambuf.cpp.
void zipios::GZIPOutputStreambuf::finish | ( | ) |
Finishes the compression.
Definition at line 37 of file gzipoutputstreambuf.cpp.