#include <gz_stream.hh>
Inheritance diagram for oln::io::gz::zfilebuf:
Public Member Functions | |
zfilebuf * | open (const char *name, int io_mode) |
Return a stream on the file name regarding the opening mode: io_mode. | |
zfilebuf * | attach (int file_descriptor, int io_mode) |
Attach a stream on file_descriptor regarding the opening mode: io_mode. | |
zfilebuf * | close () |
Close the stream. | |
int | setcompressionlevel (short comp_level) |
int | setcompressionstrategy (short comp_strategy) |
int | is_open () const |
Return true if the stream is open, false otherwise. | |
virtual std::streampos | seekoff (std::streamoff off, std::ios::seekdir dir, int) |
virtual int | sync () |
Flush the buffer associated to the stream. | |
Protected Member Functions | |
virtual int | underflow () |
Return the next character in the stream. On failure, EOF is returned. | |
virtual int | overflow (int c=EOF) |
Flush the output buffer associated to the stream then write c. On failure, EOF is returned. |
Definition at line 47 of file gz_stream.hh.