|
1 /* |
|
2 ******************************************************************************* |
|
3 * Copyright (C) 2013, International Business Machines Corporation and * |
|
4 * others. All Rights Reserved. * |
|
5 ******************************************************************************* |
|
6 * |
|
7 * File REGION_IMPL.H |
|
8 * |
|
9 ******************************************************************************* |
|
10 */ |
|
11 |
|
12 #ifndef __REGION_IMPL_H__ |
|
13 #define __REGION_IMPL_H__ |
|
14 |
|
15 #include "unicode/utypes.h" |
|
16 |
|
17 #if !UCONFIG_NO_FORMATTING |
|
18 |
|
19 #include "uvector.h" |
|
20 #include "unicode/strenum.h" |
|
21 |
|
22 U_NAMESPACE_BEGIN |
|
23 |
|
24 |
|
25 class RegionNameEnumeration : public StringEnumeration { |
|
26 public: |
|
27 RegionNameEnumeration(UVector *fNameList, UErrorCode& status); |
|
28 virtual ~RegionNameEnumeration(); |
|
29 static UClassID U_EXPORT2 getStaticClassID(void); |
|
30 virtual UClassID getDynamicClassID(void) const; |
|
31 virtual const UnicodeString* snext(UErrorCode& status); |
|
32 virtual void reset(UErrorCode& status); |
|
33 virtual int32_t count(UErrorCode& status) const; |
|
34 private: |
|
35 int32_t pos; |
|
36 UVector *fRegionNames; |
|
37 }; |
|
38 |
|
39 U_NAMESPACE_END |
|
40 |
|
41 #endif |
|
42 |
|
43 #endif |