Aegis  4.25.D505
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
output_filter_base64 Class Reference

#include <base64.h>

Inheritance diagram for output_filter_base64:
output_filter output

Public Member Functions

virtual ~output_filter_base64 ()

Static Public Member Functions

static pointer create (const output::pointer &deeper)

Protected Member Functions

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)

Private Member Functions

 output_filter_base64 (const output::pointer &deeper)
 output_filter_base64 ()
 output_filter_base64 (const output_filter_base64 &)
output_filter_base64 operator= (const output_filter_base64 &)

Private Attributes

unsigned int residual_value
int residual_bits
int output_column
long pos
bool bol

Detailed Description

The output_filter_base64 class is used to represent the processing necessary to MIME BASE64 encode an output stream.

Definition at line 28 of file base64.h.


Constructor & Destructor Documentation

The destructor.

The constructor. It's private on purpose, use the "create" class method instead.

Parameters:
deeperThe deeper output, the place this filter writes the filtered output.

The default constructor. Do not use.

The copy constructor. Do not use.


Member Function Documentation

static pointer output_filter_base64::create ( const output::pointer deeper) [static]

The create class method is used to create new dynamically allocated instances of this class.

Parameters:
deeperThe deeper output, the place this filter writes the filtered output.
void output_filter_base64::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_base64::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_base64 output_filter_base64::operator= ( const output_filter_base64 ) [private]

The assignment operator. Do not use.

nstring output_filter_base64::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_base64::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.


Field Documentation

bool output_filter_base64::bol [private]

The bol instance variable is used to remember whether or not we are positioned at the beginning of a line.

Definition at line 98 of file base64.h.

The output_column instance variable is used to remember what column the output is up to.

Definition at line 87 of file base64.h.

long output_filter_base64::pos [private]

The pos instance variable is used to remember the file position.

Definition at line 92 of file base64.h.

The residual_bits instance variable is used to remember the number of bits held by the residual_value instance variable.

Definition at line 81 of file base64.h.

unsigned int output_filter_base64::residual_value [private]

The residual_value instance variable is used to remember the as-yet-unwritten bits of the value.

Definition at line 75 of file base64.h.


The documentation for this class was generated from the following file: