xapian-core
1.4.27
|
Functions | |
int | get_character_info (unsigned ch) |
Extract information about a Unicode character. More... | |
int | get_case_type (int info) |
category | get_category (int info) |
int | get_delta (int info) |
|
inlineprivate |
Extract how to convert the case of a Unicode character from its info.
Definition at line 266 of file unicode.h.
Referenced by Xapian::Unicode::tolower(), and Xapian::Unicode::toupper().
|
inlineprivate |
Extract the category of a Unicode character from its info.
Definition at line 271 of file unicode.h.
Referenced by DEFINE_TESTCASE(), is_digit(), Xapian::is_digit(), Xapian::should_stem(), should_stem(), Xapian::MSet::Internal::snippet(), Xapian::snippet_check_leading_nonwordchar(), and Xapian::snippet_check_trailing_nonwordchar().
|
private |
Extract information about a Unicode character.
Extract the information about a character from the Unicode character tables.
Characters outside of the Unicode range (i.e. ch >= 0x110000) are treated as UNASSIGNED with no case variants.
This function extracts the information about a character from the Unicode character tables.
Definition at line 2286 of file unicode-data.cc.
References groupMap, groups, OFFSET_BITS, pageMap, rare, and Xapian::Unicode::UNASSIGNED.
Referenced by Xapian::Unicode::get_category(), Xapian::Unicode::tolower(), and Xapian::Unicode::toupper().
|
inlineprivate |
Extract the delta to use for case conversion of a character from its info.
Definition at line 278 of file unicode.h.
References Xapian::Unicode::nonascii_to_utf8(), and XAPIAN_VISIBILITY_DEFAULT.
Referenced by Xapian::Unicode::tolower(), and Xapian::Unicode::toupper().