Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
OZStream Class Reference

#include <zstream.h>

Inheritance diagram for OZStream:
Inheritance graph
[legend]
Collaboration diagram for OZStream:
Collaboration graph
[legend]

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
 

Private Member Functions

int doallocate ()
 

Private Attributes

gzFile fp
 
bool throwflag
 

Detailed Description

Definition at line 112 of file zstream.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void OZStream::allocate ( size_t  size)
protected
void OZStream::close ( void  )
int OZStream::doallocate ( )
private
size_t OZStream::getBufferSize ( void  )
inline

Definition at line 139 of file zstream.h.

bool OZStream::isOpen ( void  )
void OZStream::open ( const char *  name,
int  level = Z_DEFAULT_COMPRESSION,
size_t  size = 512 
)
int OZStream::overflow ( int  ch)
protected

Field Documentation

size_t OZStream::bufsize
protected

Definition at line 120 of file zstream.h.

gzFile OZStream::fp
private

Definition at line 115 of file zstream.h.

char* OZStream::pbuf
protected

Definition at line 121 of file zstream.h.

bool OZStream::throwflag
private

Definition at line 117 of file zstream.h.


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