1 // © 2016 and later: Unicode, Inc. and others. 2 // License & terms of use: http://www.unicode.org/copyright.html 4 ********************************************************************** 5 * Copyright (C) 1999-2010, International Business Machines Corporation and others. 7 ********************************************************************** 8 * Date Name Description 9 * 11/17/99 aliu Creation. 10 ********************************************************************** 17 #if U_SHOW_CPLUSPLUS_API 37 #define U_ETHER ((char16_t)0xFFFF) 105 UBool incremental)
override;
111 virtualvoidsetData(
const TransliterationRuleData*)
override;
123 * Since this class has pure virtual functions, 124 * a constructor can't be used. 127 /* UnicodeFilter();*/ 130 /*inline UnicodeFilter::UnicodeFilter() {}*/ 134 #endif/* U_SHOW_CPLUSPLUS_API */ 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 UnicodeMatcher * toMatcher() const override
UnicodeFunctor API.
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 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.