Basic definitions for ICU, for both C and C++ APIs.
virtual const UnicodeString * lookup(const UnicodeString &s) const =0
Lookup the characters associated with this string and return it.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside.
An interface that defines both lookup protocol and parsing of symbolic names.
virtual const UnicodeFunctor * lookupMatcher(UChar32 ch) const =0
Lookup the UnicodeMatcher associated with the given character, and return it.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
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 ...
virtual UnicodeString parseReference(const UnicodeString &text, ParsePosition &pos, int32_t limit) const =0
Parse a symbol reference name from the given string, starting at the given position.
virtual ~SymbolTable()
Destructor.
C++ API: Common ICU base class UObject.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.