Fredrik Roubert | 0596fae | 2017-04-18 21:34:02 +0200 | [diff] [blame] | 1 | // © 2016 and later: Unicode, Inc. and others. |
Fredrik Roubert | 64339d3 | 2016-10-21 19:43:16 +0200 | [diff] [blame] | 2 | // License & terms of use: http://www.unicode.org/copyright.html |
Craig Cornelius | 8393335 | 2013-06-14 14:20:29 -0700 | [diff] [blame] | 3 | /* |
| 4 | ******************************************************************************* |
| 5 | * Copyright (C) 2013, International Business Machines Corporation and * |
| 6 | * others. All Rights Reserved. * |
| 7 | ******************************************************************************* |
| 8 | * |
| 9 | * File REGION_IMPL.H |
| 10 | * |
| 11 | ******************************************************************************* |
| 12 | */ |
| 13 | |
| 14 | #ifndef __REGION_IMPL_H__ |
| 15 | #define __REGION_IMPL_H__ |
| 16 | |
| 17 | #include "unicode/utypes.h" |
| 18 | |
| 19 | #if !UCONFIG_NO_FORMATTING |
| 20 | |
| 21 | #include "uvector.h" |
| 22 | #include "unicode/strenum.h" |
| 23 | |
| 24 | U_NAMESPACE_BEGIN |
| 25 | |
| 26 | |
| 27 | class RegionNameEnumeration : public StringEnumeration { |
| 28 | public: |
| 29 | RegionNameEnumeration(UVector *fNameList, UErrorCode& status); |
| 30 | virtual ~RegionNameEnumeration(); |
| 31 | static UClassID U_EXPORT2 getStaticClassID(void); |
| 32 | virtual UClassID getDynamicClassID(void) const; |
| 33 | virtual const UnicodeString* snext(UErrorCode& status); |
| 34 | virtual void reset(UErrorCode& status); |
| 35 | virtual int32_t count(UErrorCode& status) const; |
| 36 | private: |
| 37 | int32_t pos; |
| 38 | UVector *fRegionNames; |
| 39 | }; |
| 40 | |
| 41 | U_NAMESPACE_END |
| 42 | |
| 43 | #endif |
| 44 | |
| 45 | #endif |