Go to the documentation of this file.
19 #if !UCONFIG_NO_NORMALIZATION
134 #ifndef U_HIDE_DEPRECATED_API
202 #ifndef U_HIDE_DEPRECATED_API
240 UBool compat, int32_t options,
262 UBool compat, int32_t options,
446 static inline int32_t
451 #ifndef U_HIDE_DEPRECATED_API
527 void setIndexOnly(int32_t index);
550 int32_t getIndex(
void)
const;
560 int32_t startIndex(
void)
const;
572 int32_t endIndex(
void)
const;
608 int32_t hashCode(
void)
const;
659 void setOption(int32_t option,
672 UBool getOption(int32_t option)
const;
705 void setText(
const UChar* newText,
721 static UClassID U_EXPORT2 getStaticClassID();
741 UBool nextNormalize();
742 UBool previousNormalize();
745 void clearBuffer(
void);
753 #ifndef U_HIDE_DEPRECATED_API
763 int32_t currentIndex, nextIndex;
774 #ifndef U_HIDE_DEPRECATED_API
783 return quickCheck(source, mode, 0, status);
790 return isNormalized(source, mode, 0, status);
Basic definitions for ICU, for both C and C++ APIs.
int8_t UBool
The ICU boolean type.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
int32_t length(void) const
Return the length of the UnicodeString object.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
Unicode normalization functionality for standard Unicode normalization or for using custom mapping ta...
UNormalizationMode
Constants for normalization modes.
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
UNormalizationCheckResult
Result values for normalization quick check functions.
Abstract class that defines an API for iteration on text objects.
C API: Unicode Normalization.
C++ API: Character Iterator.
C++ API: New API for Unicode Normalization.
int32_t unorm_compare(const UChar *s1, int32_t length1, const UChar *s2, int32_t length2, uint32_t options, UErrorCode *pErrorCode)
Compares two strings for canonical equivalence.
C++ API: Common ICU base class UObject.
#define U_NAMESPACE_BEGIN
Old Unicode normalization API.
Normalization filtered by a UnicodeSet.
UChar * getBuffer(int32_t minCapacity)
Get a read/write pointer to the internal buffer.