Logo Search packages:      
Sourcecode: einstein version File versions  Download package

UtfStreamReader Class Reference

#include <streams.h>

List of all members.


Detailed Description

Read utf-8 file and convert it to wide characters.

Definition at line 10 of file streams.h.


Public Member Functions

wchar_t getNextChar ()
 Read next unicode character.
wchar_t getNextChar ()
 Read next unicode character.
bool isEof ()
 Check if end of file reached.
bool isEof ()
 Check if end of file reached.
void ungetChar (wchar_t ch)
void ungetChar (wchar_t ch)
 UtfStreamReader (std::ifstream *stream)
 UtfStreamReader (std::ifstream *stream)
 ~UtfStreamReader ()
 Destructor.
 ~UtfStreamReader ()
 Destructor.

Private Attributes

std::list< wchar_t > backBuf
 Push back buffet.
std::ifstream * stream
 Pointer to file stream.

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

Generated by  Doxygen 1.6.0   Back to index