output_base64 Class Reference
#include <base64.h>
Detailed Description
The
output_base64 class is used to represent the processing necessary to MIME BASE64 encode an
output stream.
Definition at line 29 of file base64.h.
Constructor & Destructor Documentation
virtual output_base64::~output_base64 |
( |
|
) |
[virtual] |
The constructor. It's private on purpose, use the "create" class method instead.
- Parameters:
-
| deeper | The deeper output, the place this filter writes the filtered output. |
| delete_deeper | Wherther or not to delete the deeper output in this instance's destructor. |
output_base64::output_base64 |
( |
|
) |
[private] |
The default constructor. Do not use.
The copy constructor. Do not use.
Member Function Documentation
The create class method is used to create new dynamically allocated instances of this class.
- Parameters:
-
| deeper | The deeper output, the place this filter writes the filtered output. |
| delete_deeper | Wherther or not to delete the deeper output in this instance's destructor. |
nstring output_base64::filename |
( |
|
) |
const [protected, virtual] |
The filename method is used to obtain the filename of this output.
Implements output.
const char* output_base64::type_name |
( |
|
) |
const [protected, virtual] |
The type_name method is used to determine the name of this output device or file or type.
Implements output.
long output_base64::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_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.
Implements output.
void output_base64::end_of_line_inner |
( |
|
) |
[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.
int output_base64::page_width |
( |
|
) |
const [protected, virtual] |
The page_width method is used to obtain the width of the page of the output device.
Reimplemented from output.
int output_base64::page_length |
( |
|
) |
const [protected, virtual] |
The page_length method is used to obtain the length of the page of the output device.
Reimplemented from output.
The assignment operator. Do not use.
Field Documentation
The deeper instance variable is used to remember the deeper output to which this filter writes its filtered output.
Definition at line 93 of file base64.h.
The residual_value instance variable is used to remember the as-yet-unwritten bits of the value.
Definition at line 99 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 105 of file base64.h.
The output_column instance variable is used to remember what column the output is up to.
Definition at line 111 of file base64.h.
The pos instance variable is used to remember the file position.
Definition at line 116 of file base64.h.
The bol instance variable is used to remember whether or not we are positioned at the beginning of a line.
Definition at line 122 of file base64.h.
The documentation for this class was generated from the following file: