id3lib 3.8.3
dami::io::LineFeedReader Class Reference

#include <io_decorators.h>

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

Public Member Functions

 LineFeedReader (ID3_Reader &reader)
 
int_type readChar ()
 Read a single character and advance the internal position.
 
- 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.
 
size_type readChars (char buf[], size_type len)
 
void close ()
 Close the reader.
 
int_type peekChar ()
 Return the next character to be read without advancing the internal position.
 
pos_type getBeg ()
 Return the beginning position in the reader.
 
pos_type getCur ()
 Return the current position in the reader.
 
pos_type getEnd ()
 Return the ending position in the reader.
 
pos_type setCur (pos_type cur)
 Set the value of the current position for reading.
 
- Public Member Functions inherited from ID3_Reader
virtual size_type skipChars (size_type len)
 Skip up to len chars in the stream and advance the internal position accordingly.
 
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 126 of file io_decorators.h.

Constructor & Destructor Documentation

◆ LineFeedReader()

dami::io::LineFeedReader::LineFeedReader ( ID3_Reader & reader)
inline

Definition at line 131 of file io_decorators.h.

Member Function Documentation

◆ readChar()

ID3_Reader::int_type io::LineFeedReader::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 167 of file io_decorators.cpp.


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