webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Attributes | List of all members
UTextFuncs Struct Reference

#include <utext.h>

Public Attributes

int32_t tableSize
 
int32_t reserved1
 
int32_t reserved2
 
int32_t reserved3
 
UTextCloneclone
 
UTextNativeLengthnativeLength
 
UTextAccessaccess
 
UTextExtractextract
 
UTextReplacereplace
 
UTextCopycopy
 
UTextMapOffsetToNativemapOffsetToNative
 
UTextMapNativeIndexToUTF16mapNativeIndexToUTF16
 
UTextCloseclose
 
UTextClosespare1
 
UTextClosespare2
 
UTextClosespare3
 

Detailed Description

(public) Function dispatch table for UText. Conceptually very much like a C++ Virtual Function Table. This struct defines the organization of the table. Each text provider implementation must provide an actual table that is initialized with the appropriate functions for the type of text being handled. ICU 3.6

Member Data Documentation

◆ access

UTextAccess * UTextFuncs::access

(public) Function pointer for UTextAccess.

See also
UTextAccess ICU 3.6

◆ clone

UTextClone * UTextFuncs::clone

(public) Function pointer for UTextClone

See also
UTextClone ICU 3.6

◆ close

UTextClose * UTextFuncs::close

(public) Function pointer for UTextClose.

See also
UTextClose ICU 3.6

◆ copy

UTextCopy * UTextFuncs::copy

(public) Function pointer for UTextCopy.

See also
UTextCopy ICU 3.6

◆ extract

UTextExtract * UTextFuncs::extract

(public) Function pointer for UTextExtract.

See also
UTextExtract ICU 3.6

◆ mapNativeIndexToUTF16

UTextMapNativeIndexToUTF16 * UTextFuncs::mapNativeIndexToUTF16

(public) Function pointer for UTextMapNativeIndexToUTF16.

See also
UTextMapNativeIndexToUTF16 ICU 3.6

◆ mapOffsetToNative

UTextMapOffsetToNative * UTextFuncs::mapOffsetToNative

(public) Function pointer for UTextMapOffsetToNative.

See also
UTextMapOffsetToNative ICU 3.6

◆ nativeLength

UTextNativeLength * UTextFuncs::nativeLength

(public) function pointer for UTextLength May be expensive to compute!

See also
UTextLength ICU 3.6

◆ replace

UTextReplace * UTextFuncs::replace

(public) Function pointer for UTextReplace.

See also
UTextReplace ICU 3.6

◆ reserved1

int32_t UTextFuncs::reserved1

(private) Alignment padding. Do not use, reserved for use by the UText framework only.

◆ reserved2

int32_t UTextFuncs::reserved2

◆ reserved3

int32_t UTextFuncs::reserved3

◆ spare1

UTextClose * UTextFuncs::spare1

(private) Spare function pointer

◆ spare2

UTextClose * UTextFuncs::spare2

(private) Spare function pointer

◆ spare3

UTextClose * UTextFuncs::spare3

(private) Spare function pointer

◆ tableSize

int32_t UTextFuncs::tableSize

(public) Function table size, sizeof(UTextFuncs) Intended for use should the table grow to accomodate added functions in the future, to allow tests for older format function tables that do not contain the extensions.

Fields are placed for optimal alignment on 32/64/128-bit-pointer machines, by normally grouping together 4 32-bit fields, 4 pointers, 2 64-bit fields in sequence. ICU 3.6


The documentation for this struct was generated from the following file: