Panda3D
|
This decoder extracts characters two at a time to get a plain wide character sequence. More...
#include "stringDecoder.h"
Public Member Functions | |
StringUnicodeDecoder (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 | |
bool | _eof |
string | _input |
size_t | _p |
This decoder extracts characters two at a time to get a plain wide character sequence.
Definition at line 61 of file stringDecoder.h.
int StringUnicodeDecoder::get_next_character | ( | ) | [virtual] |
Returns the next character in sequence.
Reimplemented from StringDecoder.
Definition at line 126 of file stringDecoder.cxx.
References StringDecoder::test_eof().
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 35 of file stringDecoder.I.
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 46 of file stringDecoder.I.
Referenced by StringUtf8Decoder::get_next_character(), get_next_character(), and StringDecoder::get_next_character().