zipios::GZIPOutputStream Class Reference

#include <gzipoutputstream.h>

Inherits std::ostream.

List of all members.

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.

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.

Parameters:
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.


Member Function Documentation

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


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

Generated on Wed Nov 23 19:02:52 2011 for FreeCAD by  doxygen 1.6.1