Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

gzstreambuf Class Reference

#include <gzstream.h>

List of all members.

Public Methods

 gzstreambuf ()
int is_open ()
gzstreambuf * open (const char *name, int open_mode)
gzstreambuf * close ()
 ~gzstreambuf ()
virtual int overflow (int c=EOF)
virtual int underflow ()
virtual int sync ()

Private Methods

int flush_buffer ()

Private Attributes

gzFile file
char buffer [bufferSize]
char opened
int mode

Static Private Attributes

const int bufferSize = 47+256


Constructor & Destructor Documentation

gzstreambuf::gzstreambuf   [inline]
 

Definition at line 57 of file gzstream.h.

gzstreambuf::~gzstreambuf   [inline]
 

Definition at line 67 of file gzstream.h.


Member Function Documentation

gzstreambuf * gzstreambuf::close  
 

Definition at line 69 of file gzstream.cpp.

References file, is_open(), opened, and sync().

Referenced by gzstreambase::close(), and gzstreambase::~gzstreambase().

int gzstreambuf::flush_buffer   [private]
 

Definition at line 104 of file gzstream.cpp.

References file.

Referenced by overflow(), and sync().

int gzstreambuf::is_open   [inline]
 

Definition at line 64 of file gzstream.h.

Referenced by gzstreambase::close(), close(), and open().

gzstreambuf * gzstreambuf::open const char *    name,
int    open_mode
 

Definition at line 46 of file gzstream.cpp.

References file, is_open(), mode, and opened.

Referenced by gzstreambase::open().

int gzstreambuf::overflow int    c = EOF [virtual]
 

Definition at line 115 of file gzstream.cpp.

References flush_buffer(), mode, and opened.

int gzstreambuf::sync   [virtual]
 

Definition at line 127 of file gzstream.cpp.

References flush_buffer().

Referenced by close().

int gzstreambuf::underflow   [virtual]
 

Definition at line 79 of file gzstream.cpp.

References buffer, bufferSize, file, mode, and opened.


Member Data Documentation

char gzstreambuf::buffer[bufferSize] [private]
 

Definition at line 51 of file gzstream.h.

Referenced by underflow().

const int gzstreambuf::bufferSize = 47+256 [static, private]
 

Definition at line 47 of file gzstream.h.

Referenced by underflow().

gzFile gzstreambuf::file [private]
 

Definition at line 50 of file gzstream.h.

Referenced by close(), flush_buffer(), open(), and underflow().

int gzstreambuf::mode [private]
 

Definition at line 53 of file gzstream.h.

Referenced by open(), overflow(), and underflow().

char gzstreambuf::opened [private]
 

Definition at line 52 of file gzstream.h.

Referenced by close(), open(), overflow(), and underflow().


The documentation for this class was generated from the following files:
Generated on Tue Nov 19 12:33:01 2002 for AIDA_XMLStore by doxygen1.2.16