18 #if !UCONFIG_NO_FORMATTING
23 #include "unicode/udisplaycontext.h"
64 #ifndef U_HIDE_INTERNAL_API
77 UDisplayContext *contexts, int32_t length);
87 virtual const Locale& getLocale()
const = 0;
102 virtual UDisplayContext getContext(UDisplayContextType type)
const = 0;
122 virtual UnicodeString& localeDisplayName(
const char* localeId,
173 virtual UnicodeString& variantDisplayName(
const char* variant,
194 virtual UnicodeString& keyValueDisplayName(
const char* key,
const char* value,
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
UScriptCode
Constants for ISO 15924 script codes.
C API: Unicode Script Information.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Use standard names when generating a locale name, e.g.
UDialectHandling
Enum used in LocaleDisplayNames::createInstance.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
C++ API: Locale ID object.
Basic definitions for ICU, for both C and C++ APIs.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
Returns display names of Locales and components of Locales.
UObject is the common ICU "boilerplate" class.
C API: Provides display names of Locale ids and their components.
A Locale object represents a specific geographical, political, or cultural region.