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

Returns the code unit the iterator currently refers to.

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

Implements CharacterIterator.

Definition at line 141 of file uchriter.cpp.

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

Referenced by CharIterTest::TestIteration().

                                      {
    if (pos >= begin && pos < end) {
        return text[pos];
    } else {
        return DONE;
    }
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index