00001
00002
00003
00004
00005
00006
00007 #ifndef __UCPMAP_H__
00008 #define __UCPMAP_H__
00009
00010 #include "unicode/utypes.h"
00011
00012 U_CDECL_BEGIN
00013
00031 typedef struct UCPMap UCPMap;
00032
00042 enum UCPMapRangeOption {
00048 UCPMAP_RANGE_NORMAL,
00064 UCPMAP_RANGE_FIXED_LEAD_SURROGATES,
00080 UCPMAP_RANGE_FIXED_ALL_SURROGATES
00081 };
00082 #ifndef U_IN_DOXYGEN
00083 typedef enum UCPMapRangeOption UCPMapRangeOption;
00084 #endif
00085
00096 U_CAPI uint32_t U_EXPORT2
00097 ucpmap_get(const UCPMap *map, UChar32 c);
00098
00113 typedef uint32_t U_CALLCONV
00114 UCPMapValueFilter(const void *context, uint32_t value);
00115
00152 U_CAPI UChar32 U_EXPORT2
00153 ucpmap_getRange(const UCPMap *map, UChar32 start,
00154 UCPMapRangeOption option, uint32_t surrogateValue,
00155 UCPMapValueFilter *filter, const void *context, uint32_t *pValue);
00156
00157 U_CDECL_END
00158
00159 #endif