xapian-core  2.1.0
Macros | Variables
unicode-data.cc File Reference
#include <config.h>
#include <xapian/unicode.h>
+ Include dependency graph for unicode-data.cc:

Go to the source code of this file.

Macros

#define U(C, D)   C | TOUPPER | (D * 256)
 
#define L(C, D)   C | TOLOWER | (D * 256)
 
#define B(C, D)   C | TOUPPER | TOLOWER | (D * 256)
 

Variables

static constexpr unsigned PAGE_SIZE_BITS = 8
 
static constexpr int Cc = Xapian::Unicode::CONTROL
 
static constexpr int Cf = Xapian::Unicode::FORMAT
 
static constexpr int Cn = Xapian::Unicode::UNASSIGNED
 
static constexpr int Co = Xapian::Unicode::PRIVATE_USE
 
static constexpr int Cs = Xapian::Unicode::SURROGATE
 
static constexpr int Ll = Xapian::Unicode::LOWERCASE_LETTER
 
static constexpr int Lm = Xapian::Unicode::MODIFIER_LETTER
 
static constexpr int Lo = Xapian::Unicode::OTHER_LETTER
 
static constexpr int Lt = Xapian::Unicode::TITLECASE_LETTER
 
static constexpr int Lu = Xapian::Unicode::UPPERCASE_LETTER
 
static constexpr int Mc = Xapian::Unicode::COMBINING_SPACING_MARK
 
static constexpr int Me = Xapian::Unicode::ENCLOSING_MARK
 
static constexpr int Mn = Xapian::Unicode::NON_SPACING_MARK
 
static constexpr int Nd = Xapian::Unicode::DECIMAL_DIGIT_NUMBER
 
static constexpr int Nl = Xapian::Unicode::LETTER_NUMBER
 
static constexpr int No = Xapian::Unicode::OTHER_NUMBER
 
static constexpr int Pc = Xapian::Unicode::CONNECTOR_PUNCTUATION
 
static constexpr int Pd = Xapian::Unicode::DASH_PUNCTUATION
 
static constexpr int Pe = Xapian::Unicode::CLOSE_PUNCTUATION
 
static constexpr int Pf = Xapian::Unicode::FINAL_QUOTE_PUNCTUATION
 
static constexpr int Pi = Xapian::Unicode::INITIAL_QUOTE_PUNCTUATION
 
static constexpr int Po = Xapian::Unicode::OTHER_PUNCTUATION
 
static constexpr int Ps = Xapian::Unicode::OPEN_PUNCTUATION
 
static constexpr int Sc = Xapian::Unicode::CURRENCY_SYMBOL
 
static constexpr int Sk = Xapian::Unicode::MODIFIER_SYMBOL
 
static constexpr int Sm = Xapian::Unicode::MATH_SYMBOL
 
static constexpr int So = Xapian::Unicode::OTHER_SYMBOL
 
static constexpr int Zl = Xapian::Unicode::LINE_SEPARATOR
 
static constexpr int Zp = Xapian::Unicode::PARAGRAPH_SEPARATOR
 
static constexpr int Zs = Xapian::Unicode::SPACE_SEPARATOR
 
static constexpr auto TOLOWER = Xapian::Unicode::Internal::INFO_TOLOWER_MASK
 
static constexpr auto TOUPPER = Xapian::Unicode::Internal::INFO_TOUPPER_MASK
 
static const int char_info []
 
static const unsigned short page []
 
static const unsigned char page_map []
 

Macro Definition Documentation

◆ B

#define B (   C,
 
)    C | TOUPPER | TOLOWER | (D * 256)

Definition at line 61 of file unicode-data.cc.

◆ L

#define L (   C,
 
)    C | TOLOWER | (D * 256)

Definition at line 60 of file unicode-data.cc.

◆ U

#define U (   C,
 
)    C | TOUPPER | (D * 256)

Definition at line 59 of file unicode-data.cc.

Variable Documentation

◆ Cc

constexpr int Cc = Xapian::Unicode::CONTROL
staticconstexpr

Definition at line 25 of file unicode-data.cc.

◆ Cf

constexpr int Cf = Xapian::Unicode::FORMAT
staticconstexpr

Definition at line 26 of file unicode-data.cc.

◆ char_info

const int char_info[]
static

Definition at line 63 of file unicode-data.cc.

Referenced by Xapian::Unicode::Internal::get_character_info().

◆ Cn

constexpr int Cn = Xapian::Unicode::UNASSIGNED
staticconstexpr

Definition at line 27 of file unicode-data.cc.

◆ Co

constexpr int Co = Xapian::Unicode::PRIVATE_USE
staticconstexpr

Definition at line 28 of file unicode-data.cc.

◆ Cs

constexpr int Cs = Xapian::Unicode::SURROGATE
staticconstexpr

Definition at line 29 of file unicode-data.cc.

◆ Ll

constexpr int Ll = Xapian::Unicode::LOWERCASE_LETTER
staticconstexpr

Definition at line 30 of file unicode-data.cc.

◆ Lm

