nis-util  1.0.D108
Public Member Functions | Static Public Member Functions | Private Member Functions
input_null Class Reference

#include <null.h>

Inheritance diagram for input_null:

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_nulloperator= (const input_null &rhs)

Detailed Description

The input_null class is used to represent an input source this is always empty.

Definition at line 28 of file null.h.

Constructor & Destructor Documentation

input_null::~input_null ( ) [virtual]

The destructor.

Definition at line 22 of file

input_null::input_null ( ) [private]

The default constructor. It is private on purpose, use the create class method instead.

Definition at line 27 of file

input_null::input_null ( const input_null rhs) [private]

The copy constructor. Do not use.

rhsThe right hand side of the initialization.

Member Function Documentation

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

Definition at line 33 of file

input_null& input_null::operator= ( const input_null rhs) [private]

The assignment operator. Do not use.

rhsThe 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_locnThe location of the beginning of the returned data. It is the first argument because it's position is immediately before the returned data.
datapointer to the base of an array to receive the data
data_sizethe maximum number of bytes of data than can be received into the data array.
The nunber of bytes read into data, or 0 at end of file. always <= data_size

Implements input.

Definition at line 40 of file

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