|
Aegis
4.25.D505
|
#include <uuencode.h>
Public Member Functions | |
| virtual | ~output_filter_uuencode () |
Static Public Member Functions | |
| static pointer | create (const output::pointer &deeper) |
Protected Member Functions | |
| nstring | filename (void) const |
| nstring | type_name (void) const |
| long | ftell_inner (void) const |
| void | write_inner (const void *data, size_t length) |
| void | end_of_line_inner (void) |
| int | page_width (void) const |
| int | page_length (void) const |
Private Member Functions | |
| output_filter_uuencode (const output::pointer &deeper) | |
| output_filter_uuencode () | |
| output_filter_uuencode (const output_filter_uuencode &) | |
| output_filter_uuencode & | operator= (const output_filter_uuencode &) |
Private Attributes | |
| unsigned | residual_value |
| int | residual_bits |
| char | obuf [64 *4/3] |
| int | opos |
| int | ipos |
| long | pos |
| bool | bol |
| bool | begun |
| nstring | file_name |
The output_filter_uuencode class is used to represent the state of a filter which unix-to-unix encodes the data being written. See uuencode(1) for more information.
Definition at line 29 of file uuencode.h.
| virtual output_filter_uuencode::~output_filter_uuencode | ( | ) | [virtual] |
The destructor.
| output_filter_uuencode::output_filter_uuencode | ( | const output::pointer & | deeper | ) | [private] |
The constructor.
| deeper | The deeper output stream this filter is to write its output to. |
| output_filter_uuencode::output_filter_uuencode | ( | ) | [private] |
The default constructor. Do not use.
| output_filter_uuencode::output_filter_uuencode | ( | const output_filter_uuencode & | ) | [private] |
The copy constructor. Do not use.
| static pointer output_filter_uuencode::create | ( | const output::pointer & | deeper | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
| deeper | The deeper output stream this filter is to write its output to. |
| void output_filter_uuencode::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.
| nstring output_filter_uuencode::filename | ( | void | ) | const [protected, virtual] |
The filename method is used to obtain the filename of this output.
Reimplemented from output_filter.
| long output_filter_uuencode::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_uuencode& output_filter_uuencode::operator= | ( | const output_filter_uuencode & | ) | [private] |
The assignment operator. Do not use.
| int output_filter_uuencode::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_filter.
| int output_filter_uuencode::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_filter.
| nstring output_filter_uuencode::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_uuencode::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_uuencode::begun [private] |
The begun instance variable is used to remember whether or not we have written the "begin" line yet.
Definition at line 125 of file uuencode.h.
bool output_filter_uuencode::bol [private] |
The bol instance variable is used to remember whether or not we are at the start of a line.
Definition at line 119 of file uuencode.h.
nstring output_filter_uuencode::file_name [private] |
The file_name instance variable is used to remember the name of the input file, with any ".uu*" suffix removed.
Definition at line 131 of file uuencode.h.
int output_filter_uuencode::ipos [private] |
The ipos instance variable is used to remember how many input characters have been consumed to date in building the obuf.
Definition at line 107 of file uuencode.h.
char output_filter_uuencode::obuf[64 *4/3] [private] |
The obuf instance variable is used to remember the output line being accumulated.
Definition at line 95 of file uuencode.h.
int output_filter_uuencode::opos [private] |
The opos instance variable is used to remember how much of the obuf has been consumed to date, the numer of output characters.
Definition at line 101 of file uuencode.h.
long output_filter_uuencode::pos [private] |
The pos instance variable is used to remember the current output file position.
Definition at line 113 of file uuencode.h.
int output_filter_uuencode::residual_bits [private] |
The residual_bits instance variable is used to remember the number of bits accumulated fo far in the residual_value.
Definition at line 89 of file uuencode.h.
unsigned output_filter_uuencode::residual_value [private] |
The residual_value instance variable is used to remember the cumulative bits, accumulated 8 bits per inoput characters, depleted at 6 bits per output character.
Definition at line 83 of file uuencode.h.
1.7.6.1