logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zipios::GZIPOutputStream

Author

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

Zipios++                                         Tue Mar 24 2020                     zipios::GZIPOutputStream(3)

Constructor & Destructor Documentation

zipios::GZIPOutputStream::GZIPOutputStream(std::ostream&os)[explicit]GZIPOutputStream constructor.

       Parametersos ostream to which the compressed zip archive is written.

       Definition at line 13 of file gzipoutputstream.cpp.

   zipios::GZIPOutputStream::GZIPOutputStream(conststd::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.

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.

Member Function Documentation

voidzipios::GZIPOutputStream::close()
       Calls finish and closes the stream.

       Definition at line 39 of file gzipoutputstream.cpp.

   voidzipios::GZIPOutputStream::finish()
       Finishes the stream.

       Definition at line 46 of file gzipoutputstream.cpp.

Name

       zipios::GZIPOutputStream

Synopsis

       #include <gzipoutputstream.h>

       Inherits ostream.

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

See Also