17#if U_SHOW_CPLUSPLUS_API
30class TransliterationRuleData;
113 virtual void setData(
const TransliterationRuleData*) = 0;
UObject is the common ICU "boilerplate" class.
UnicodeFunctor is an abstract base class for objects that perform match and/or replace operations on ...
virtual ~UnicodeFunctor()
Destructor.
static UClassID getStaticClassID(void)
Return the class ID for this class.
virtual UnicodeFunctor * clone() const =0
Return a copy of this object.
virtual UnicodeReplacer * toReplacer() const
Cast 'this' to a UnicodeReplacer* pointer and return the pointer, or null if this is not a UnicodeRep...
virtual UClassID getDynamicClassID(void) const override=0
Returns a unique class ID polymorphically.
virtual void setData(const TransliterationRuleData *)=0
Set the data object associated with this functor.
virtual UnicodeMatcher * toMatcher() const
Cast 'this' to a UnicodeMatcher* pointer and return the pointer, or null if this is not a UnicodeMatc...
UnicodeMatcher defines a protocol for objects that can match a range of characters in a Replaceable s...
UnicodeReplacer defines a protocol for objects that replace a range of characters in a Replaceable st...
C++ API: Common ICU base class UObject.
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.