OLD | NEW |
1 /* | 1 /* |
2 ****************************************************************************** | 2 ****************************************************************************** |
3 * Copyright (C) 1996-2010, International Business Machines Corporation and | 3 * Copyright (C) 1996-2010, International Business Machines Corporation and |
4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
5 ****************************************************************************** | 5 ****************************************************************************** |
6 */ | 6 */ |
7 | 7 |
8 /** | 8 /** |
9 * File tblcoll.cpp | 9 * File tblcoll.cpp |
10 * | 10 * |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 * 06/22/99 stephen Fixed logic in constructFromFile() since .ctx | 47 * 06/22/99 stephen Fixed logic in constructFromFile() since .ctx |
48 * files are no longer used. | 48 * files are no longer used. |
49 * 11/02/99 helena Collator performance enhancements. Special case | 49 * 11/02/99 helena Collator performance enhancements. Special case |
50 * for NO_OP situations. | 50 * for NO_OP situations. |
51 * 11/17/99 srl More performance enhancements. Inlined some internal
functions. | 51 * 11/17/99 srl More performance enhancements. Inlined some internal
functions. |
52 * 12/15/99 aliu Update to support Thai collation. Move NormalizerIt
erator | 52 * 12/15/99 aliu Update to support Thai collation. Move NormalizerIt
erator |
53 * to implementation file. | 53 * to implementation file. |
54 * 01/29/01 synwee Modified into a C++ wrapper calling C APIs (ucol.h) | 54 * 01/29/01 synwee Modified into a C++ wrapper calling C APIs (ucol.h) |
55 */ | 55 */ |
56 | 56 |
| 57 #if defined(_MSC_VER) && defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS |
| 58 #include <exception> |
| 59 using std::exception; |
| 60 #endif |
57 #include <typeinfo> // for 'typeid' to work | 61 #include <typeinfo> // for 'typeid' to work |
58 | 62 |
59 #include "unicode/utypes.h" | 63 #include "unicode/utypes.h" |
60 | 64 |
61 #if !UCONFIG_NO_COLLATION | 65 #if !UCONFIG_NO_COLLATION |
62 | 66 |
63 #include "unicode/tblcoll.h" | 67 #include "unicode/tblcoll.h" |
64 #include "unicode/coleitr.h" | 68 #include "unicode/coleitr.h" |
65 #include "unicode/ures.h" | 69 #include "unicode/ures.h" |
66 #include "unicode/uset.h" | 70 #include "unicode/uset.h" |
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 dataIsOwned = TRUE; | 727 dataIsOwned = TRUE; |
724 isWriteThroughAlias = FALSE; | 728 isWriteThroughAlias = FALSE; |
725 } | 729 } |
726 } | 730 } |
727 | 731 |
728 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RuleBasedCollator) | 732 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RuleBasedCollator) |
729 | 733 |
730 U_NAMESPACE_END | 734 U_NAMESPACE_END |
731 | 735 |
732 #endif /* #if !UCONFIG_NO_COLLATION */ | 736 #endif /* #if !UCONFIG_NO_COLLATION */ |
OLD | NEW |