Poster of Linux kernelThe best gift for a Linux geek
zipios::GZIPOutputStreambuf

zipios::GZIPOutputStreambuf

Section: C Library Functions (3) Updated: 7 Nov 2008
Local index Up
 

NAME

zipios::GZIPOutputStreambuf - GZIPOutputStreambuf is a zip output streambuf filter.

 

SYNOPSIS


#include <gzipoutputstreambuf.h>

Inherits zipios::DeflateOutputStreambuf.

 

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 ()
 

Detailed Description

GZIPOutputStreambuf is a zip output streambuf filter.

Definition at line 15 of file gzipoutputstreambuf.h.  

Constructor & Destructor Documentation

 

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

GZIPOutputStreambuf constructor.

A newly constructed GZIPOutputStreambuf is ready to accept data.

Parameters:

outbuf the streambuf to use for output.
del_outbuf if true is specified outbuf will be deleted, when the GZIPOutputStreambuf is destructed.

Definition at line 19 of file gzipoutputstreambuf.cpp.  

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

Destructor.

Definition at line 47 of file gzipoutputstreambuf.cpp.  

Member Function Documentation

 

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.

 

Author

Generated automatically by Doxygen for Zipios++ from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Protected Member Functions
Detailed Description
Constructor & Destructor Documentation
zipios::GZIPOutputStreambuf::GZIPOutputStreambuf (streambuf * outbuf, bool del_outbuf = false) [explicit]
zipios::GZIPOutputStreambuf::~GZIPOutputStreambuf () [virtual]
Member Function Documentation
void zipios::GZIPOutputStreambuf::close ()
void zipios::GZIPOutputStreambuf::finish ()
Author

This document was created by man2html, using the manual pages.
Time: 21:59:26 GMT, April 16, 2011