17#if U_SHOW_CPLUSPLUS_API
37#define U_ETHER ((char16_t)0xFFFF)
105 UBool incremental)
override;
111 virtual void setData(
const TransliterationRuleData*)
override;
Replaceable is an abstract base class representing a string of characters that supports the replaceme...
UnicodeFilter defines a protocol for selecting a subset of the full range (U+0000 to U+10FFFF) of Uni...
virtual void setData(const TransliterationRuleData *) override
UnicodeFunctor API.
static UClassID getStaticClassID()
ICU "poor man's RTTI", returns a UClassID for this class.
virtual UnicodeFilter * clone() const override=0
Clones this object polymorphically.
virtual ~UnicodeFilter()
Destructor.
virtual UMatchDegree matches(const Replaceable &text, int32_t &offset, int32_t limit, UBool incremental) override
Implement UnicodeMatcher API.
virtual UnicodeMatcher * toMatcher() const override
UnicodeFunctor API.
virtual UBool contains(UChar32 c) const =0
Returns true for characters that are in the selected subset.
UnicodeFunctor is an abstract base class for objects that perform match and/or replace operations on ...
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.
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
int8_t UBool
The ICU boolean type, a signed-byte integer.
C++ API: Unicode Functor.
C++ API: Unicode Matcher.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
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.