#include <utext.h>
Data Fields | |
const void * | context |
(protected) Pointer to string or wrapped object or similar. | |
const void * | p |
(protected) Pointer fields available for use by the text provider. | |
const void * | q |
const void * | r |
void * | pExtra |
(protected) Pointer to additional space requested by the text provider during the utext_open operation. | |
int32_t | extraSize |
(protected) Size in bytes of the extra space (pExtra). | |
int32_t | flags |
(private) Flags for managing the allocation and freeing of memory associated with this UText. | |
uint32_t | magic |
(private) Magic. | |
int32_t | sizeOfStruct |
(public) sizeOfStruct=sizeof(UText) Allows possible backward compatible extension. | |
int32_t | a |
(protected) Integer fields for use by text provider. | |
int32_t | b |
int32_t | c |
int32_t | providerProperties |
Text provider properties. | |
UTextChunk | chunk |
descriptor for the text chunk that includes or is adjacent to the current iteration position. | |
UTextClone * | clone |
(public) Function pointer for UTextClone | |
UTextNativeLength * | nativeLength |
(public) function pointer for UTextLength May be expensive to compute! | |
UTextAccess * | access |
(public) Function pointer for UTextAccess. | |
UTextExtract * | extract |
(public) Function pointer for UTextExtract. | |
UTextReplace * | replace |
(public) Function pointer for UTextReplace. | |
UTextCopy * | copy |
(public) Function pointer for UTextCopy. | |
UTextMapOffsetToNative * | mapOffsetToNative |
(public) Function pointer for UTextMapOffsetToNative. | |
UTextMapNativeIndexToUTF16 * | mapNativeIndexToUTF16 |
(public) Function pointer for UTextMapNativeIndexToUTF16. | |
UTextClose * | close |
(public) Function pointer for UTextClose. |
Provides the interface between the generic UText access code and the UText provider code that works on specific kinds of text (UTF-8, noncontiguous UTF-16, whatever.)
Applications that are using predefined types of text providers to pass text data to ICU services will have no need to view the internals of the UText structs that they open.
Definition at line 1046 of file utext.h.
|
(protected) Integer fields for use by text provider. Not used by caller.
|
|
(public) Function pointer for UTextAccess.
|
|
descriptor for the text chunk that includes or is adjacent to the current iteration position.
|
|
(public) Function pointer for UTextClone
|
|
(public) Function pointer for UTextClose.
|
|
(protected) Pointer to string or wrapped object or similar. Not used by caller.
|
|
(public) Function pointer for UTextCopy.
|
|
(public) Function pointer for UTextExtract.
|
|
(protected) Size in bytes of the extra space (pExtra).
|
|
(private) Flags for managing the allocation and freeing of memory associated with this UText.
|
|
(private) Magic. Try to detect when we are handed junk. utext_openXYZ() functions take an initialized, but not necessarily open, UText struct as an, optional fill-in parameter. This magic field is used to check for that initialization. Text provider close functions must NOT clear the magic field because that would prevent reuse of the UText struct.
|
|
(public) Function pointer for UTextMapNativeIndexToUTF16.
|
|
(public) Function pointer for UTextMapOffsetToNative.
|
|
(public) function pointer for UTextLength May be expensive to compute!
|
|
(protected) Pointer fields available for use by the text provider. Not used by UText common code.
|
|
(protected) Pointer to additional space requested by the text provider during the utext_open operation.
|
|
Text provider properties. This set of flags is maintainted by the text provider implementation.
|
|
(public) Function pointer for UTextReplace.
|
|
(public) sizeOfStruct=sizeof(UText) Allows possible backward compatible extension.
|