|
Aegis
4.25.D505
|
#include <null.h>
Public Member Functions | |
| virtual | ~input_null () |
| input_null () | |
| nstring | name () |
| off_t | length () |
| ssize_t | read_inner (void *data, size_t nbytes) |
| off_t | ftell_inner () |
Private Member Functions | |
| input_null (const input_null &) | |
| input_null & | operator= (const input_null &) |
The input_null class is used to represent and input which is always empty.
| virtual input_null::~input_null | ( | ) | [virtual] |
The destructor.
The default constructor.
| input_null::input_null | ( | const input_null & | ) | [private] |
The copy constructor. Do not use.
| off_t input_null::ftell_inner | ( | ) | [virtual] |
The ftell_inner method is used to determine the unbuffered current position within the input.
Implements input_ty.
| off_t input_null::length | ( | ) | [virtual] |
The length method is used to determine the length of the input. May return -1 if the length is unknown.
Implements input_ty.
| nstring input_null::name | ( | ) | [virtual] |
The name method is used to determine the name of the input.
Implements input_ty.
| input_null& input_null::operator= | ( | const input_null & | ) | [private] |
The assignment operator. Do not use.
| ssize_t input_null::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.
1.7.6.1