GNU CommonC++
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ost::OZStream Class Reference

#include <zstream.h>

Inheritance diagram for ost::OZStream:

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

◆ OZStream() [1/2]

ost::OZStream::OZStream ( bool  throwflag = false)

◆ OZStream() [2/2]

ost::OZStream::OZStream ( const char *  name,
int  level = Z_DEFAULT_COMPRESSION,
size_t  size = 512,
bool  tf = false 
)

◆ ~OZStream()

virtual ost::OZStream::~OZStream ( )
virtual

Member Function Documentation

◆ allocate()

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

◆ close()

void ost::OZStream::close ( void  )

◆ getBufferSize()

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

◆ isOpen()

bool ost::OZStream::isOpen ( void  )

◆ open()

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

◆ overflow()

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

Member Data Documentation

◆ bufsize

size_t ost::OZStream::bufsize
protected

◆ pbuf

char* ost::OZStream::pbuf
protected

The documentation for this class was generated from the following file: