ICU 64.2
64.2
|
(public) Function dispatch table for UText. More...
#include <utext.h>
Data Fields | |
int32_t | tableSize |
(public) Function table size, sizeof(UTextFuncs) Intended for use should the table grow to accommodate added functions in the future, to allow tests for older format function tables that do not contain the extensions. More... | |
int32_t | reserved1 |
(private) Alignment padding. More... | |
int32_t | reserved2 |
int32_t | reserved3 |
UTextClone * | clone |
(public) Function pointer for UTextClone More... | |
UTextNativeLength * | nativeLength |
(public) function pointer for UTextLength May be expensive to compute! More... | |
UTextAccess * | access |
(public) Function pointer for UTextAccess. More... | |
UTextExtract * | extract |
(public) Function pointer for UTextExtract. More... | |
UTextReplace * | replace |
(public) Function pointer for UTextReplace. More... | |
UTextCopy * | copy |
(public) Function pointer for UTextCopy. More... | |
UTextMapOffsetToNative * | mapOffsetToNative |
(public) Function pointer for UTextMapOffsetToNative. More... | |
UTextMapNativeIndexToUTF16 * | mapNativeIndexToUTF16 |
(public) Function pointer for UTextMapNativeIndexToUTF16. More... | |
UTextClose * | close |
(public) Function pointer for UTextClose. More... | |
UTextClose * | spare1 |
(private) Spare function pointer More... | |
UTextClose * | spare2 |
(private) Spare function pointer More... | |
UTextClose * | spare3 |
(private) Spare function pointer More... | |
(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.
UTextAccess* UTextFuncs::access |
UTextClone* UTextFuncs::clone |
UTextClose* UTextFuncs::close |
UTextCopy* UTextFuncs::copy |
UTextExtract* UTextFuncs::extract |
UTextMapNativeIndexToUTF16* UTextFuncs::mapNativeIndexToUTF16 |
(public) Function pointer for UTextMapNativeIndexToUTF16.
UTextMapOffsetToNative* UTextFuncs::mapOffsetToNative |
UTextNativeLength* UTextFuncs::nativeLength |
UTextReplace* UTextFuncs::replace |
int32_t UTextFuncs::reserved1 |
int32_t UTextFuncs::reserved2 |
int32_t UTextFuncs::reserved3 |
UTextClose* UTextFuncs::spare1 |
UTextClose* UTextFuncs::spare2 |
UTextClose* UTextFuncs::spare3 |
int32_t UTextFuncs::tableSize |
(public) Function table size, sizeof(UTextFuncs) Intended for use should the table grow to accommodate 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.