michael@0: /* michael@0: ******************************************************************************* michael@0: * Copyright (C) 2007-2008, International Business Machines Corporation and michael@0: * others. All Rights Reserved. * michael@0: ******************************************************************************* michael@0: * michael@0: * File MSGFMT.H michael@0: * michael@0: ******************************************************************************* michael@0: */ michael@0: michael@0: #ifndef __MSGFMT_IMPL_H__ michael@0: #define __MSGFMT_IMPL_H__ michael@0: michael@0: #include "unicode/utypes.h" michael@0: michael@0: #if !UCONFIG_NO_FORMATTING michael@0: michael@0: #include "unicode/msgfmt.h" michael@0: #include "uvector.h" michael@0: #include "unicode/strenum.h" michael@0: michael@0: U_NAMESPACE_BEGIN michael@0: michael@0: class FormatNameEnumeration : public StringEnumeration { michael@0: public: michael@0: FormatNameEnumeration(UVector *fFormatNames, UErrorCode& status); michael@0: virtual ~FormatNameEnumeration(); 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 *fFormatNames; michael@0: }; michael@0: michael@0: U_NAMESPACE_END michael@0: michael@0: #endif michael@0: michael@0: #endif