OLD | NEW |
1 /* | 1 /* |
2 ****************************************************************************** | 2 ****************************************************************************** |
3 * Copyright (C) 1998-2010, International Business Machines Corporation and | 3 * Copyright (C) 1998-2010, International Business Machines Corporation and |
4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
5 ****************************************************************************** | 5 ****************************************************************************** |
6 */ | 6 */ |
7 | 7 |
8 #include <typeinfo> // for 'typeid' to work | 8 #include "unicode/utypeinfo.h" // for 'typeid' to work |
9 | 9 |
10 #include "unicode/uchriter.h" | 10 #include "unicode/uchriter.h" |
11 #include "unicode/ustring.h" | 11 #include "unicode/ustring.h" |
12 #include "uhash.h" | 12 #include "uhash.h" |
13 | 13 |
14 U_NAMESPACE_BEGIN | 14 U_NAMESPACE_BEGIN |
15 | 15 |
16 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UCharCharacterIterator) | 16 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UCharCharacterIterator) |
17 | 17 |
18 UCharCharacterIterator::UCharCharacterIterator() | 18 UCharCharacterIterator::UCharCharacterIterator() |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 end = textLength = newTextLength; | 355 end = textLength = newTextLength; |
356 pos = begin = 0; | 356 pos = begin = 0; |
357 } | 357 } |
358 | 358 |
359 void | 359 void |
360 UCharCharacterIterator::getText(UnicodeString& result) { | 360 UCharCharacterIterator::getText(UnicodeString& result) { |
361 result = UnicodeString(text, textLength); | 361 result = UnicodeString(text, textLength); |
362 } | 362 } |
363 | 363 |
364 U_NAMESPACE_END | 364 U_NAMESPACE_END |
OLD | NEW |