SYNOPSIS

#include <zstream.h>

Inherits streambuf, and ostream.

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

Constructor & Destructor Documentation

ost::OZStream::OZStream (boolthrowflag = \fCfalse\fP)

ost::OZStream::OZStream (const char *name, intlevel = \fCZ_DEFAULT_COMPRESSION\fP, size_tsize = \fC512\fP, booltf = \fCfalse\fP)

virtual ost::OZStream::~OZStream ()\fC [virtual]\fP

Member Function Documentation

void ost::OZStream::allocate (size_tsize)\fC [protected]\fP

void ost::OZStream::close (void)

size_t ost::OZStream::getBufferSize (void)\fC [inline]\fP

bool ost::OZStream::isOpen (void)

void ost::OZStream::open (const char *name, intlevel = \fCZ_DEFAULT_COMPRESSION\fP, size_tsize = \fC512\fP)

int ost::OZStream::overflow (intch)\fC [protected]\fP

Member Data Documentation

size_t ost::OZStream::bufsize\fC [protected]\fP

char* ost::OZStream::pbuf\fC [protected]\fP

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.