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

Gets the current code point for returning and advances to the next code point in the iteration range (toward endIndex()). If there are no more code points to return, returns DONE.

the current point. ICU 2.0

Implements ForwardCharacterIterator.

Definition at line 272 of file uchriter.cpp.

References CharacterIterator::end, CharacterIterator::pos, text, and UTF_NEXT_CHAR.

Referenced by CharIterTest::TestIterationUChar32().

    if (pos < end) {
        UChar32 c;
        UTF_NEXT_CHAR(text, pos, end, c);
        return c;
    } else {
        return DONE;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index