Logo Search packages:      
Sourcecode: icu version File versions


ucnvsel.h File Reference

#include "unicode/utypes.h"
#include "unicode/uset.h"
#include "unicode/utf16.h"
#include "unicode/uenum.h"
#include "unicode/ucnv.h"
#include "unicode/localpointer.h"
Include dependency graph for ucnvsel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


typedef struct UConverterSelector UConverterSelector


U_STABLE void U_EXPORT2 ucnvsel_close (UConverterSelector *sel)
U_STABLE UConverterSelector
ucnvsel_open (const char *const *converterList, int32_t converterListSize, const USet *excludedCodePoints, const UConverterUnicodeSet whichSet, UErrorCode *status)
U_STABLE UConverterSelector
ucnvsel_openFromSerialized (const void *buffer, int32_t length, UErrorCode *status)
U_STABLE UEnumeration *U_EXPORT2 ucnvsel_selectForString (const UConverterSelector *sel, const UChar *s, int32_t length, UErrorCode *status)
U_STABLE UEnumeration *U_EXPORT2 ucnvsel_selectForUTF8 (const UConverterSelector *sel, const char *s, int32_t length, UErrorCode *status)
U_STABLE int32_t U_EXPORT2 ucnvsel_serialize (const UConverterSelector *sel, void *buffer, int32_t bufferCapacity, UErrorCode *status)

Detailed Description

A converter selector is built with a set of encoding/charset names and given an input string returns the set of names of the corresponding converters which can convert the string.

A converter selector can be serialized into a buffer and reopened from the serialized form.

Definition in file ucnvsel.h.

Generated by  Doxygen 1.6.0   Back to index