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

int32_t CharacterIterator::startIndex ( void   )  const [inline, inherited]

Returns the numeric index in the underlying text-storage object of the character returned by first(). Since it's possible to create an iterator that iterates across only part of a text-storage object, this number isn't necessarily 0.

Returns:
the numeric index in the underlying text-storage object of the character returned by first(). ICU 2.0

Definition at line 696 of file chariter.h.

References CharacterIterator::begin.

Referenced by RuleBasedBreakIterator::adoptText(), Normalizer::startIndex(), CharIterTest::TestConstructionAndEquality(), CharIterTest::TestConstructionAndEqualityUChariter(), CharIterTest::TestIteration(), and CharIterTest::TestIterationUChar32().

                                        {
    return begin;
}


Generated by  Doxygen 1.6.0   Back to index