Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

ost::OZStream Class Reference

#include <zstream.h>

Inheritance diagram for ost::OZStream::

std::streambuf std::ostream List of all members.

Public Methods

 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 Methods

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 )
 

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]
 


The documentation for this class was generated from the following file:
Generated at Fri May 30 14:51:03 2008 for GNU CommonC++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001