#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) |
int | sync () |
~basic_ozstreambuf () | |
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 | ||
) |
ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::~basic_ozstreambuf | ( | ) |
|
private |
std::streamsize ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::flush | ( | ) |
int_type ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::overflow | ( | int_type | c | ) |
int ext::basic_ozstreambuf< Item_t, Traits_t, Allocator_t >::sync | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |