Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Side by Side Diff: source/common/unicode/rbbi.h

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/common/unicode/putil.h ('k') | source/common/unicode/std_string.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 *************************************************************************** 2 ***************************************************************************
3 * Copyright (C) 1999-2013 International Business Machines Corporation * 3 * Copyright (C) 1999-2014 International Business Machines Corporation *
4 * and others. All rights reserved. * 4 * and others. All rights reserved. *
5 *************************************************************************** 5 ***************************************************************************
6 6
7 ********************************************************************** 7 **********************************************************************
8 * Date Name Description 8 * Date Name Description
9 * 10/22/99 alan Creation. 9 * 10/22/99 alan Creation.
10 * 11/11/99 rgillam Complete port from Java. 10 * 11/11/99 rgillam Complete port from Java.
11 ********************************************************************** 11 **********************************************************************
12 */ 12 */
13 13
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 * and then used via the abstract API in class BreakIterator</p> 55 * and then used via the abstract API in class BreakIterator</p>
56 * 56 *
57 * <p>See the ICU User Guide for information on Break Iterator Rules.</p> 57 * <p>See the ICU User Guide for information on Break Iterator Rules.</p>
58 * 58 *
59 * <p>This class is not intended to be subclassed. (Class DictionaryBasedBreakI terator 59 * <p>This class is not intended to be subclassed. (Class DictionaryBasedBreakI terator
60 * is a subclass, but that relationship is effectively internal to the ICU 60 * is a subclass, but that relationship is effectively internal to the ICU
61 * implementation. The subclassing interface to RulesBasedBreakIterator is 61 * implementation. The subclassing interface to RulesBasedBreakIterator is
62 * not part of the ICU API, and may not remain stable.</p> 62 * not part of the ICU API, and may not remain stable.</p>
63 * 63 *
64 */ 64 */
65 class U_COMMON_API RuleBasedBreakIterator : public BreakIterator { 65 class U_COMMON_API RuleBasedBreakIterator /*U_FINAL*/ : public BreakIterator {
66 66
67 protected: 67 protected:
68 /** 68 /**
69 * The UText through which this BreakIterator accesses the text 69 * The UText through which this BreakIterator accesses the text
70 * @internal 70 * @internal
71 */ 71 */
72 UText *fText; 72 UText *fText;
73 73
74 /** 74 /**
75 * A character iterator that refers to the same text as the UText, above. 75 * A character iterator that refers to the same text as the UText, above.
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 * Utext that was passed as a parameter, but that the underlying text itself 416 * Utext that was passed as a parameter, but that the underlying text itself
417 * must not be altered while being referenced by the break iterator. 417 * must not be altered while being referenced by the break iterator.
418 * 418 *
419 * @param text The UText used to change the text. 419 * @param text The UText used to change the text.
420 * @param status Receives any error codes. 420 * @param status Receives any error codes.
421 * @stable ICU 3.4 421 * @stable ICU 3.4
422 */ 422 */
423 virtual void setText(UText *text, UErrorCode &status); 423 virtual void setText(UText *text, UErrorCode &status);
424 424
425 /** 425 /**
426 * Sets the current iteration position to the beginning of the text. 426 * Sets the current iteration position to the beginning of the text, positio n zero.
427 * @return The offset of the beginning of the text. 427 * @return The offset of the beginning of the text, zero.
428 * @stable ICU 2.0 428 * @stable ICU 2.0
429 */ 429 */
430 virtual int32_t first(void); 430 virtual int32_t first(void);
431 431
432 /** 432 /**
433 * Sets the current iteration position to the end of the text. 433 * Sets the current iteration position to the end of the text.
434 * @return The text's past-the-end offset. 434 * @return The text's past-the-end offset.
435 * @stable ICU 2.0 435 * @stable ICU 2.0
436 */ 436 */
437 virtual int32_t last(void); 437 virtual int32_t last(void);
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 773
774 inline UBool RuleBasedBreakIterator::operator!=(const BreakIterator& that) const { 774 inline UBool RuleBasedBreakIterator::operator!=(const BreakIterator& that) const {
775 return !operator==(that); 775 return !operator==(that);
776 } 776 }
777 777
778 U_NAMESPACE_END 778 U_NAMESPACE_END
779 779
780 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ 780 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */
781 781
782 #endif 782 #endif
OLDNEW
« no previous file with comments | « source/common/unicode/putil.h ('k') | source/common/unicode/std_string.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698