urep.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
#ifndef __UREP_H
00012
#define __UREP_H
00013
00014
#include "unicode/utypes.h"
00015
00016
U_CDECL_BEGIN
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00039
typedef void*
UReplaceable;
00040
00048
typedef struct UReplaceableCallbacks {
00049
00058
int32_t (*length)(
const UReplaceable* rep);
00059
00071
UChar (*charAt)(
const UReplaceable* rep,
00072
int32_t offset);
00073
00084
UChar32 (*char32At)(
const UReplaceable* rep,
00085
int32_t offset);
00086
00103
void (*replace)(
UReplaceable* rep,
00104
int32_t start,
00105
int32_t limit,
00106
const UChar* text,
00107
int32_t textLength);
00108
00122
void (*extract)(
UReplaceable* rep,
00123
int32_t start,
00124
int32_t limit,
00125
UChar* dst);
00126
00143
void (*copy)(
UReplaceable* rep,
00144
int32_t start,
00145
int32_t limit,
00146
int32_t dest);
00147
00148 }
UReplaceableCallbacks;
00149
00150
U_CDECL_END
00151
00152
#endif
Generated on Fri Jun 18 12:36:02 2004 for ICU by
1.3.7