#include <uudecode.h>
Public Member Functions | |
virtual | ~input_uudecode () |
input_uudecode (input &deeper) | |
nstring | name () |
long | length () |
void | keepalive () |
long | read_inner (void *data, size_t nbytes) |
long | ftell_inner () |
bool | is_remote () const |
Static Public Member Functions | |
static bool | candidate (input &deeper) |
Private Member Functions | |
input_uudecode () | |
input_uudecode (const input_uudecode &arg) | |
input_uudecode & | operator= (const input_uudecode &arg) |
Private Attributes | |
input | deeper |
long | pos |
int | state |
char | etab [64] |
unsigned char | itab [UCHAR_MAX+1] |
int | checksum |
int | padding |
Definition at line 31 of file uudecode.h.
virtual input_uudecode::~input_uudecode | ( | ) | [virtual] |
The destructor.
input_uudecode::input_uudecode | ( | input & | deeper | ) |
The constructor.
deeper | The source of data for this filter. |
input_uudecode::input_uudecode | ( | ) | [private] |
The default constructor. Do not use.
input_uudecode::input_uudecode | ( | const input_uudecode & | arg | ) | [private] |
The copy constructor. Do not use.
nstring input_uudecode::name | ( | ) | [virtual] |
long input_uudecode::length | ( | ) | [virtual] |
void input_uudecode::keepalive | ( | ) | [virtual] |
The keepalive method is used to set the SO_KEEPALIVE socket option, if the file is a socket. Does nothing otherwise.
Reimplemented from input_ty.
long input_uudecode::read_inner | ( | void * | data, | |
size_t | nbytes | |||
) | [virtual] |
The read_inner method is used to read unbuffered data from the given input stream. At most nbytes bytes will be read into data. The number of bytes actually read will be returned. At end-of-file, a value <= 0 will be returned, and data will be unchanged. All file read errors or format errors are fatal, and will cause the method to not return.
data | Where to put the results of the read. | |
nbytes | The maximum number of bytes to read. |
Implements input_ty.
long input_uudecode::ftell_inner | ( | ) | [virtual] |
bool input_uudecode::is_remote | ( | ) | const [virtual] |
static bool input_uudecode::candidate | ( | input & | deeper | ) | [static] |
input_uudecode& input_uudecode::operator= | ( | const input_uudecode & | arg | ) | [private] |
The assignment operator. Do not use.
input input_uudecode::deeper [private] |
The deeper instance variable is used to remember the source of data for this filter.
Definition at line 78 of file uudecode.h.
long input_uudecode::pos [private] |
Definition at line 80 of file uudecode.h.
int input_uudecode::state [private] |
Definition at line 81 of file uudecode.h.
char input_uudecode::etab[64] [private] |
Definition at line 82 of file uudecode.h.
unsigned char input_uudecode::itab[UCHAR_MAX+1] [private] |
Definition at line 83 of file uudecode.h.
int input_uudecode::checksum [private] |
Definition at line 84 of file uudecode.h.
int input_uudecode::padding [private] |
Definition at line 85 of file uudecode.h.