Logo Search packages:      
Sourcecode: zlib version File versions

gzofstream Class Reference

#include <zfstream.h>

Inheritance diagram for gzofstream:

List of all members.


Detailed Description

Gzipped file output stream class.

This class implements ofstream for gzipped files. Seeking and putback is not supported yet.

Definition at line 80 of file zfstream.h.


Public Member Functions

void attach (int fd, int io_mode)
void attach (int fd, std::ios_base::openmode mode=std::ios_base::out)
 Attach to already open gzipped file.
void close ()
 Close gzipped file.
 gzofstream (int fd, std::ios_base::openmode mode=std::ios_base::out)
 Construct stream on already open gzipped file.
 gzofstream (const char *name, std::ios_base::openmode mode=std::ios_base::out)
 Construct stream on gzipped file to be opened.
 gzofstream (int fd, int io_mode=ios::out)
 gzofstream (const char *name, int io_mode=ios::out)
bool is_open ()
 Check if file is open.
void open (const char *name, int io_mode)
void open (const char *name, std::ios_base::openmode mode=std::ios_base::out)
 Open gzipped file.
gzfilebufrdbuf () const

Private Attributes

gzfilebuf sb

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

Generated by  Doxygen 1.6.0   Back to index