Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
ozstream Class Reference

#include <zstream.h>

Collaboration diagram for ozstream:
Collaboration graph

Public Member Functions

 ozstream ()
 
 ozstream (FILE *fp, int level=Z_DEFAULT_COMPRESSION)
 
 ozstream (const char *name, int level=Z_DEFAULT_COMPRESSION)
 
 ~ozstream ()
 
void open (const char *name, int level=Z_DEFAULT_COMPRESSION)
 
void open (FILE *fp, int level=Z_DEFAULT_COMPRESSION)
 
int close ()
 
int write (const void *buf, size_t len)
 
int flush (int _flush)
 
const char * error (int *errnum)
 
gzFile fp ()
 
ostream & os ()
 
void os_flush ()
 

Detailed Description

Definition at line 155 of file zstream.h.

Constructor & Destructor Documentation

ozstream::ozstream ( )
inline

Definition at line 158 of file zstream.h.

ozstream::ozstream ( FILE *  fp,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

Definition at line 160 of file zstream.h.

ozstream::ozstream ( const char *  name,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

Definition at line 164 of file zstream.h.

ozstream::~ozstream ( )
inline

Definition at line 168 of file zstream.h.

Member Function Documentation

int ozstream::close ( )
inline

Definition at line 198 of file zstream.h.

const char* ozstream::error ( int *  errnum)
inline

Definition at line 230 of file zstream.h.

int ozstream::flush ( int  _flush)
inline

Definition at line 219 of file zstream.h.

gzFile ozstream::fp ( )
inline

Definition at line 234 of file zstream.h.

void ozstream::open ( const char *  name,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

Definition at line 177 of file zstream.h.

void ozstream::open ( FILE *  fp,
int  level = Z_DEFAULT_COMPRESSION 
)
inline

Definition at line 186 of file zstream.h.

ostream& ozstream::os ( )
inline

Definition at line 236 of file zstream.h.

void ozstream::os_flush ( )
inline

Definition at line 241 of file zstream.h.

int ozstream::write ( const void *  buf,
size_t  len 
)
inline

Definition at line 208 of file zstream.h.


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