#include <catenate.h>
Public Member Functions | |
virtual | ~input_catenate () |
input_catenate (input deeper[], size_t ndeeper, bool close_on_close) | |
nstring | name () |
long | length () |
void | keepalive () |
long | read_inner (void *data, size_t nbytes) |
long | ftell_inner () |
bool | is_remote () const |
Private Member Functions | |
input_catenate () | |
input_catenate (const input_catenate &arg) | |
input_catenate & | operator= (const input_catenate &arg) |
Private Attributes | |
input * | deeper |
size_t | ndeeper |
bool | delete_on_close |
size_t | selector |
size_t | pos |
Definition at line 25 of file catenate.h.
virtual input_catenate::~input_catenate | ( | ) | [virtual] |
The destructor.
input_catenate::input_catenate | ( | input | deeper[], | |
size_t | ndeeper, | |||
bool | close_on_close | |||
) |
The constructor.
input_catenate::input_catenate | ( | ) | [private] |
The default constructor. Do not use.
input_catenate::input_catenate | ( | const input_catenate & | arg | ) | [private] |
The copy constructor. Do not use.
nstring input_catenate::name | ( | ) | [virtual] |
long input_catenate::length | ( | ) | [virtual] |
void input_catenate::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_catenate::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_catenate::ftell_inner | ( | ) | [virtual] |
bool input_catenate::is_remote | ( | ) | const [virtual] |
input_catenate& input_catenate::operator= | ( | const input_catenate & | arg | ) | [private] |
The assignment operator. Do not use.
input* input_catenate::deeper [private] |
Definition at line 58 of file catenate.h.
size_t input_catenate::ndeeper [private] |
Definition at line 59 of file catenate.h.
bool input_catenate::delete_on_close [private] |
Definition at line 60 of file catenate.h.
size_t input_catenate::selector [private] |
Definition at line 61 of file catenate.h.
size_t input_catenate::pos [private] |
Definition at line 62 of file catenate.h.