UTextFuncs Struct Reference

(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 accomodate added functions in the future, to allow tests for older format function tables that do not contain the extensions.
int32_t reserved1
 (private) Alignment padding.
int32_t reserved2
int32_t reserved3
UTextCloneclone
 (public) Function pointer for UTextClone
UTextNativeLengthnativeLength
 (public) function pointer for UTextLength May be expensive to compute!
UTextAccessaccess
 (public) Function pointer for UTextAccess.
UTextExtractextract
 (public) Function pointer for UTextExtract.
UTextReplacereplace
 (public) Function pointer for UTextReplace.
UTextCopycopy
 (public) Function pointer for UTextCopy.
UTextMapOffsetToNativemapOffsetToNative
 (public) Function pointer for UTextMapOffsetToNative.
UTextMapNativeIndexToUTF16mapNativeIndexToUTF16
 (public) Function pointer for UTextMapNativeIndexToUTF16.
UTextCloseclose
 (public) Function pointer for UTextClose.
UTextClosespare1
 (private) Spare function pointer
UTextClosespare2
 (private) Spare function pointer
UTextClosespare3
 (private) Spare function pointer


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.

Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1156 of file utext.h.


Field Documentation

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.

Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1171 of file utext.h.

int32_t UTextFuncs::reserved1

(private) Alignment padding.

Do not use, reserved for use by the UText framework only.

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

Definition at line 1178 of file utext.h.

UTextClone* UTextFuncs::clone

(public) Function pointer for UTextClone

See also:
UTextClone
Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1187 of file utext.h.

UTextNativeLength* UTextFuncs::nativeLength

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

See also:
UTextLength
Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1196 of file utext.h.

UTextAccess* UTextFuncs::access

(public) Function pointer for UTextAccess.

See also:
UTextAccess
Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1204 of file utext.h.

UTextExtract* UTextFuncs::extract

(public) Function pointer for UTextExtract.

See also:
UTextExtract
Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1212 of file utext.h.

UTextReplace* UTextFuncs::replace

(public) Function pointer for UTextReplace.

See also:
UTextReplace
Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1220 of file utext.h.

UTextCopy* UTextFuncs::copy

(public) Function pointer for UTextCopy.

See also:
UTextCopy
Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1228 of file utext.h.

UTextMapOffsetToNative* UTextFuncs::mapOffsetToNative

(public) Function pointer for UTextMapOffsetToNative.

See also:
UTextMapOffsetToNative
Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1236 of file utext.h.

UTextMapNativeIndexToUTF16* UTextFuncs::mapNativeIndexToUTF16

(public) Function pointer for UTextMapNativeIndexToUTF16.

See also:
UTextMapNativeIndexToUTF16
Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1244 of file utext.h.

UTextClose* UTextFuncs::close

(public) Function pointer for UTextClose.

See also:
UTextClose
Draft:
This API may be changed in the future versions and was introduced in ICU 3.6

Definition at line 1252 of file utext.h.

UTextClose* UTextFuncs::spare1

(private) Spare function pointer

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

Definition at line 1259 of file utext.h.

UTextClose* UTextFuncs::spare2

(private) Spare function pointer

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

Definition at line 1264 of file utext.h.

UTextClose* UTextFuncs::spare3

(private) Spare function pointer

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

Definition at line 1270 of file utext.h.


The documentation for this struct was generated from the following file:
Generated on Wed Mar 12 13:57:40 2008 for ICU 3.6 by  doxygen 1.5.4