Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ucnv_io.h File Reference

Go to the source code of this file.

Functions

U_CFUNC const char* ucnv_io_getConverterName (const char *alias, UErrorCode *pErrorCode)
 Map a converter alias name to a canonical converter name. More...

U_CFUNC uint16_t ucnv_io_getAliases (const char *alias, const char **aliases, UErrorCode *pErrorCode)
 Search case-insensitively for a converter alias and set aliases to a pointer to the list of aliases for the actual converter. More...

U_CFUNC const char* ucnv_io_getAlias (const char *alias, uint16_t n, UErrorCode *pErrorCode)
 Search case-insensitively for a converter alias and return the (n)th alias. More...

U_CFUNC uint16_t ucnv_io_countStandards (UErrorCode *pErrorCode)
 Return the number of all standard names.

U_CFUNC uint16_t ucnv_io_countAvailableConverters (UErrorCode *pErrorCode)
 Return the number of all converter names.

U_CFUNC const char* ucnv_io_getAvailableConverter (uint16_t n, UErrorCode *pErrorCode)
 Return the (n)th converter name in mixed case, or NULL if there is none (typically, if the data cannot be loaded). More...

U_CFUNC void ucnv_io_fillAvailableConverters (const char **aliases, UErrorCode *pErrorCode)
 Fill an array const char *aliases[ucnv_io_countAvailableConverters()] with pointers to all converter names in mixed-case.

U_CFUNC uint16_t ucnv_io_countAvailableAliases (UErrorCode *pErrorCode)
 Return the number of all aliases (and converter names).

U_CFUNC const char* ucnv_io_getAvailableAlias (uint16_t n, UErrorCode *pErrorCode)
 Return the (n)th alias or converter name in mixed case, or NULL if there is none (typically, if the data cannot be loaded). More...

U_CFUNC void ucnv_io_fillAvailableAliases (const char **aliases, UErrorCode *pErrorCode)
 Fill an array const char *aliases[ucnv_io_countAvailableAliases()] with pointers to all aliases and converter names in mixed-case.

U_CFUNC const char* ucnv_io_getDefaultConverterName (void)
 Get the name of the default converter. More...

U_CFUNC void ucnv_io_setDefaultConverterName (const char *name)
 Set the name of the default converter.


Function Documentation

U_CFUNC uint16_t ucnv_io_countAvailableAliases ( UErrorCode * pErrorCode )
 

Return the number of all aliases (and converter names).

U_CFUNC uint16_t ucnv_io_countAvailableConverters ( UErrorCode * pErrorCode )
 

Return the number of all converter names.

U_CFUNC uint16_t ucnv_io_countStandards ( UErrorCode * pErrorCode )
 

Return the number of all standard names.

U_CFUNC void ucnv_io_fillAvailableAliases ( const char ** aliases,
UErrorCode * pErrorCode )
 

Fill an array const char *aliases[ucnv_io_countAvailableAliases()] with pointers to all aliases and converter names in mixed-case.

U_CFUNC void ucnv_io_fillAvailableConverters ( const char ** aliases,
UErrorCode * pErrorCode )
 

Fill an array const char *aliases[ucnv_io_countAvailableConverters()] with pointers to all converter names in mixed-case.

U_CFUNC const char * ucnv_io_getAlias ( const char * alias,
uint16_t n,
UErrorCode * pErrorCode )
 

Search case-insensitively for a converter alias and return the (n)th alias.

Returns NULL if the alias is not found.

U_CFUNC uint16_t ucnv_io_getAliases ( const char * alias,
const char ** aliases,
UErrorCode * pErrorCode )
 

Search case-insensitively for a converter alias and set aliases to a pointer to the list of aliases for the actual converter.

The first "alias" is the canonical converter name. The aliases are stored consecutively, in mixed case, each NUL-terminated. There are as many strings in this list as the return value specifies. Returns the number of aliases including the canonical converter name, or 0 if the alias is not found.

U_CFUNC const char * ucnv_io_getAvailableAlias ( uint16_t n,
UErrorCode * pErrorCode )
 

Return the (n)th alias or converter name in mixed case, or NULL if there is none (typically, if the data cannot be loaded).

0<=index<ucnv_io_countAvailableAliases().

U_CFUNC const char * ucnv_io_getAvailableConverter ( uint16_t n,
UErrorCode * pErrorCode )
 

Return the (n)th converter name in mixed case, or NULL if there is none (typically, if the data cannot be loaded).

0<=index<ucnv_io_countAvailableConverters().

U_CFUNC const char * ucnv_io_getConverterName ( const char * alias,
UErrorCode * pErrorCode )
 

Map a converter alias name to a canonical converter name.

The alias is searched for case-insensitively, the converter name is returned in mixed-case. Returns NULL if the alias is not found.

U_CFUNC const char * ucnv_io_getDefaultConverterName ( void )
 

Get the name of the default converter.

This name is already resolved by ucnv_io_getConverterName().

U_CFUNC void ucnv_io_setDefaultConverterName ( const char * name )
 

Set the name of the default converter.


Generated at Tue Dec 5 17:55:46 2000 for ICU by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000