|
VMime
|


Public Member Functions | |
| inputStreamStringAdapter (const string &buffer) | |
| inputStreamStringAdapter (const string &buffer, const string::size_type begin, const string::size_type end) | |
| bool | eof () const |
| void | reset () |
| size_type | read (value_type *const data, const size_type count) |
| size_type | skip (const size_type count) |
| size_type | getPosition () const |
| void | seek (const size_type pos) |
An adapter class for string input.
| inputStreamStringAdapter | ( | const string & | buffer | ) |
| inputStreamStringAdapter | ( | const string & | buffer, |
| const string::size_type | begin, | ||
| const string::size_type | end | ||
| ) |
|
virtual |
Test for end of stream (no more data to read).
Implements inputStream.
|
virtual |
Returns the current position in this stream.
Implements seekableInputStream.
|
virtual |
Read data from the stream.
| data | will receive the data read |
| count | maximum number of bytes to read |
Implements inputStream.
References vmime::count().
|
virtual |
Set the read pointer to the beginning of the stream.
Implements inputStream.
|
virtual |
Sets the position, measured from the beginning of this stream, at which the next read occurs.
| pos | the offset position, measured in bytes from the beginning of the stream, at which to set the stream pointer. |
Implements seekableInputStream.
|
virtual |
Skip a number of bytes.
| count | maximum number of bytes to ignore |
Implements inputStream.
References vmime::count().