18 #if !UCONFIG_NO_FORMATTING
70 virtual const Locale& getLocale()
const = 0;
97 virtual UnicodeString& localeDisplayName(
const char* localeId,
148 virtual UnicodeString& variantDisplayName(
const char* variant,
169 virtual UnicodeString& keyValueDisplayName(
const char* key,
const char* value,
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.
Returns display names of Locales and components of Locales.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
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.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
virtual ~LocaleDisplayNames()
Destructor.
C++ API: Locale ID object.
Basic definitions for ICU, for both C and C++ APIs.
static LocaleDisplayNames * createInstance(const Locale &locale)
Convenience overload of createInstance(const Locale& locale, UDialectHandling dialectHandling) that s...
A Locale object represents a specific geographical, political, or cultural region.
C++ API: Provides display names of Locale ids and their components.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.