EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gzstreambuf Class Reference

#include <eic-smear/blob/master/include/eicsmear/gzstream.h>

+ Inheritance diagram for gzstreambuf:
+ Collaboration 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.

View newest version in sPHENIX GitHub at line 45 of file gzstream.h

Constructor & Destructor Documentation

gzstreambuf::gzstreambuf ( )
inline

Definition at line 57 of file gzstream.h.

View newest version in sPHENIX GitHub at line 57 of file gzstream.h

gzstreambuf::~gzstreambuf ( )
inline

Definition at line 67 of file gzstream.h.

View newest version in sPHENIX GitHub at line 67 of file gzstream.h

Member Function Documentation

gzstreambuf * gzstreambuf::close ( )

Definition at line 68 of file gzstream.cc.

View newest version in sPHENIX GitHub at line 68 of file gzstream.cc

References eicpy.qaplots::file.

int gzstreambuf::flush_buffer ( )
private

Definition at line 103 of file gzstream.cc.

View newest version in sPHENIX GitHub at line 103 of file gzstream.cc

References eicpy.qaplots::file.

int gzstreambuf::is_open ( )
inline

Definition at line 64 of file gzstream.h.

View newest version in sPHENIX GitHub at line 64 of file gzstream.h

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

Definition at line 45 of file gzstream.cc.

View newest version in sPHENIX GitHub at line 45 of file gzstream.cc

References eicpy.qaplots::file, and in.

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

Definition at line 113 of file gzstream.cc.

View newest version in sPHENIX GitHub at line 113 of file gzstream.cc

References c.

int gzstreambuf::sync ( )
virtual

Definition at line 125 of file gzstream.cc.

View newest version in sPHENIX GitHub at line 125 of file gzstream.cc

int gzstreambuf::underflow ( )
virtual

Definition at line 78 of file gzstream.cc.

View newest version in sPHENIX GitHub at line 78 of file gzstream.cc

References eicpy.qaplots::file, in, and num.

Member Data Documentation

char gzstreambuf::buffer[bufferSize]
private

Definition at line 51 of file gzstream.h.

View newest version in sPHENIX GitHub at line 51 of file gzstream.h

const int gzstreambuf::bufferSize = 47+256
staticprivate

Definition at line 47 of file gzstream.h.

View newest version in sPHENIX GitHub at line 47 of file gzstream.h

gzFile gzstreambuf::file
private

Definition at line 50 of file gzstream.h.

View newest version in sPHENIX GitHub at line 50 of file gzstream.h

int gzstreambuf::mode
private

Definition at line 53 of file gzstream.h.

View newest version in sPHENIX GitHub at line 53 of file gzstream.h

char gzstreambuf::opened
private

Definition at line 52 of file gzstream.h.

View newest version in sPHENIX GitHub at line 52 of file gzstream.h


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