constexpr int Lm = Xapian::Unicode::MODIFIER_LETTER
staticconstexpr

Definition at line 31 of file unicode-data.cc.

◆ Lo

constexpr int Lo = Xapian::Unicode::OTHER_LETTER
staticconstexpr

Definition at line 32 of file unicode-data.cc.

◆ Lt

constexpr int Lt = Xapian::Unicode::TITLECASE_LETTER
staticconstexpr

Definition at line 33 of file unicode-data.cc.

◆ Lu

constexpr int Lu = Xapian::Unicode::UPPERCASE_LETTER
staticconstexpr

Definition at line 34 of file unicode-data.cc.

◆ Mc

constexpr int Mc = Xapian::Unicode::COMBINING_SPACING_MARK
staticconstexpr

Definition at line 35 of file unicode-data.cc.

◆ Me

constexpr int Me = Xapian::Unicode::ENCLOSING_MARK
staticconstexpr

Definition at line 36 of file unicode-data.cc.

◆ Mn

constexpr int Mn = Xapian::Unicode::NON_SPACING_MARK
staticconstexpr

Definition at line 37 of file unicode-data.cc.

◆ Nd

constexpr int Nd = Xapian::Unicode::DECIMAL_DIGIT_NUMBER
staticconstexpr

Definition at line 38 of file unicode-data.cc.

◆ Nl

constexpr int Nl = Xapian::Unicode::LETTER_NUMBER
staticconstexpr

Definition at line 39 of file unicode-data.cc.

◆ No

constexpr int No = Xapian::Unicode::OTHER_NUMBER
staticconstexpr

Definition at line 40 of file unicode-data.cc.

◆ page

const unsigned short page[]
static

Definition at line 280 of file unicode-data.cc.

Referenced by Xapian::Unicode::Internal::get_character_info().

◆ page_map

const unsigned char page_map[]
static

Definition at line 826 of file unicode-data.cc.

Referenced by Xapian::Unicode::Internal::get_character_info().

◆ PAGE_SIZE_BITS

constexpr unsigned PAGE_SIZE_BITS = 8
staticconstexpr

Definition at line 23 of file unicode-data.cc.

Referenced by Xapian::Unicode::Internal::get_character_info().

◆ Pc

constexpr int Pc = Xapian::Unicode::CONNECTOR_PUNCTUATION
staticconstexpr

Definition at line 41 of file unicode-data.cc.

◆ Pd

constexpr int Pd = Xapian::Unicode::DASH_PUNCTUATION
staticconstexpr

Definition at line 42 of file unicode-data.cc.

◆ Pe

constexpr int Pe = Xapian::Unicode::CLOSE_PUNCTUATION
staticconstexpr

Definition at line 43 of file unicode-data.cc.

◆ Pf

constexpr int Pf = Xapian::Unicode::FINAL_QUOTE_PUNCTUATION
staticconstexpr

Definition at line 44 of file unicode-data.cc.

◆ Pi

constexpr int Pi = Xapian::Unicode::INITIAL_QUOTE_PUNCTUATION
staticconstexpr

Definition at line 45 of file unicode-data.cc.

◆ Po

constexpr int Po = Xapian::Unicode::OTHER_PUNCTUATION
staticconstexpr

Definition at line 46 of file unicode-data.cc.

◆ Ps

constexpr int Ps = Xapian::Unicode::OPEN_PUNCTUATION
staticconstexpr

Definition at line 47 of file unicode-data.cc.

◆ Sc

constexpr int Sc = Xapian::Unicode::CURRENCY_SYMBOL
staticconstexpr

Definition at line 48 of file unicode-data.cc.

◆ Sk

constexpr int Sk = Xapian::Unicode::MODIFIER_SYMBOL
staticconstexpr

Definition at line 49 of file unicode-data.cc.

◆ Sm

constexpr int Sm = Xapian::Unicode::MATH_SYMBOL
staticconstexpr

Definition at line 50 of file unicode-data.cc.

◆ So

constexpr int So = Xapian::Unicode::OTHER_SYMBOL
staticconstexpr

Definition at line 51 of file unicode-data.cc.

◆ TOLOWER

constexpr auto TOLOWER = Xapian::Unicode::Internal::INFO_TOLOWER_MASK
staticconstexpr

Definition at line 56 of file unicode-data.cc.

◆ TOUPPER

constexpr auto TOUPPER = Xapian::Unicode::Internal::INFO_TOUPPER_MASK
staticconstexpr

Definition at line 57 of file unicode-data.cc.

◆ Zl

constexpr int Zl = Xapian::Unicode::LINE_SEPARATOR
staticconstexpr

Definition at line 52 of file unicode-data.cc.

◆ Zp

constexpr int Zp = Xapian::Unicode::PARAGRAPH_SEPARATOR
staticconstexpr

Definition at line 53 of file unicode-data.cc.

◆ Zs

constexpr int Zs = Xapian::Unicode::SPACE_SEPARATOR
staticconstexpr

Definition at line 54 of file unicode-data.cc.