| 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 * File schriter.cpp | 7 * File schriter.cpp |
| 8 * | 8 * |
| 9 * Modification History: | 9 * Modification History: |
| 10 * | 10 * |
| 11 * Date Name Description | 11 * Date Name Description |
| 12 * 05/05/99 stephen Cleaned up. | 12 * 05/05/99 stephen Cleaned up. |
| 13 ****************************************************************************** | 13 ****************************************************************************** |
| 14 */ | 14 */ |
| 15 | 15 |
| 16 #include <typeinfo> // for 'typeid' to work | 16 #include "unicode/utypeinfo.h" // for 'typeid' to work |
| 17 | 17 |
| 18 #include "unicode/chariter.h" | 18 #include "unicode/chariter.h" |
| 19 #include "unicode/schriter.h" | 19 #include "unicode/schriter.h" |
| 20 | 20 |
| 21 U_NAMESPACE_BEGIN | 21 U_NAMESPACE_BEGIN |
| 22 | 22 |
| 23 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(StringCharacterIterator) | 23 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(StringCharacterIterator) |
| 24 | 24 |
| 25 StringCharacterIterator::StringCharacterIterator() | 25 StringCharacterIterator::StringCharacterIterator() |
| 26 : UCharCharacterIterator(), | 26 : UCharCharacterIterator(), |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 StringCharacterIterator::setText(const UnicodeString& newText) { | 108 StringCharacterIterator::setText(const UnicodeString& newText) { |
| 109 text = newText; | 109 text = newText; |
| 110 UCharCharacterIterator::setText(text.getBuffer(), text.length()); | 110 UCharCharacterIterator::setText(text.getBuffer(), text.length()); |
| 111 } | 111 } |
| 112 | 112 |
| 113 void | 113 void |
| 114 StringCharacterIterator::getText(UnicodeString& result) { | 114 StringCharacterIterator::getText(UnicodeString& result) { |
| 115 result = text; | 115 result = text; |
| 116 } | 116 } |
| 117 U_NAMESPACE_END | 117 U_NAMESPACE_END |
| OLD | NEW |