Home | History | Annotate | Download | only in unicode

Lines Matching defs:CharacterIterator

138      * DO NOT CONSIDER IT PART OF CHARACTERITERATOR'S API! 
196 * CharacterIterator classes but extends them significantly:
198 * <li>CharacterIterator is now a subclass of ForwardCharacterIterator.</li>
221 * void forward1(CharacterIterator &it) {
232 * void forward2(CharacterIterator &it) {
234 * for(c=it.firstPostInc(); c!=CharacterIterator::DONE; c=it.nextPostInc()) {
241 * void backward1(CharacterIterator &it) {
251 * void backward2(CharacterIterator &it) {
253 * for(c=it.last(); c!=CharacterIterator::DONE; c=it.previous()) {
261 * void random(CharacterIterator &it) {
263 * it.move32(3, CharacterIterator::kStart);
271 * it.move(-1, CharacterIterator::kCurrent);
276 * exit(1); // CharacterIterator inconsistent
295 * void traverseForward(CharacterIterator& iter)
297 * for(char16_t c = iter.first(); c != CharacterIterator.DONE; c = iter.next()) {
306 * void traverseBackward(CharacterIterator& iter)
308 * for(char16_t c = iter.last(); c != CharacterIterator.DONE; c = iter.previous()) {
318 * void traverseOut(CharacterIterator& iter, int32_t pos)
322 * c != CharacterIterator.DONE && (Unicode::isLetter(c) || Unicode::isDigit(c));
326 * c != CharacterIterator.DONE && (Unicode::isLetter(c) || Unicode::isDigit(c));
358 class U_COMMON_API CharacterIterator : public ForwardCharacterIterator {
370 virtual ~CharacterIterator();
373 * Returns a pointer to a new CharacterIterator of the same
377 * @return a pointer to a new CharacterIterator
380 virtual CharacterIterator* clone(void) const = 0;
629 CharacterIterator();
635 CharacterIterator(int32_t length);
641 CharacterIterator(int32_t length, int32_t position);
647 CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t position);
652 * @param that The CharacterIterator to be copied
655 CharacterIterator(const CharacterIterator &that);
658 * Assignment operator. Sets this CharacterIterator to have the same behavior,
660 * @param that The CharacterIterator passed in.
661 * @return the newly set CharacterIterator.
664 CharacterIterator &operator=(const CharacterIterator &that);
698 CharacterIterator::setToStart() {
703 CharacterIterator::setToEnd() {
708 CharacterIterator::startIndex(void) const {
713 CharacterIterator::endIndex(void) const {
718 CharacterIterator::getIndex(void) const {
723 CharacterIterator::getLength(void) const {