Previous: The object oriented API for general category, Up: General category [Contents][Index]
The following are the predefined general category value as bit masks. Additional general categories may be added in the future.
uint32_t UC_CATEGORY_MASK_L ¶ uint32_t UC_CATEGORY_MASK_LC ¶ uint32_t UC_CATEGORY_MASK_Lu ¶ uint32_t UC_CATEGORY_MASK_Ll ¶ uint32_t UC_CATEGORY_MASK_Lt ¶ uint32_t UC_CATEGORY_MASK_Lm ¶ uint32_t UC_CATEGORY_MASK_Lo ¶ uint32_t UC_CATEGORY_MASK_M ¶ uint32_t UC_CATEGORY_MASK_Mn ¶ uint32_t UC_CATEGORY_MASK_Mc ¶ uint32_t UC_CATEGORY_MASK_Me ¶ uint32_t UC_CATEGORY_MASK_N ¶ uint32_t UC_CATEGORY_MASK_Nd ¶ uint32_t UC_CATEGORY_MASK_Nl ¶ uint32_t UC_CATEGORY_MASK_No ¶ uint32_t UC_CATEGORY_MASK_P ¶ uint32_t UC_CATEGORY_MASK_Pc ¶ uint32_t UC_CATEGORY_MASK_Pd ¶ uint32_t UC_CATEGORY_MASK_Ps ¶ uint32_t UC_CATEGORY_MASK_Pe ¶ uint32_t UC_CATEGORY_MASK_Pi ¶ uint32_t UC_CATEGORY_MASK_Pf ¶ uint32_t UC_CATEGORY_MASK_Po ¶ uint32_t UC_CATEGORY_MASK_S ¶ uint32_t UC_CATEGORY_MASK_Sm ¶ uint32_t UC_CATEGORY_MASK_Sc ¶ uint32_t UC_CATEGORY_MASK_Sk ¶ uint32_t UC_CATEGORY_MASK_So ¶ uint32_t UC_CATEGORY_MASK_Z ¶ uint32_t UC_CATEGORY_MASK_Zs ¶ uint32_t UC_CATEGORY_MASK_Zl ¶ uint32_t UC_CATEGORY_MASK_Zp ¶ uint32_t UC_CATEGORY_MASK_C ¶ uint32_t UC_CATEGORY_MASK_Cc ¶ uint32_t UC_CATEGORY_MASK_Cf ¶ uint32_t UC_CATEGORY_MASK_Cs ¶ uint32_t UC_CATEGORY_MASK_Co ¶ uint32_t UC_CATEGORY_MASK_Cn ¶ The following function views general categories as sets of Unicode characters.
bool uc_is_general_category_withtable (ucs4_t uc, uint32_t bitmask) ¶ Tests whether a Unicode character belongs to a given category. The bitmask argument can be a predefined general category bitmask or the combination of several predefined general category bitmasks.
This function uses a big table comprising all general categories.
Previous: The object oriented API for general category, Up: General category [Contents][Index]