#include <zstream.h>
Public Types | |
typedef unsigned char | byte_type |
typedef Item_t | char_type |
typedef Traits_t::int_type | int_type |
typedef Traits_t::off_type | off_type |
typedef std::basic_ostream< Item_t, Traits_t > | OStream_t |
typedef Traits_t::pos_type | pos_type |
typedef std::basic_streambuf< Item_t, Traits_t > | StreamBuf_t |
typedef Traits_t | traits_type |
Public Member Functions | |
basic_ozstreambuf (OStream_t *os, int level) | |
std::streamsize | flush () |
int_type | overflow (int_type c) override |
int | sync () override |
~basic_ozstreambuf () override | |
Private Member Functions | |
size_t | fillInputBuffer () |
bool | zipToStream (char_type *buf, std::streamsize size) |
Private Attributes | |
std::vector< char_type, Allocator_t > | buffer |
int | err |
OStream_t * | os |
std::vector< byte_type > | outputBuffer |
z_stream | zipStream |
typedef unsigned char ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::byte_type |
typedef Item_t ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::char_type |
typedef Traits_t::int_type ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::int_type |
typedef Traits_t::off_type ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::off_type |
typedef std::basic_ostream<Item_t, Traits_t> ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::OStream_t |
typedef Traits_t::pos_type ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::pos_type |
typedef std::basic_streambuf<Item_t, Traits_t> ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::StreamBuf_t |
typedef Traits_t ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::traits_type |
ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::basic_ozstreambuf | ( | OStream_t * | os, |
int | level | ||
) |
|
override |
|
private |
std::streamsize ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::flush | ( | ) |
|
override |
|
override |
|
private |
|
private |
Definition at line 57 of file zstream.h.
Referenced by ext::basic_izstreambase< Item_t, Traits_t, Allocator_t >::basic_izstreambase(), ext::basic_ozstreambase< Item_t, Traits_t, Allocator_t >::basic_ozstreambase(), ext::basic_ozstreambase< Item_t, Traits_t, Allocator_t >::rdbuf(), and ext::basic_izstreambase< Item_t, Traits_t, Allocator_t >::rdbuf().
|
private |
|
private |
|
private |
|
private |