#include <uuencode.h>
Public Member Functions | |
virtual | ~output_uuencode () |
Static Public Member Functions | |
static pointer | create (const output::pointer &deeper) |
Protected Member Functions | |
nstring | filename () const |
const char * | type_name () const |
long | ftell_inner () const |
void | write_inner (const void *data, size_t length) |
void | end_of_line_inner () |
int | page_width () const |
int | page_length () const |
Private Member Functions | |
output_uuencode (const output::pointer &deeper) | |
output_uuencode () | |
output_uuencode (const output_uuencode &) | |
output_uuencode & | operator= (const output_uuencode &) |
Private Attributes | |
output::pointer | deeper |
unsigned | residual_value |
int | residual_bits |
char | obuf [64 *4/3] |
int | opos |
int | ipos |
long | pos |
bool | bol |
bool | begun |
nstring | file_name |
Definition at line 31 of file uuencode.h.
virtual output_uuencode::~output_uuencode | ( | ) | [virtual] |
The destructor.
output_uuencode::output_uuencode | ( | const output::pointer & | deeper | ) | [private] |
output_uuencode::output_uuencode | ( | ) | [private] |
The default constructor. Do not use.
output_uuencode::output_uuencode | ( | const output_uuencode & | ) | [private] |
The copy constructor. Do not use.
static pointer output_uuencode::create | ( | const output::pointer & | deeper | ) | [static] |
nstring output_uuencode::filename | ( | ) | const [protected, virtual] |
const char* output_uuencode::type_name | ( | ) | const [protected, virtual] |
long output_uuencode::ftell_inner | ( | ) | const [protected, virtual] |
The ftell_inner method is used to determine the current file position, without taking the buffering into account.
Implements output.
void output_uuencode::write_inner | ( | const void * | data, | |
size_t | length | |||
) | [protected, virtual] |
void output_uuencode::end_of_line_inner | ( | ) | [protected, virtual] |
int output_uuencode::page_width | ( | ) | const [protected, virtual] |
int output_uuencode::page_length | ( | ) | const [protected, virtual] |
output_uuencode& output_uuencode::operator= | ( | const output_uuencode & | ) | [private] |
The assignment operator. Do not use.
output::pointer output_uuencode::deeper [private] |
The deeeper instance variable is used to remember the deeper output stream this filter is to write its output to.
Definition at line 85 of file uuencode.h.
unsigned output_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 92 of file uuencode.h.
int output_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 98 of file uuencode.h.
char output_uuencode::obuf[64 *4/3] [private] |
The obuf instance variable is used to remember the output line being accumulated.
Definition at line 104 of file uuencode.h.
int output_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 110 of file uuencode.h.
int output_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 116 of file uuencode.h.
long output_uuencode::pos [private] |
The pos instance variable is used to remember the current output file position.
Definition at line 122 of file uuencode.h.
bool output_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 128 of file uuencode.h.
bool output_uuencode::begun [private] |
The begun instance variable is used to remember whether or not we have written the "begin" line yet.
Definition at line 134 of file uuencode.h.
nstring output_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 140 of file uuencode.h.