|
Aegis
4.25.D505
|
#include <gzip.h>
Public Member Functions | |
| virtual | ~output_filter_gzip () |
Static Public Member Functions | |
| static pointer | create (const output::pointer &deeper) |
Protected Member Functions | |
| long | ftell_inner (void) const |
| void | write_inner (const void *data, size_t length) |
| nstring | type_name (void) const |
| void | end_of_line_inner (void) |
Private Member Functions | |
| output_filter_gzip (const output::pointer &deeper) | |
| void | drop_dead (int err) |
| void | output_long_le (unsigned long x) |
| output_filter_gzip () | |
| output_filter_gzip (const output_filter_gzip &) | |
| output_filter_gzip & | operator= (const output_filter_gzip &) |
Private Attributes | |
| z_stream | stream |
| Byte * | outbuf |
| uLong | crc |
| long | pos |
| bool | bol |
The output_filter_gzip class is used to represent an output filter which compresses the data before writing it to the deeper output stream.
| virtual output_filter_gzip::~output_filter_gzip | ( | ) | [virtual] |
The destructor.
| output_filter_gzip::output_filter_gzip | ( | const output::pointer & | deeper | ) | [private] |
The constructor. It is private on purpose, use the create class method instead.
| deeper | the output stream this filter will write its output to. |
| output_filter_gzip::output_filter_gzip | ( | ) | [private] |
The default constructor. Do not use.
| output_filter_gzip::output_filter_gzip | ( | const output_filter_gzip & | ) | [private] |
The copy constructor. Do not use.
| static pointer output_filter_gzip::create | ( | const output::pointer & | deeper | ) | [static] |
The create class method is sued to create new dynamically allocated instances of this class.
| deeper | the output stream this filter will write its output to. |
| void output_filter_gzip::drop_dead | ( | int | err | ) | [private] |
The drop_dead method is used to report a fatal error from the gzip engine.
| void output_filter_gzip::end_of_line_inner | ( | void | ) | [protected, virtual] |
The end_of_line_inner method is used to ensure that the current output position is at the beginning of a line, without taking the buffering into account.
Reimplemented from output_filter.
| long output_filter_gzip::ftell_inner | ( | void | ) | const [protected, virtual] |
The ftell_inner method is used to determine the current file position, without taking the buffering into account.
Reimplemented from output_filter.
| output_filter_gzip& output_filter_gzip::operator= | ( | const output_filter_gzip & | ) | [private] |
The assignment operator. Do not use.
| void output_filter_gzip::output_long_le | ( | unsigned long | x | ) | [private] |
| nstring output_filter_gzip::type_name | ( | void | ) | const [protected, virtual] |
The type_name method is used to determine the name of this output device or file or type.
Reimplemented from output_filter.
| void output_filter_gzip::write_inner | ( | const void * | data, |
| size_t | length | ||
| ) | [protected, virtual] |
The write_inner method is used write data to the output, without taking the buffering into account.
Reimplemented from output_filter.
bool output_filter_gzip::bol [private] |
uLong output_filter_gzip::crc [private] |
Byte* output_filter_gzip::outbuf [private] |
long output_filter_gzip::pos [private] |
z_stream output_filter_gzip::stream [private] |
1.7.6.1