Scroll to navigation

ost::OZStream(3) Library Functions Manual ost::OZStream(3)

NAME

ost::OZStream

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 (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]

Member Function Documentation

void ost::OZStream::allocate (size_t size) [protected]

void ost::OZStream::close (void)

size_t ost::OZStream::getBufferSize (void) [inline]

bool ost::OZStream::isOpen (void)

void ost::OZStream::open (const char * name, int level = Z_DEFAULT_COMPRESSION, size_t size = 512)

int ost::OZStream::overflow (int ch) [protected]

Member Data Documentation

size_t ost::OZStream::bufsize [protected]

char* ost::OZStream::pbuf [protected]

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
Sun Dec 27 2020 GNU CommonC++