CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
Variables
CartoType::TCharCategoryFlag Namespace Reference

Variables

constexpr uint32_t Lu = 1
 A bit flag for the Unicode general character property Letter, uppercase.
 
constexpr uint32_t Ll = 2
 A bit flag for the Unicode general character property Letter, lowercase.
 
constexpr uint32_t Lt = 4
 A bit flag for the Unicode general character property Letter, titlecase.
 
constexpr uint32_t Lm = 8
 A bit flag for the Unicode general character property Letter, modifier.
 
constexpr uint32_t Lo = 0x10
 A bit flag for the Unicode general character property Letter, other.
 
constexpr uint32_t Mn = 0x20
 A bit flag for the Unicode general character property Mark, nonspacing.
 
constexpr uint32_t Mc = 0x40
 A bit flag for the Unicode general character property Mark, spacing combining.
 
constexpr uint32_t Me = 0x80
 A bit flag for the Unicode general character property Mark, enclosing.
 
constexpr uint32_t Nd = 0x100
 A bit flag for the Unicode general character property Number, decimal digit.
 
constexpr uint32_t Nl = 0x200
 A bit flag for the Unicode general character property Number, letter.
 
constexpr uint32_t No = 0x400
 A bit flag for the Unicode general character property Number, other.
 
constexpr uint32_t Pc = 0x800
 A bit flag for the Unicode general character property Punctuation, connector.
 
constexpr uint32_t Pd = 0x1000
 A bit flag for the Unicode general character property Punctuation, dash.
 
constexpr uint32_t Ps = 0x2000
 A bit flag for the Unicode general character property Punctuation, open.
 
constexpr uint32_t Pe = 0x4000
 A bit flag for the Unicode general character property Punctuation, close.
 
constexpr uint32_t Pi = 0x8000
 A bit flag for the Unicode general character property Punctuation, initial quote (may behave like Ps or Pe depending on usage).
 
constexpr uint32_t Pf = 0x10000
 A bit flag for the Unicode general character property Punctuation, final quote (may behave like Ps or Pe depending on usage).
 
constexpr uint32_t Po = 0x20000
 A bit flag for the Unicode general character property Punctuation, other.
 
constexpr uint32_t Sm = 0x40000
 A bit flag for the Unicode general character property Symbol, math.
 
constexpr uint32_t Sc = 0x80000
 A bit flag for the Unicode general character property Symbol, currency.
 
constexpr uint32_t Sk = 0x100000
 A bit flag for the Unicode general character property Symbol, modifier.
 
constexpr uint32_t So = 0x200000
 A bit flag for the Unicode general character property Symbol, other.
 
constexpr uint32_t Zs = 0x400000
 A bit flag for the Unicode general character property Separator, space.
 
constexpr uint32_t Zl = 0x800000
 A bit flag for the Unicode general character property Separator, line.
 
constexpr uint32_t Zp = 0x1000000
 A bit flag for the Unicode general character property Separator, paragraph.
 
constexpr uint32_t Cc = 0x2000000
 A bit flag for the Unicode general character property Other, control.
 
constexpr uint32_t Cf = 0x4000000
 A bit flag for the Unicode general character property Other, format.
 
constexpr uint32_t Cs = 0x8000000
 A bit flag for the Unicode general character property Other, surrogate.
 
constexpr uint32_t Co = 0x10000000
 A bit flag for the Unicode general character property Other, private use.
 
constexpr uint32_t Cn = 0x20000000
 A bit flag for the Unicode general character property Other, not assigned (including noncharacters).
 
constexpr uint32_t UpperCase = 0x40000000
 

Detailed Description

Flags for the general category of a character as defined in the Unicode Standard (http://www.unicode.org/versions/Unicode5.0.0/ch04.pdf). Each constant is a single bit so that masks can be made by combining them.

Variable Documentation

◆ UpperCase

constexpr uint32_t CartoType::TCharCategoryFlag::UpperCase = 0x40000000
constexpr

A bit flag to indicate a character outside the categories Lu and Lt that has a lower-case variant. It is used internally.