|
Aegis
4.25.D505
|
#include <filter.h>
Public Member Functions | |
| virtual | ~output_filter () |
Protected Member Functions | |
| output_filter (const output::pointer &deeper) | |
| nstring | filename (void) const |
| int | page_width (void) const |
| int | page_length (void) const |
| long | ftell_inner (void) const |
| void | write_inner (const void *data, size_t length) |
| void | end_of_line_inner (void) |
| void | flush_inner (void) |
| nstring | type_name (void) const |
| void | deeper_fputc (char c) |
| void | deeper_fputs (const char *s) |
| void | deeper_fputs (const nstring &s) |
| void | deeper_write (const void *d, size_t ds) |
Private Member Functions | |
| output_filter () | |
| output_filter (const output_filter &) | |
| output_filter & | operator= (const output_filter &) |
Private Attributes | |
| output::pointer | deeper |
The output_filter class is used to represent the processing common to all output filters, so that filters need only implement the necessary methods.
| virtual output_filter::~output_filter | ( | ) | [virtual] |
The destructor.
| output_filter::output_filter | ( | const output::pointer & | deeper | ) | [protected] |
The constructor. For use by derived classes only.
| deeper | Where to write the filtered output. |
| output_filter::output_filter | ( | ) | [private] |
The default constructor. Do not use.
| output_filter::output_filter | ( | const output_filter & | ) | [private] |
The copy constructor. Do not use.
| void output_filter::deeper_fputc | ( | char | c | ) | [inline, protected] |
| void output_filter::deeper_fputs | ( | const char * | s | ) | [inline, protected] |
| void output_filter::deeper_fputs | ( | const nstring & | s | ) | [inline, protected] |
| void output_filter::deeper_write | ( | const void * | d, |
| size_t | ds | ||
| ) | [inline, protected] |
| void output_filter::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.
Implements output.
Reimplemented in output_filter_indent, output_filter_prefix, output_filter_wrap_simple, output_filter_uuencode, output_filter_bzip2, output_filter_gzip, output_filter_wrap_make, output_filter_base64, output_filter_quoted_printable, and output_filter_dot_blank_lines.
| nstring output_filter::filename | ( | void | ) | const [protected, virtual] |
The filename method is used to obtain the filename of this output.
Implements output.
Reimplemented in output_filter_uuencode.
| void output_filter::flush_inner | ( | void | ) | [protected, virtual] |
The flush_inner method is called by the flush method once all the data has been written. The default implementation does nothing.
Reimplemented from output.
| long output_filter::ftell_inner | ( | void | ) | const [protected, virtual] |
The ftell_inner method is used to determine the current file position, without taking the buffering into account.
Implements output.
Reimplemented in output_filter_indent, output_filter_uuencode, output_filter_base64, output_filter_prefix, output_filter_bzip2, output_filter_gzip, and output_filter_dot_blank_lines.
| output_filter& output_filter::operator= | ( | const output_filter & | ) | [private] |
The assignment operator. Do not use.
| int output_filter::page_length | ( | void | ) | const [protected, virtual] |
The page_length method is used to obtain the length of the page of the output device.
Reimplemented from output.
Reimplemented in output_filter_uuencode.
| int output_filter::page_width | ( | void | ) | const [protected, virtual] |
The page_width method is used to obtain the width of the page of the output device.
Reimplemented from output.
Reimplemented in output_filter_uuencode, output_filter_quoted_printable, output_filter_prefix, and output_filter_set_width.
| nstring output_filter::type_name | ( | void | ) | const [protected, virtual] |
The type_name method is used to determine the name of this output device or file or type.
Implements output.
Reimplemented in output_filter_indent, output_filter_prefix, output_filter_wrap_simple, output_filter_bzip2, output_filter_gzip, output_filter_wrap_make, output_filter_uuencode, output_filter_quoted_printable, output_filter_base64, and output_filter_dot_blank_lines.
| void output_filter::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.
Implements output.
Reimplemented in output_filter_indent, output_filter_uuencode, output_filter_wrap_make, output_filter_wrap_simple, output_filter_base64, output_filter_prefix, output_filter_quoted_printable, output_filter_bzip2, output_filter_gzip, and output_filter_dot_blank_lines.
output::pointer output_filter::deeper [private] |
1.7.6.1