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

virtual CharacterIterator* CharacterIterator::clone ( void   )  const [pure virtual]

Returns a pointer to a new CharacterIterator of the same concrete class as this one, and referring to the same character in the same text-storage object as this one. The caller is responsible for deleting the new clone.

Returns:
a pointer to a new CharacterIterator ICU 2.0

Implemented in StringCharacterIterator, and UCharCharacterIterator.

Referenced by RuleBasedBreakIterator::operator=(), Normalizer::setText(), CharIterTest::TestConstructionAndEquality(), and RBBIAPITest::TestGetSetAdoptText().


Generated by  Doxygen 1.6.0   Back to index