michael@0: /* michael@0: ******************************************************************************* michael@0: * Copyright (C) 2013, International Business Machines Corporation and * michael@0: * others. All Rights Reserved. * michael@0: ******************************************************************************* michael@0: * michael@0: * File REGION_IMPL.H michael@0: * michael@0: ******************************************************************************* michael@0: */ michael@0: michael@0: #ifndef __REGION_IMPL_H__ michael@0: #define __REGION_IMPL_H__ michael@0: michael@0: #include "unicode/utypes.h" michael@0: michael@0: #if !UCONFIG_NO_FORMATTING michael@0: michael@0: #include "uvector.h" michael@0: #include "unicode/strenum.h" michael@0: michael@0: U_NAMESPACE_BEGIN michael@0: michael@0: michael@0: class RegionNameEnumeration : public StringEnumeration { michael@0: public: michael@0: RegionNameEnumeration(UVector *fNameList, UErrorCode& status); michael@0: virtual ~RegionNameEnumeration(); michael@0: static UClassID U_EXPORT2 getStaticClassID(void); michael@0: virtual UClassID getDynamicClassID(void) const; michael@0: virtual const UnicodeString* snext(UErrorCode& status); michael@0: virtual void reset(UErrorCode& status); michael@0: virtual int32_t count(UErrorCode& status) const; michael@0: private: michael@0: int32_t pos; michael@0: UVector *fRegionNames; michael@0: }; michael@0: michael@0: U_NAMESPACE_END michael@0: michael@0: #endif michael@0: michael@0: #endif