id3lib 3.8.3
Public Member Functions | List of all members
dami::io::UnsyncedReader Class Reference

#include <io_decorators.h>

Inheritance diagram for dami::io::UnsyncedReader:
dami::io::CharReader ID3_Reader

Public Member Functions

 UnsyncedReader (ID3_Reader &reader)
 
int_type readChar ()
 Read a single character and advance the internal position. More...
 
- Public Member Functions inherited from dami::io::CharReader
 CharReader (ID3_Reader &reader)
 
virtual ~CharReader ()
 
size_type readChars (char_type buf[], size_type len)
 Read len characters into the array buf. More...
 
size_type readChars (char buf[], size_type len)
 
void close ()
 Close the reader. More...
 
int_type peekChar ()
 Return the next character to be read without advancing the internal position. More...
 
pos_type getBeg ()
 Return the beginning position in the reader. More...
 
pos_type getCur ()
 Return the current position in the reader. More...
 
pos_type getEnd ()
 Return the ending position in the reader. More...
 
pos_type setCur (pos_type cur)
 Set the value of the current position for reading. More...
 
- Public Member Functions inherited from ID3_Reader
virtual void close ()=0
 Close the reader. More...
 
virtual pos_type getBeg ()
 Return the beginning position in the reader. More...
 
virtual pos_type getEnd ()
 Return the ending position in the reader. More...
 
virtual pos_type getCur ()=0
 Return the current position in the reader. More...
 
virtual pos_type setCur (pos_type pos)=0
 Set the value of the current position for reading. More...
 
virtual int_type readChar ()
 Read a single character and advance the internal position. More...
 
virtual int_type peekChar ()=0
 Return the next character to be read without advancing the internal position. More...
 
virtual size_type readChars (char_type buf[], size_type len)=0
 Read up to len characters into buf and advance the internal position accordingly. More...
 
virtual size_type readChars (char buf[], size_type len)
 
virtual size_type skipChars (size_type len)
 Skip up to len chars in the stream and advance the internal position accordingly. More...
 
virtual size_type remainingBytes ()
 
virtual bool atEnd ()
 

Additional Inherited Members

- Public Types inherited from ID3_Reader
typedef uint32 size_type
 
typedef uint8 char_type
 
typedef uint32 pos_type
 
typedef int32 off_type
 
typedef int16 int_type
 
- Static Public Attributes inherited from ID3_Reader
static const int_type END_OF_READER = -1
 
- Protected Attributes inherited from dami::io::CharReader
ID3_Reader_reader
 

Detailed Description

Definition at line 135 of file io_decorators.h.

Constructor & Destructor Documentation

◆ UnsyncedReader()

dami::io::UnsyncedReader::UnsyncedReader ( ID3_Reader reader)
inline

Definition at line 140 of file io_decorators.h.

Member Function Documentation

◆ readChar()

ID3_Reader::int_type io::UnsyncedReader::readChar ( )
virtual

Read a single character and advance the internal position.

Note that the interal position may advance more than one byte for a single character read. Returns END_OF_READER if there isn't a character to read.

Reimplemented from ID3_Reader.

Definition at line 183 of file io_decorators.cpp.


The documentation for this class was generated from the following files: