A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/umutablecptrie_8h_source.html below:

ICU 77.1: common/unicode/umutablecptrie.h Source File

7 #ifndef __UMUTABLECPTRIE_H__ 8 #define __UMUTABLECPTRIE_H__ 16 #if U_SHOW_CPLUSPLUS_API 221 #if U_SHOW_CPLUSPLUS_API

"Smart pointer" class, closes a UMutableCPTrie via umutablecptrie_close().

C++ API: "Smart pointers" for use with and in ICU4C C++ code.

#define U_DEFINE_LOCAL_OPEN_POINTER(LocalPointerClassName, Type, closeFunction)

"Smart pointer" definition macro, deletes objects via the closeFunction.

Immutable Unicode code point trie structure.

C API: This file defines an abstract map from Unicode code points to integer values.

uint32_t UCPMapValueFilter(const void *context, uint32_t value)

Callback function type: Modifies a map value.

struct UCPMap UCPMap

Abstract map from Unicode code points (U+0000..U+10FFFF) to integer values.

UCPMapRangeOption

Selectors for how ucpmap_getRange() etc.

C API: This file defines an immutable Unicode code point trie.

UCPTrieType

Selectors for the type of a UCPTrie.

UCPTrieValueWidth

Selectors for the number of bits in a UCPTrie data value.

int32_t UChar32

Define UChar32 as a type for single Unicode code points.

#define U_CDECL_END

This is used to end a declaration of a library private ICU C API.

#define U_CAPI

This is used to declare a function as a public ICU C API.

#define U_CDECL_BEGIN

This is used to begin a declaration of a library private ICU C API.

U_CAPI UMutableCPTrie * umutablecptrie_open(uint32_t initialValue, uint32_t errorValue, UErrorCode *pErrorCode)

Creates a mutable trie that initially maps each Unicode code point to the same value.

U_CAPI void umutablecptrie_close(UMutableCPTrie *trie)

Closes a mutable trie and releases associated memory.

U_CAPI uint32_t umutablecptrie_get(const UMutableCPTrie *trie, UChar32 c)

Returns the value for a code point as stored in the trie.

U_CAPI void umutablecptrie_set(UMutableCPTrie *trie, UChar32 c, uint32_t value, UErrorCode *pErrorCode)

Sets a value for a code point.

U_CAPI UChar32 umutablecptrie_getRange(const UMutableCPTrie *trie, UChar32 start, UCPMapRangeOption option, uint32_t surrogateValue, UCPMapValueFilter *filter, const void *context, uint32_t *pValue)

Returns the last code point such that all those from start to there have the same value.

U_CAPI UCPTrie * umutablecptrie_buildImmutable(UMutableCPTrie *trie, UCPTrieType type, UCPTrieValueWidth valueWidth, UErrorCode *pErrorCode)

Compacts the data and builds an immutable UCPTrie according to the parameters.

U_CAPI void umutablecptrie_setRange(UMutableCPTrie *trie, UChar32 start, UChar32 end, uint32_t value, UErrorCode *pErrorCode)

Sets a value for each code point [start..end].

U_CAPI UMutableCPTrie * umutablecptrie_fromUCPTrie(const UCPTrie *trie, UErrorCode *pErrorCode)

Creates a mutable trie with the same contents as the immutable one.

U_CAPI UMutableCPTrie * umutablecptrie_fromUCPMap(const UCPMap *map, UErrorCode *pErrorCode)

Creates a mutable trie with the same contents as the UCPMap.

struct UMutableCPTrie UMutableCPTrie

Mutable Unicode code point trie.

U_CAPI UMutableCPTrie * umutablecptrie_clone(const UMutableCPTrie *other, UErrorCode *pErrorCode)

Clones a mutable trie.

C API: 8-bit Unicode handling macros.

Basic definitions for ICU, for both C and C++ APIs.

UErrorCode

Standard ICU4C error code type, a substitute for exceptions.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4