PandA-2024.02
|
The big change with respect to the original code is a refactoring for a header based library. More...
#include <gzstream.hpp>
Public Member Functions | |
gzstreambuf () | |
int | is_open () |
gzstreambuf * | open (const char *name, std::ios_base::openmode open_mode) |
gzstreambuf * | close () |
~gzstreambuf () override | |
int | overflow (int c=EOF) override |
int | underflow () override |
int | sync () override |
Private Member Functions | |
int | flush_buffer () |
Private Attributes | |
gzFile | file |
char | buffer [bufferSize] |
char | opened |
std::ios_base::openmode | mode |
Static Private Attributes | |
static const int | bufferSize = 47 + 256 |
The big change with respect to the original code is a refactoring for a header based library.
Definition at line 77 of file gzstream.hpp.
|
inline |
Definition at line 91 of file gzstream.hpp.
|
inlineoverride |
Definition at line 105 of file gzstream.hpp.
References close(), overflow(), sync(), and underflow().
|
inline |
Definition at line 215 of file gzstream.hpp.
References file, is_open(), opened, and sync().
Referenced by gzstreambase::gzstreambase(), is_open(), and ~gzstreambuf().
|
inlineprivate |
Definition at line 264 of file gzstream.hpp.
References file.
Referenced by overflow(), and sync().
|
inline |
|
inline |
Definition at line 182 of file gzstream.hpp.
References file, is_open(), mode, and opened.
Referenced by gzstreambase::gzstreambase(), and is_open().
|
inlineoverride |
Definition at line 277 of file gzstream.hpp.
References flush_buffer(), mode, and opened.
Referenced by ~gzstreambuf().
|
inlineoverride |
Definition at line 295 of file gzstream.hpp.
References flush_buffer().
Referenced by close(), and ~gzstreambuf().
|
inlineoverride |
Definition at line 229 of file gzstream.hpp.
References buffer, bufferSize, file, mode, and opened.
Referenced by ~gzstreambuf().
|
private |
Definition at line 84 of file gzstream.hpp.
Referenced by underflow().
|
staticprivate |
Definition at line 80 of file gzstream.hpp.
Referenced by underflow().
|
private |
Definition at line 83 of file gzstream.hpp.
Referenced by close(), flush_buffer(), open(), and underflow().
|
private |
Definition at line 86 of file gzstream.hpp.
Referenced by open(), overflow(), and underflow().
|
private |
Definition at line 85 of file gzstream.hpp.
Referenced by close(), is_open(), open(), overflow(), and underflow().