region_impl.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // © 2016 and later: Unicode, Inc. and others.
  2. // License & terms of use: http://www.unicode.org/copyright.html
  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. #ifndef __REGION_IMPL_H__
  14. #define __REGION_IMPL_H__
  15. #include "unicode/utypes.h"
  16. #if !UCONFIG_NO_FORMATTING
  17. #include "uvector.h"
  18. #include "unicode/strenum.h"
  19. U_NAMESPACE_BEGIN
  20. class RegionNameEnumeration : public StringEnumeration {
  21. public:
  22. RegionNameEnumeration(UVector *fNameList, UErrorCode& status);
  23. virtual ~RegionNameEnumeration();
  24. static UClassID U_EXPORT2 getStaticClassID(void);
  25. virtual UClassID getDynamicClassID(void) const;
  26. virtual const UnicodeString* snext(UErrorCode& status);
  27. virtual void reset(UErrorCode& status);
  28. virtual int32_t count(UErrorCode& status) const;
  29. private:
  30. int32_t pos;
  31. UVector *fRegionNames;
  32. };
  33. U_NAMESPACE_END
  34. #endif
  35. #endif