#include <gzstream.h>
Public Member Functions | |
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 Member Functions | |
int | flush_buffer () |
Private Attributes | |
gzFile | file |
char | buffer [bufferSize] |
char | opened |
int | mode |
Static Private Attributes | |
static const int | bufferSize = 47+256 |
gzstreambuf::gzstreambuf | ( | ) | [inline] |
References buffer, and bufferSize.
gzstreambuf::~gzstreambuf | ( | ) | [inline] |
References close().
gzstreambuf * gzstreambuf::close | ( | ) |
References file, is_open(), opened, and sync().
Referenced by gzstreambase::close(), gzstreambase::~gzstreambase(), and ~gzstreambuf().
int gzstreambuf::flush_buffer | ( | ) | [private] |
int gzstreambuf::is_open | ( | ) | [inline] |
gzstreambuf * gzstreambuf::open | ( | const char * | name, | |
int | open_mode | |||
) |
int gzstreambuf::overflow | ( | int | c = EOF |
) | [virtual] |
References flush_buffer(), mode, and opened.
int gzstreambuf::sync | ( | ) | [virtual] |
int gzstreambuf::underflow | ( | ) | [virtual] |
References buffer, bufferSize, file, mode, and opened.
char gzstreambuf::buffer[bufferSize] [private] |
Referenced by gzstreambuf(), and underflow().
const int gzstreambuf::bufferSize = 47+256 [static, private] |
Referenced by gzstreambuf(), and underflow().
gzFile gzstreambuf::file [private] |
Referenced by close(), flush_buffer(), open(), and underflow().
int gzstreambuf::mode [private] |
Referenced by open(), overflow(), and underflow().
char gzstreambuf::opened [private] |
Referenced by close(), is_open(), open(), overflow(), and underflow().