42#define GZSTREAM_NAMESPACE gzstream
44#ifdef GZSTREAM_NAMESPACE
60 :
public std::streambuf
123 virtual int overflow(
int c = EOF );
139 :
virtual public std::ios
170 void open(
const char* _name,
int _open_mode );
195 :
public std::istream
205 : std::istream( &
buf)
209 int _open_mode = std::ios::in )
210 : std::istream( &
buf )
225 int _open_mode = std::ios::in )
241 ,
public std::ostream
250 : std::ostream( &
buf)
255 int _open_mode = std::ios::out )
257 , std::ostream( &
buf)
271 int _open_mode = std::ios::out )
277#ifdef GZSTREAM_NAMESPACE
Internal class to implement gzstream.
~gzstreambase()
destructor
gzstreambase()
default constructor
void open(const char *_name, int _open_mode)
Internal class to implement gzstream.
char opened
open/close state of stream
gzFile file
file handle for compressed file
gzstreambuf()
default constructor
static const int bufferSize
size of data buff
virtual int overflow(int c=EOF)
gzstreambuf * open(const char *name, int open_mode)
char buffer[bufferSize]
data buffer
Class to implement a gzip'd input stream.
void open(const char *_name, int _open_mode=std::ios::in)
igzstream()
default constructor
igzstream(const char *_name, int _open_mode=std::ios::in)
full constructor
Class to implement a gzip'd output stream.
ogzstream()
default constructor
ogzstream(const char *_name, int _open_mode=std::ios::out)
full constructor
void open(const char *_name, int _open_mode=std::ios::out)