#include <gzipoutputstream.h>
Inherits std::ostream.
Public Member Functions | |
void | close () |
Calls finish and closes the stream. | |
void | finish () |
Finishes the stream. | |
GZIPOutputStream (const std::string &filename) | |
GZIPOutputStream constructor. | |
GZIPOutputStream (std::ostream &os) | |
GZIPOutputStream constructor. | |
void | setComment (const string &comment) |
void | setFilename (const string &filename) |
virtual | ~GZIPOutputStream () |
Destructor. |
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.
zipios::GZIPOutputStream::GZIPOutputStream | ( | std::ostream & | os | ) | [explicit] |
GZIPOutputStream constructor.
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 | 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.
void zipios::GZIPOutputStream::close | ( | ) |
Calls finish and closes the stream.
Definition at line 39 of file gzipoutputstream.cpp.
References zipios::GZIPOutputStreambuf::close().
Referenced by Gui::View3DInventorViewer::dumpToFile().
void zipios::GZIPOutputStream::finish | ( | ) |
Finishes the stream.
Definition at line 46 of file gzipoutputstream.cpp.
References zipios::GZIPOutputStreambuf::finish().
void zipios::GZIPOutputStream::setComment | ( | const string & | comment | ) |
Definition at line 35 of file gzipoutputstream.cpp.
References zipios::GZIPOutputStreambuf::setComment().
void zipios::GZIPOutputStream::setFilename | ( | const string & | filename | ) |
Definition at line 31 of file gzipoutputstream.cpp.
References zipios::GZIPOutputStreambuf::setFilename().