nis-util
1.0.D108
|
#include <null.h>
Public Member Functions | |
virtual | ~input_null () |
Static Public Member Functions | |
static pointer | create (void) |
Private Member Functions | |
input_null () | |
size_t | read_inner (source_location &data_locn, void *data, size_t data_size) |
input_null (const input_null &rhs) | |
input_null & | operator= (const input_null &rhs) |
The input_null class is used to represent an input source this is always empty.
input_null::~input_null | ( | ) | [virtual] |
input_null::input_null | ( | ) | [private] |
input_null::input_null | ( | const input_null & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
input_null::pointer input_null::create | ( | void | ) | [static] |
input_null& input_null::operator= | ( | const input_null & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
size_t input_null::read_inner | ( | source_location & | data_locn, |
void * | data, | ||
size_t | data_size | ||
) | [private, virtual] |
The read_inner method is called byu the underflow method to fill the buffer buf with more data.
data_locn | The location of the beginning of the returned data. It is the first argument because it's position is immediately before the returned data. |
data | pointer to the base of an array to receive the data |
data_size | the maximum number of bytes of data than can be received into the data array. |
Implements input.