msgfmt_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) 2007-2008, International Business Machines Corporation and
  6. * others. All Rights Reserved. *
  7. *******************************************************************************
  8. *
  9. * File MSGFMT.H
  10. *
  11. *******************************************************************************
  12. */
  13. #ifndef __MSGFMT_IMPL_H__
  14. #define __MSGFMT_IMPL_H__
  15. #include "unicode/utypes.h"
  16. #if !UCONFIG_NO_FORMATTING
  17. #include "unicode/msgfmt.h"
  18. #include "uvector.h"
  19. #include "unicode/strenum.h"
  20. U_NAMESPACE_BEGIN
  21. class FormatNameEnumeration : public StringEnumeration {
  22. public:
  23. FormatNameEnumeration(UVector *fFormatNames, UErrorCode& status);
  24. virtual ~FormatNameEnumeration();
  25. static UClassID U_EXPORT2 getStaticClassID(void);
  26. virtual UClassID getDynamicClassID(void) const;
  27. virtual const UnicodeString* snext(UErrorCode& status);
  28. virtual void reset(UErrorCode& status);
  29. virtual int32_t count(UErrorCode& status) const;
  30. private:
  31. int32_t pos;
  32. UVector *fFormatNames;
  33. };
  34. U_NAMESPACE_END
  35. #endif
  36. #endif