Scippy

UG

Ubiquity Generator framework

gzstreambase Class Reference

Internal class to implement gzstream. More...

#include <gzstream.h>

Inheritance diagram for gzstreambase:
igzstream ogzstream

Public Member Functions

Construction / destruction
 gzstreambase ()
 default constructor More...
 
 gzstreambase (const char *_name, int _open_mode)
 full constructor More...
 
 ~gzstreambase ()
 destructor More...
 
Interface
void open (const char *_name, int _open_mode)
 
void close ()
 
gzstreambufrdbuf ()
 

Protected Attributes

Data
gzstreambuf buf
 

Detailed Description

Internal class to implement gzstream.

Definition at line 138 of file gzstream.h.

Constructor & Destructor Documentation

◆ gzstreambase() [1/2]

default constructor

Definition at line 156 of file gzstream.h.

References gzstreambase::buf.

◆ gzstreambase() [2/2]

gzstreambase ( const char *  _name,
int  _open_mode 
)

full constructor

Definition at line 142 of file gzstream.cpp.

References gzstreambase::buf, and gzstreambase::open().

◆ ~gzstreambase()

destructor

Definition at line 147 of file gzstream.cpp.

References gzstreambase::buf, and gzstreambuf::close().

Member Function Documentation

◆ close()

void close ( )

Definition at line 157 of file gzstream.cpp.

References gzstreambase::buf, gzstreambuf::close(), and gzstreambuf::is_open().

◆ open()

void open ( const char *  _name,
int  _open_mode 
)

◆ rdbuf()

gzstreambuf * rdbuf ( )

Definition at line 174 of file gzstream.h.

References gzstreambase::buf.

Referenced by igzstream::rdbuf(), and ogzstream::rdbuf().

Member Data Documentation

◆ buf