NAME
zipios::GZIPOutputStream -
SYNOPSIS
#include <gzipoutputstream.h>
Public Member Functions
GZIPOutputStream (std::ostream &os)
GZIPOutputStream constructor.
GZIPOutputStream (const std::string &filename)
GZIPOutputStream constructor.
void setFilename (const string &filename)
void setComment (const string &comment)
void close ()
Calls finish and closes the stream.
void finish ()
Finishes the stream.
virtual ~GZIPOutputStream ()
Destructor.
Detailed Description
GZIPOutputStream is an ostream that writes the output to a gz file.
The interface approximates the interface of the Java GZIPOutputStream.
Definition at line 17 of file gzipoutputstream.h.
Constructor & Destructor Documentation
zipios::GZIPOutputStream::GZIPOutputStream (std::ostream & os) [explicit]
GZIPOutputStream constructor.
Parameters:
os ostream to which the compressed zip archive is written.
Definition at line 13 of file gzipoutputstream.cpp.
zipios::GZIPOutputStream::GZIPOutputStream (const std::string & filename)
[explicit]
GZIPOutputStream constructor.
filename to write the gzip archive to.
Definition at line 22 of file gzipoutputstream.cpp.
zipios::GZIPOutputStream::~GZIPOutputStream () [virtual]
Destructor.
Definition at line 51 of file gzipoutputstream.cpp.
Member Function Documentation
void zipios::GZIPOutputStream::close ()
Calls finish and closes the stream.
Definition at line 39 of file gzipoutputstream.cpp.
void zipios::GZIPOutputStream::finish ()
Finishes the stream.
Definition at line 46 of file gzipoutputstream.cpp.
Author
Generated automatically by Doxygen for Zipios++ from the source code.