Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QUnicodeTools::GB Namespace Reference

Typedefs

using GBTableEntryType = quint16
 

Enumerations

enum class  State : uchar { Normal , GB11_ExtPicExt , GB11_ExtPicExtZWJ , GB12_13_RI }
 

Functions

static bool shouldBreakBetweenClasses (QUnicodeTables::GraphemeBreakClass first, QUnicodeTables::GraphemeBreakClass second)
 

Variables

static const GBTableEntryType Extend_SpacingMark_ZWJ
 
static const GBTableEntryType HardBreak = 0u
 
static const GBTableEntryType breakTable [QUnicodeTables::NumGraphemeBreakClasses]
 

Typedef Documentation

◆ GBTableEntryType

Definition at line 45 of file qunicodetools.cpp.

Enumeration Type Documentation

◆ State

enum class QUnicodeTools::GB::State : uchar
strong
Enumerator
Normal 
GB11_ExtPicExt 
GB11_ExtPicExtZWJ 
GB12_13_RI 

Definition at line 111 of file qunicodetools.cpp.

Function Documentation

◆ shouldBreakBetweenClasses()

static bool QUnicodeTools::GB::shouldBreakBetweenClasses ( QUnicodeTables::GraphemeBreakClass first,
QUnicodeTables::GraphemeBreakClass second )
static

Definition at line 103 of file qunicodetools.cpp.

References breakTable, and FLAG.

Referenced by QUnicodeTools::getGraphemeBreaks().

+ Here is the caller graph for this function:

Variable Documentation

◆ breakTable

const GBTableEntryType QUnicodeTools::GB::breakTable[QUnicodeTables::NumGraphemeBreakClasses]
static

Definition at line 60 of file qunicodetools.cpp.

Referenced by shouldBreakBetweenClasses().

◆ Extend_SpacingMark_ZWJ

const GBTableEntryType QUnicodeTools::GB::Extend_SpacingMark_ZWJ
static

◆ HardBreak

const GBTableEntryType QUnicodeTools::GB::HardBreak = 0u
static

Definition at line 58 of file qunicodetools.cpp.