Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

StringUtf8Decoder Class Reference

This decoder extracts utf-8 sequences. More...

#include <stringDecoder.h>

Inheritance diagram for StringUtf8Decoder:

StringDecoder List of all members.

Public Member Functions

 StringUtf8Decoder (const string &input)
virtual int get_next_character ()
 Returns the next character in sequence.

bool is_eof ()
 Returns true if the decoder has returned the last character in the string, false if there are more to go.


Protected Member Functions

bool test_eof ()
 If the pointer is past the last character of the string, set the eof flag and return true.


Protected Attributes

string _input
size_t _p
bool _eof

Detailed Description

This decoder extracts utf-8 sequences.

Definition at line 66 of file stringDecoder.h.


Constructor & Destructor Documentation

StringUtf8Decoder::StringUtf8Decoder const string &  input  )  [inline]
 

Definition at line 82 of file stringDecoder.I.


Member Function Documentation

int StringUtf8Decoder::get_next_character  )  [virtual]
 

Returns the next character in sequence.

Reimplemented from StringDecoder.

Definition at line 86 of file stringDecoder.cxx.

bool StringDecoder::is_eof  )  [inline, inherited]
 

Returns true if the decoder has returned the last character in the string, false if there are more to go.

Definition at line 50 of file stringDecoder.I.

References StringDecoder::_eof, StringDecoder::_input, and StringDecoder::_p.

Referenced by TextEncoder::encode_wtext().

bool StringDecoder::test_eof  )  [inline, protected, inherited]
 

If the pointer is past the last character of the string, set the eof flag and return true.

Definition at line 65 of file stringDecoder.I.

Referenced by StringDecoder::get_next_character(), and StringDecoder::~StringDecoder().


Member Data Documentation

bool StringDecoder::_eof [protected, inherited]
 

Definition at line 56 of file stringDecoder.h.

Referenced by StringDecoder::is_eof(), and StringDecoder::StringDecoder().

string StringDecoder::_input [protected, inherited]
 

Definition at line 54 of file stringDecoder.h.

Referenced by StringDecoder::get_next_character(), StringDecoder::is_eof(), and StringDecoder::~StringDecoder().

size_t StringDecoder::_p [protected, inherited]
 

Definition at line 55 of file stringDecoder.h.

Referenced by StringDecoder::get_next_character(), StringDecoder::is_eof(), and StringDecoder::~StringDecoder().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:55:20 2003 for Panda by doxygen1.3