ARTS  2.3.1285(git:92a29ea9-dirty)
gzstreambuf Class Reference

#include <gzstream.h>

Inheritance diagram for gzstreambuf:

Public Member Functions

 gzstreambuf ()
 
int is_open ()
 
gzstreambufopen (const char *name, int open_mode)
 
gzstreambufclose ()
 
 ~gzstreambuf ()
 
virtual int overflow (int c=EOF)
 
virtual int underflow ()
 
virtual int sync ()
 

Private Member Functions

int flush_buffer ()
 

Private Attributes

gzFile file
 
char buffer [bufferSize]
 
char opened
 
int mode
 

Static Private Attributes

static const int bufferSize = 47 + 256
 

Detailed Description

Definition at line 45 of file gzstream.h.

Constructor & Destructor Documentation

◆ gzstreambuf()

gzstreambuf::gzstreambuf ( )
inline

Definition at line 58 of file gzstream.h.

◆ ~gzstreambuf()

gzstreambuf::~gzstreambuf ( )
inline

Definition at line 68 of file gzstream.h.

Member Function Documentation

◆ close()

gzstreambuf * gzstreambuf::close ( )

Definition at line 66 of file gzstream.cc.

◆ flush_buffer()

int gzstreambuf::flush_buffer ( )
private

Definition at line 99 of file gzstream.cc.

References w().

◆ is_open()

int gzstreambuf::is_open ( )
inline

Definition at line 65 of file gzstream.h.

◆ open()

gzstreambuf * gzstreambuf::open ( const char *  name,
int  open_mode 
)

Definition at line 45 of file gzstream.cc.

◆ overflow()

int gzstreambuf::overflow ( int  c = EOF)
virtual

Definition at line 108 of file gzstream.cc.

◆ sync()

int gzstreambuf::sync ( )
virtual

Definition at line 118 of file gzstream.cc.

◆ underflow()

int gzstreambuf::underflow ( )
virtual

Definition at line 75 of file gzstream.cc.

Member Data Documentation

◆ buffer

char gzstreambuf::buffer[bufferSize]
private

Definition at line 51 of file gzstream.h.

◆ bufferSize

const int gzstreambuf::bufferSize = 47 + 256
staticprivate

Definition at line 47 of file gzstream.h.

◆ file

gzFile gzstreambuf::file
private

Definition at line 50 of file gzstream.h.

◆ mode

int gzstreambuf::mode
private

Definition at line 53 of file gzstream.h.

◆ opened

char gzstreambuf::opened
private

Definition at line 52 of file gzstream.h.


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