Logo Search packages:      
Sourcecode: icu version File versions  Download package

uldnames.h File Reference


Detailed Description

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

Definition in file uldnames.h.

#include "unicode/utypes.h"
#include "unicode/localpointer.h"
#include "unicode/uscript.h"

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_DRAFT void U_EXPORT2 uldn_close (ULocaleDisplayNames *ldn)
U_DRAFT UDialectHandling U_EXPORT2 uldn_getDialectHandling (const ULocaleDisplayNames *ldn)
U_DRAFT const char *U_EXPORT2 uldn_getLocale (const ULocaleDisplayNames *ldn)
U_DRAFT int32_t U_EXPORT2 uldn_keyDisplayName (const ULocaleDisplayNames *ldn, const char *key, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_DRAFT int32_t U_EXPORT2 uldn_keyValueDisplayName (const ULocaleDisplayNames *ldn, const char *key, const char *value, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_DRAFT int32_t U_EXPORT2 uldn_languageDisplayName (const ULocaleDisplayNames *ldn, const char *lang, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_DRAFT int32_t U_EXPORT2 uldn_localeDisplayName (const ULocaleDisplayNames *ldn, const char *locale, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_DRAFT ULocaleDisplayNames
*U_EXPORT2 
uldn_open (const char *locale, UDialectHandling dialectHandling, UErrorCode *pErrorCode)
U_DRAFT int32_t U_EXPORT2 uldn_regionDisplayName (const ULocaleDisplayNames *ldn, const char *region, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_DRAFT int32_t U_EXPORT2 uldn_scriptCodeDisplayName (const ULocaleDisplayNames *ldn, UScriptCode scriptCode, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_DRAFT int32_t U_EXPORT2 uldn_scriptDisplayName (const ULocaleDisplayNames *ldn, const char *script, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)
U_DRAFT int32_t U_EXPORT2 uldn_variantDisplayName (const ULocaleDisplayNames *ldn, const char *variant, UChar *result, int32_t maxResultSize, UErrorCode *pErrorCode)


Generated by  Doxygen 1.6.0   Back to index