#include <readers.h>
Inheritance diagram for ID3_IStreamReader::
Public Methods | |
ID3_IStreamReader (istream &reader) | |
virtual | ~ID3_IStreamReader () |
virtual void | close () |
Close the reader. More... | |
virtual int_type | peekChar () |
Return the next character to be read without advancing the internal position. More... | |
virtual size_type | readChars (char buf[], size_type len) |
Read up to len chars into buf and advance the internal position accordingly. More... | |
virtual size_type | readChars (char_type buf[], size_type len) |
Read up to len chars into buf and advance the internal position accordingly. More... | |
virtual pos_type | getBeg () |
Return the beginning position in the reader. More... | |
virtual pos_type | getCur () |
Return the current position in the reader. More... | |
virtual pos_type | getEnd () |
Return the ending position in the reader. More... | |
virtual pos_type | setCur (pos_type pos) |
Set the value of the internal position for reading. More... | |
Protected Methods | |
istream& | getReader () const |
|
|
|
|
|
Close the reader. Any further actions on the reader should fail. Reimplemented from ID3_Reader. Reimplemented in ID3_IFStreamReader. |
|
Return the beginning position in the reader.
Reimplemented from ID3_Reader. |
|
Return the current position in the reader.
Reimplemented from ID3_Reader. Definition at line 61 of file readers.h. Referenced by ID3_MemoryReader::setCur().
|
|
Return the ending position in the reader.
Reimplemented from ID3_Reader. Definition at line 62 of file readers.h. Referenced by ID3_MemoryReader::setCur().
|
|
|
|
Return the next character to be read without advancing the internal position. Returns END_OF_READER if there isn't a character to read. Reimplemented from ID3_Reader. |
|
Read up to Returns the number of characters read into buf.
Reimplemented from ID3_Reader. |
|
Read up to Returns the number of characters read into buf.
Reimplemented from ID3_Reader. Definition at line 50 of file readers.h. Referenced by ID3_MemoryReader::readChars().
|
|
Set the value of the internal position for reading.
Reimplemented from ID3_Reader. |