#include <unicdcm.h>
Public Types | |
typedef TextBoundaryData::Type | Type |
Public Methods | |
UnicodeClassMapping (Type* mappedValue, int32_t mappedValue_length, const SpecialMapping* exceptionChars, int32_t exceptionChars_length, const UBool* hasException, Type* asiiValues ) | |
Create a mapping given a mapping from categories and a list of exceptions. More... | |
Type | mappedChar (UChar ch) const |
Map a character to a state change input for WordBreakTable. More... |
If the character appears in the exception list, the mapping there is retuned, otherwise the mapping returned by IUnicode::type is returned.
Note in this implementation characters from 0x0040 to 0x009f always use the mapping returned by IUnicode::type and never the exception list.
Definition at line 38 of file unicdcm.h.
|
|
|
Create a mapping given a mapping from categories and a list of exceptions. Both the mapping list and exceptionChars list must be sorted in ascending order. |
|
Map a character to a state change input for WordBreakTable.
|