#include <utext.h>
Data Fields | |
| const UChar * | contents |
| Pointer to contents of text chunk. | |
| int32_t | offset |
| Index within the contents of the current iteration position. | |
| int32_t | length |
| Number of UChars in the chunk. | |
| int32_t | nativeStart |
| (Native) text index corresponding to the start of the chunk. | |
| int32_t | nativeLimit |
| (Native) text index corresponding to the end of the chunk (contents+length). | |
| UBool | nonUTF16Indexes |
| If TRUE, then non-UTF-16 indexes are used in this chunk. | |
| UBool | padding1 |
| Unused. | |
| UBool | padding2 |
| UBool | padding3 |
| int32_t | padInt1 |
| Unused. | |
| int32_t | padInt2 |
| int32_t | sizeOfStruct |
| Contains sizeof(UTextChunk) and allows the future addition of fields. | |
UText provider implementations surface their text in the form of UTextChunks.
If the native form of the text if UTF-16, a chunk will typically refer back to the original native text storage. If the native format is something else, chunks will typically refer to a buffer maintained by the provider that contains some amount input that has been converted to UTF-16 (UChar) form.
Definition at line 723 of file utext.h.
|
|
Pointer to contents of text chunk. UChar format. |
1.4.4