Go to the documentation of this file.
33 #define U_ETHER ((char16_t)0xFFFF)
99 virtual void setData(
const TransliterationRuleData*);
UnicodeMatcher defines a protocol for objects that can match a range of characters in a Replaceable s...
int8_t UBool
The ICU boolean type.
Replaceable is an abstract base class representing a string of characters that supports the replaceme...
virtual UnicodeMatcher * toMatcher() const
Cast 'this' to a UnicodeMatcher* pointer and return the pointer, or null if this is not a UnicodeMatc...
virtual void setData(const TransliterationRuleData *)=0
Set the data object associated with this functor.
C++ API: Unicode Matcher.
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
UnicodeFunctor is an abstract base class for objects that perform match and/or replace operations on ...
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
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.
C++ API: Unicode Functor.
UMatchDegree
Constants returned by UnicodeMatcher::matches() indicating the degree of match.
UnicodeFilter defines a protocol for selecting a subset of the full range (U+0000 to U+10FFFF) of Uni...
#define U_NAMESPACE_BEGIN
static UClassID getStaticClassID(void)
Return the class ID for this class.