Movatterモバイル変換


[0]ホーム

URL:


ICU 78.1  78.1
Data Fields
UTextFuncs Struct Reference

(public) Function dispatch table forUText.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
 
UTextCloneclone
 (public) Function pointer for UTextCloneMore...
 
UTextNativeLengthnativeLength
 (public) function pointer for UTextLength May be expensive to compute!More...
 
UTextAccessaccess
 (public) Function pointer for UTextAccess.More...
 
UTextExtractextract
 (public) Function pointer for UTextExtract.More...
 
UTextReplacereplace
 (public) Function pointer for UTextReplace.More...
 
UTextCopycopy
 (public) Function pointer for UTextCopy.More...
 
UTextMapOffsetToNativemapOffsetToNative
 (public) Function pointer for UTextMapOffsetToNative.More...
 
UTextMapNativeIndexToUTF16mapNativeIndexToUTF16
 (public) Function pointer for UTextMapNativeIndexToUTF16.More...
 
UTextCloseclose
 (public) Function pointer for UTextClose.More...
 
UTextClosespare1
 (private) Spare function pointerMore...
 
UTextClosespare2
 (private) Spare function pointerMore...
 
UTextClosespare3
 (private) Spare function pointerMore...
 

Detailed Description

(public) Function dispatch table forUText.

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.

Stable:
ICU 3.6

Definition at line1194 of fileutext.h.

Field Documentation

◆ access

UTextAccess* UTextFuncs::access

(public) Function pointer for UTextAccess.

See also
UTextAccess
Stable:
ICU 3.6

Definition at line1242 of fileutext.h.

◆ clone

UTextClone* UTextFuncs::clone

(public) Function pointer for UTextClone

See also
UTextClone
Stable:
ICU 3.6

Definition at line1225 of fileutext.h.

◆ close

UTextClose* UTextFuncs::close

(public) Function pointer for UTextClose.

See also
UTextClose
Stable:
ICU 3.6

Definition at line1290 of fileutext.h.

◆ copy

UTextCopy* UTextFuncs::copy

(public) Function pointer for UTextCopy.

See also
UTextCopy
Stable:
ICU 3.6

Definition at line1266 of fileutext.h.

◆ extract

UTextExtract* UTextFuncs::extract

(public) Function pointer for UTextExtract.

See also
UTextExtract
Stable:
ICU 3.6

Definition at line1250 of fileutext.h.

◆ mapNativeIndexToUTF16

UTextMapNativeIndexToUTF16* UTextFuncs::mapNativeIndexToUTF16

(public) Function pointer for UTextMapNativeIndexToUTF16.

See also
UTextMapNativeIndexToUTF16
Stable:
ICU 3.6

Definition at line1282 of fileutext.h.

◆ mapOffsetToNative

UTextMapOffsetToNative* UTextFuncs::mapOffsetToNative

(public) Function pointer for UTextMapOffsetToNative.

See also
UTextMapOffsetToNative
Stable:
ICU 3.6

Definition at line1274 of fileutext.h.

◆ nativeLength

UTextNativeLength* UTextFuncs::nativeLength

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

See also
UTextLength
Stable:
ICU 3.6

Definition at line1234 of fileutext.h.

◆ replace

UTextReplace* UTextFuncs::replace

(public) Function pointer for UTextReplace.

See also
UTextReplace
Stable:
ICU 3.6

Definition at line1258 of fileutext.h.

◆ reserved1

int32_t UTextFuncs::reserved1

(private) Alignment padding.

Do not use, reserved for use by theUText framework only.

Internal:
Do not use. This API is for internal use only.

Definition at line1216 of fileutext.h.

◆ reserved2

int32_t UTextFuncs::reserved2
Internal:
Do not use.

This API is for internal use only.

Definition at line1216 of fileutext.h.

◆ reserved3

int32_t UTextFuncs::reserved3
Internal:
Do not use.

This API is for internal use only.

Definition at line1216 of fileutext.h.

◆ spare1

UTextClose* UTextFuncs::spare1

(private) Spare function pointer

Internal:
Do not use.

This API is for internal use only.

Definition at line1296 of fileutext.h.

◆ spare2

UTextClose* UTextFuncs::spare2

(private) Spare function pointer

Internal:
Do not use.

This API is for internal use only.

Definition at line1302 of fileutext.h.

◆ spare3

UTextClose* UTextFuncs::spare3

(private) Spare function pointer

Internal:
Do not use.

This API is for internal use only.

Definition at line1308 of fileutext.h.

◆ tableSize

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.

Stable:
ICU 3.6

Definition at line1209 of fileutext.h.


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

Generated by doxygen 1.9.1
[8]ページ先頭

©2009-2025 Movatter.jp