Public Member Functions

ogzstream Class Reference
[Z-Lib Compatible Streaming Library]

Output stream for writing gzip'd data. More...

#include <gzstream.h>

Inheritance diagram for ogzstream:
Inheritance graph
[legend]
Collaboration diagram for ogzstream:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ogzstream ()
 ogzstream (const char *name, int mode=std::ios::out)
gzstreambufrdbuf ()
void open (const char *name, int open_mode=std::ios::out)

Detailed Description

Output stream for writing gzip'd data.

Example Usage:

        function(void) {
                ogzstream out("my-other-file.txt.gz");
                out << "This is the first line of the gzip'd file.\n";
                out << "This is the second and final line.";
        }

Definition at line 103 of file gzstream.h.


Constructor & Destructor Documentation

ogzstream::ogzstream (  )  [inline]

Definition at line 105 of file gzstream.h.

ogzstream::ogzstream ( const char *  name,
int  mode = std::ios::out 
) [inline]

Definition at line 106 of file gzstream.h.


Member Function Documentation

gzstreambuf* ogzstream::rdbuf (  )  [inline]

Reimplemented from gzstreambase.

Definition at line 108 of file gzstream.h.

void ogzstream::open ( const char *  name,
int  open_mode = std::ios::out 
) [inline]

Reimplemented from gzstreambase.

Definition at line 109 of file gzstream.h.


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