Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | List of all members
izstream Class Reference

#include <zstream.h>

Public Member Functions

 izstream ()
 
 izstream (FILE *fp)
 
 izstream (const char *name)
 
 ~izstream ()
 
void open (const char *name)
 
void open (FILE *fp)
 
int close ()
 
int read (void *buf, size_t len)
 
const char * error (int *errnum)
 
gzFile fp ()
 

Detailed Description

Definition at line 51 of file zstream.h.

Constructor & Destructor Documentation

◆ izstream() [1/3]

izstream::izstream ( )
inline

Definition at line 54 of file zstream.h.

◆ izstream() [2/3]

izstream::izstream ( FILE *  fp)
inline

Definition at line 55 of file zstream.h.

References open().

◆ izstream() [3/3]

izstream::izstream ( const char *  name)
inline

Definition at line 56 of file zstream.h.

References open().

◆ ~izstream()

izstream::~izstream ( )
inline

Definition at line 57 of file zstream.h.

References close().

Member Function Documentation

◆ close()

int izstream::close ( )
inline

Definition at line 80 of file zstream.h.

References gzclose().

Referenced by main().

◆ error()

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

Definition at line 97 of file zstream.h.

References gzerror().

◆ fp()

gzFile izstream::fp ( )
inline

Definition at line 101 of file zstream.h.

Referenced by operator>(), read(), and read_string().

◆ open() [1/2]

void izstream::open ( const char *  name)
inline

Definition at line 65 of file zstream.h.

References close(), and gzopen().

◆ open() [2/2]

void izstream::open ( FILE *  fp)
inline

Definition at line 70 of file zstream.h.

References close(), gzdopen(), and SET_BINARY_MODE.

◆ read()

int izstream::read ( void buf,
size_t  len 
)
inline

Definition at line 87 of file zstream.h.

References gzread().


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