#include <string.h>
Public Member Functions | |
virtual | ~input_string () |
input_string (const nstring &arg) | |
nstring | name () |
long | length () |
long | read_inner (void *data, size_t nbytes) |
long | ftell_inner () |
Private Member Functions | |
input_string () | |
input_string (const input_string &arg) | |
input_string & | operator= (const input_string &arg) |
Private Attributes | |
nstring | base |
size_t | pos |
Definition at line 29 of file string.h.
virtual input_string::~input_string | ( | ) | [virtual] |
The destructor.
input_string::input_string | ( | const nstring & | arg | ) |
The constructor.
input_string::input_string | ( | ) | [private] |
The default constructor. Do not use.
input_string::input_string | ( | const input_string & | arg | ) | [private] |
The copy constructor. Do not use.
nstring input_string::name | ( | ) | [virtual] |
long input_string::length | ( | ) | [virtual] |
long input_string::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_string::ftell_inner | ( | ) | [virtual] |
input_string& input_string::operator= | ( | const input_string & | arg | ) | [private] |
The assignment operator. Do not use.
nstring input_string::base [private] |
size_t input_string::pos [private] |