OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (c) 2002-2012, International Business Machines | 3 * Copyright (c) 2002-2014, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 * Author: Alan Liu | 6 * Author: Alan Liu |
7 * Created: November 11 2002 | 7 * Created: November 11 2002 |
8 * Since: ICU 2.4 | 8 * Since: ICU 2.4 |
9 ********************************************************************** | 9 ********************************************************************** |
10 */ | 10 */ |
11 #ifndef _USTRENUM_H_ | 11 #ifndef _USTRENUM_H_ |
12 #define _USTRENUM_H_ | 12 #define _USTRENUM_H_ |
13 | 13 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 /** | 66 /** |
67 * ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class. | 67 * ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class. |
68 */ | 68 */ |
69 virtual UClassID getDynamicClassID() const; | 69 virtual UClassID getDynamicClassID() const; |
70 | 70 |
71 /** | 71 /** |
72 * ICU4C "poor man's RTTI", returns a UClassID for this ICU class. | 72 * ICU4C "poor man's RTTI", returns a UClassID for this ICU class. |
73 */ | 73 */ |
74 static UClassID U_EXPORT2 getStaticClassID(); | 74 static UClassID U_EXPORT2 getStaticClassID(); |
75 | 75 |
| 76 static UStringEnumeration * U_EXPORT2 fromUEnumeration( |
| 77 UEnumeration *enumToAdopt, UErrorCode &status); |
76 private: | 78 private: |
77 UEnumeration *uenum; // owned | 79 UEnumeration *uenum; // owned |
78 }; | 80 }; |
79 | 81 |
80 U_NAMESPACE_END | 82 U_NAMESPACE_END |
81 | 83 |
82 #endif | 84 #endif |
83 | 85 |
OLD | NEW |