~ubuntu-branches/ubuntu/gutsy/icu/gutsy

« back to all changes in this revision

Viewing changes to source/common/unicode/uchriter.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2005-05-21 22:44:31 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: package-import@ubuntu.com-20050521224431-r7rktfhnu1n4tf1g
Tags: 2.1-2.1
Rename icu-doc to icu21-doc. icu-doc is built by the icu28 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
   * @stable
48
48
   */
49
49
  UCharCharacterIterator(const UChar* textPtr, int32_t length,
50
 
                         UTextOffset position);
 
50
                         int32_t position);
51
51
 
52
52
  /**
53
53
   * Create an iterator over the UChar array referred to by "textPtr".
61
61
   * @stable
62
62
   */
63
63
  UCharCharacterIterator(const UChar* textPtr, int32_t length,
64
 
                         UTextOffset textBegin,
65
 
                         UTextOffset textEnd,
66
 
                         UTextOffset position);
 
64
                         int32_t textBegin,
 
65
                         int32_t textEnd,
 
66
                         int32_t position);
67
67
 
68
68
  /**
69
69
   * Copy constructor.  The new iterator iterates over the same range
167
167
   * returns that code unit.  
168
168
   * @stable
169
169
   */
170
 
  virtual UChar         setIndex(UTextOffset position);
 
170
  virtual UChar         setIndex(int32_t position);
171
171
 
172
172
  /**
173
173
   * Sets the iterator to refer to the beginning of the code point
178
178
   * (its first code unit).
179
179
   * @stable
180
180
   */
181
 
  virtual UChar32       setIndex32(UTextOffset position);
 
181
  virtual UChar32       setIndex32(int32_t position);
182
182
 
183
183
  /**
184
184
   * Returns the code unit the iterator currently refers to.  
271
271
   * @return the new position
272
272
   * @stable
273
273
   */
274
 
  virtual UTextOffset      move(int32_t delta, EOrigin origin);
 
274
  virtual int32_t      move(int32_t delta, EOrigin origin);
275
275
 
276
276
  /**
277
277
   * Moves the current position relative to the start or end of the
281
281
   * @return the new position
282
282
   * @stable
283
283
   */
284
 
  virtual UTextOffset      move32(int32_t delta, EOrigin origin);
 
284
  virtual int32_t      move32(int32_t delta, EOrigin origin);
285
285
 
286
286
  /**
287
287
   * Sets the iterator to iterate over a new range of text