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

Returns the code point the iterator currently refers to.

Returns:
the code point the iterator currently refers to. ICU 2.0

Implements CharacterIterator.

Definition at line 245 of file uchriter.cpp.

References CharacterIterator::begin, CharacterIterator::end, CharacterIterator::pos, text, and UTF_GET_CHAR.

Referenced by CharIterTest::TestIterationUChar32().

                                        {
    if (pos >= begin && pos < end) {
        UChar32 c;
        UTF_GET_CHAR(text, begin, 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