Logo Search packages:      
Sourcecode: icu version File versions

Typedefs | Enumerations | Functions

uldnames.h File Reference

C++ API: Provides display names of Locale ids and their components. More...

#include "unicode/utypes.h"
#include "unicode/localpointer.h"
#include "unicode/uscript.h"
Include dependency graph for uldnames.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct ULocaleDisplayNames ULocaleDisplayNames

Enumerations

enum  UDialectHandling { ULDN_STANDARD_NAMES = 0, ULDN_DIALECT_NAMES }

Functions

U_STABLE void U_EXPORT2 uldn_close (ULocaleDisplayNames *ldn)
U_STABLE UDialectHandling U_EXPORT2 uldn_getDialectHandling (const ULocaleDisplayNames *ldn)
U_STABLE const char *U_EXPORT2 uldn_getLocale (const ULocaleDisplayNames *ldn)
U_STABLE int32_t U_EXPORT2 uldn_keyDisplayName (const ULocaleDisplayNames *ldn, const char *key, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_STABLE int32_t U_EXPORT2 uldn_keyValueDisplayName (const ULocaleDisplayNames *ldn, const char *key, const char *value, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_STABLE int32_t U_EXPORT2 uldn_languageDisplayName (const ULocaleDisplayNames *ldn, const char *lang, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_STABLE int32_t U_EXPORT2 uldn_localeDisplayName (const ULocaleDisplayNames *ldn, const char *locale, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_STABLE ULocaleDisplayNames
*U_EXPORT2 
uldn_open (const char *locale, UDialectHandling dialectHandling, UErrorCode *pErrorCode)
U_STABLE int32_t U_EXPORT2 uldn_regionDisplayName (const ULocaleDisplayNames *ldn, const char *region, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_STABLE int32_t U_EXPORT2 uldn_scriptCodeDisplayName (const ULocaleDisplayNames *ldn, UScriptCode scriptCode, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_STABLE int32_t U_EXPORT2 uldn_scriptDisplayName (const ULocaleDisplayNames *ldn, const char *script, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_STABLE int32_t U_EXPORT2 uldn_variantDisplayName (const ULocaleDisplayNames *ldn, const char *variant, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)

Detailed Description

C++ API: Provides display names of Locale ids and their components.

Definition in file uldnames.h.


Generated by  Doxygen 1.6.0   Back to index