#include <zstream.h>
Public Member Functions | |
OZStream (bool throwflag=false) | |
OZStream (const char *name, int level=Z_DEFAULT_COMPRESSION, size_t size=512, bool tf=false) | |
bool | isOpen (void) |
void | close (void) |
virtual | ~OZStream () |
void | open (const char *name, int level=Z_DEFAULT_COMPRESSION, size_t size=512) |
size_t | getBufferSize (void) |
Protected Member Functions | |
void | allocate (size_t size) |
int | overflow (int ch) |
Protected Attributes | |
size_t | bufsize |
char * | pbuf |
ost::OZStream::OZStream | ( | bool | throwflag = false |
) |
ost::OZStream::OZStream | ( | const char * | name, | |
int | level = Z_DEFAULT_COMPRESSION , |
|||
size_t | size = 512 , |
|||
bool | tf = false | |||
) |
virtual ost::OZStream::~OZStream | ( | ) | [virtual] |
void ost::OZStream::allocate | ( | size_t | size | ) | [protected] |
int ost::OZStream::overflow | ( | int | ch | ) | [protected] |
bool ost::OZStream::isOpen | ( | void | ) |
void ost::OZStream::close | ( | void | ) |
void ost::OZStream::open | ( | const char * | name, | |
int | level = Z_DEFAULT_COMPRESSION , |
|||
size_t | size = 512 | |||
) |
size_t ost::OZStream::getBufferSize | ( | void | ) | [inline] |
size_t ost::OZStream::bufsize [protected] |
char* ost::OZStream::pbuf [protected] |