17 #if U_SHOW_CPLUSPLUS_API 37 #define U_ETHER ((char16_t)0xFFFF) 111 virtual void setData(
const TransliterationRuleData*);
UnicodeMatcher defines a protocol for objects that can match a range of characters in a Replaceable s...
UMatchDegree
Constants returned by UnicodeMatcher::matches() indicating the degree of match.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
C++ API: Unicode Functor.
virtual UnicodeFunctor * clone() const =0
Return a copy of this object.
Replaceable is an abstract base class representing a string of characters that supports the replaceme...
C++ API: Unicode Matcher.
UnicodeFilter defines a protocol for selecting a subset of the full range (U+0000 to U+10FFFF) of Uni...
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
virtual void setData(const TransliterationRuleData *)=0
Set the data object associated with this functor.
UnicodeFunctor is an abstract base class for objects that perform match and/or replace operations on ...
virtual UnicodeMatcher * toMatcher() const
Cast 'this' to a UnicodeMatcher* pointer and return the pointer, or null if this is not a UnicodeMatc...
Basic definitions for ICU, for both C and C++ APIs.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside...
int8_t UBool
The ICU boolean type.
virtual UMatchDegree matches(const Replaceable &text, int32_t &offset, int32_t limit, UBool incremental)=0
Return a UMatchDegree value indicating the degree of match for the given text at the given offset...
static UClassID getStaticClassID(void)
Return the class ID for this class.