Go to the documentation of this file.
63 const char *locale, uint32_t options,
64 const char16_t *src, int32_t srcLength,
65 char16_t *dest, int32_t destCapacity,
Edits *edits,
99 const char *locale, uint32_t options,
100 const char16_t *src, int32_t srcLength,
101 char16_t *dest, int32_t destCapacity,
Edits *edits,
104 #if !UCONFIG_NO_BREAK_ITERATION
151 const char16_t *src, int32_t srcLength,
152 char16_t *dest, int32_t destCapacity,
Edits *edits,
155 #endif // UCONFIG_NO_BREAK_ITERATION
193 const char16_t *src, int32_t srcLength,
194 char16_t *dest, int32_t destCapacity,
Edits *edits,
219 const char *locale, uint32_t options,
245 const char *locale, uint32_t options,
249 #if !UCONFIG_NO_BREAK_ITERATION
289 #endif // UCONFIG_NO_BREAK_ITERATION
351 const char *locale, uint32_t options,
352 const char *src, int32_t srcLength,
353 char *dest, int32_t destCapacity,
Edits *edits,
387 const char *locale, uint32_t options,
388 const char *src, int32_t srcLength,
389 char *dest, int32_t destCapacity,
Edits *edits,
392 #if !UCONFIG_NO_BREAK_ITERATION
438 const char *src, int32_t srcLength,
439 char *dest, int32_t destCapacity,
Edits *edits,
442 #endif // UCONFIG_NO_BREAK_ITERATION
480 const char *src, int32_t srcLength,
481 char *dest, int32_t destCapacity,
Edits *edits,
492 #endif // __CASEMAP_H__
#define U_FINAL
Defined to the C++11 "final" keyword if available.
The BreakIterator class implements methods for finding the location of boundaries in text.
static int32_t utf8ToLower(const char *locale, uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Lowercases a UTF-8 string and optionally records edits.
Basic definitions for ICU, for both C and C++ APIs.
static int32_t utf8ToUpper(const char *locale, uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Uppercases a UTF-8 string and optionally records edits.
static int32_t utf8ToTitle(const char *locale, uint32_t options, BreakIterator *iter, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Titlecases a UTF-8 string and optionally records edits.
static void utf8ToUpper(const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode)
Uppercases a UTF-8 string and optionally records edits.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside.
static void utf8ToTitle(const char *locale, uint32_t options, BreakIterator *iter, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode)
Titlecases a UTF-8 string and optionally records edits.
static int32_t toLower(const char *locale, uint32_t options, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Lowercases a UTF-16 string and optionally records edits.
C++ API: StringPiece: Read-only byte string wrapper class.
static int32_t utf8Fold(uint32_t options, const char *src, int32_t srcLength, char *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Case-folds a UTF-8 string and optionally records edits.
static int32_t toTitle(const char *locale, uint32_t options, BreakIterator *iter, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Titlecases a UTF-16 string and optionally records edits.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
Records lengths of string edits but not replacement text.
static void utf8ToLower(const char *locale, uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode)
Lowercases a UTF-8 string and optionally records edits.
A ByteSink can be filled with bytes.
Low-level C++ case mapping functions.
UMemory is the common ICU base class.
static void utf8Fold(uint32_t options, StringPiece src, ByteSink &sink, Edits *edits, UErrorCode &errorCode)
Case-folds a UTF-8 string and optionally records edits.
static int32_t toUpper(const char *locale, uint32_t options, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Uppercases a UTF-16 string and optionally records edits.
C++ API: Common ICU base class UObject.
static int32_t fold(uint32_t options, const char16_t *src, int32_t srcLength, char16_t *dest, int32_t destCapacity, Edits *edits, UErrorCode &errorCode)
Case-folds a UTF-16 string and optionally records edits.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
A string-like object that points to a sized piece of memory.