HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Data Fields
v1::unicode_normalize_config Struct Reference

Public Member Functions

constexpr unicode_normalize_configadd (unicode_decomposition_type type) noexcept
 

Static Public Member Functions

static constexpr unicode_normalize_config NFD () noexcept
 
static constexpr unicode_normalize_config NFC () noexcept
 
static constexpr unicode_normalize_config NFC_PS_noctr () noexcept
 Use NFC normalization, convert all line-feed-like characters to PS.
 
static constexpr unicode_normalize_config NFC_CRLF_noctr () noexcept
 Use NFC normalization, convert all line-feed-like characters to CR-LF.
 
static constexpr unicode_normalize_config NFKD () noexcept
 
static constexpr unicode_normalize_config NFKC () noexcept
 

Data Fields

uint64_t decomposition_mask: 17 = 0
 The types of decompositions, that should be used when decomposing.
 
uint64_t drop_C0: 1 = 0
 Drop the C0 control characters.
 
uint64_t drop_C1: 1 = 0
 Drop the C1 control characters.
 
std::u32string line_separators
 Code-points to be treated as line-separators.
 
std::u32string paragraph_separators
 Code-points to be treated as line-separators.
 
std::u32string drop
 Code-points to be dropped.
 
char32_t line_separator_character = unicode_LS
 The code-point to output when a line separator was found.
 
char32_t paragraph_separator_character = unicode_PS
 The code-points to output when a paragraph separator was found.
 

Member Function Documentation

◆ NFC_CRLF_noctr()

static constexpr unicode_normalize_config v1::unicode_normalize_config::NFC_CRLF_noctr ( )
inlinestaticconstexprnoexcept

Use NFC normalization, convert all line-feed-like characters to CR-LF.

◆ NFC_PS_noctr()

static constexpr unicode_normalize_config v1::unicode_normalize_config::NFC_PS_noctr ( )
inlinestaticconstexprnoexcept

Use NFC normalization, convert all line-feed-like characters to PS.

Field Documentation

◆ decomposition_mask

uint64_t v1::unicode_normalize_config::decomposition_mask

The types of decompositions, that should be used when decomposing.

◆ drop

std::u32string v1::unicode_normalize_config::drop

Code-points to be dropped.

◆ drop_C0

uint64_t v1::unicode_normalize_config::drop_C0

Drop the C0 control characters.

◆ drop_C1

uint64_t v1::unicode_normalize_config::drop_C1

Drop the C1 control characters.

◆ line_separator_character

char32_t v1::unicode_normalize_config::line_separator_character = unicode_LS

The code-point to output when a line separator was found.

If this value is the carriage return CR, then the decomposition algorithm will also emit a line-feed LF code-point.

◆ line_separators

std::u32string v1::unicode_normalize_config::line_separators

Code-points to be treated as line-separators.

◆ paragraph_separator_character

char32_t v1::unicode_normalize_config::paragraph_separator_character = unicode_PS

The code-points to output when a paragraph separator was found.

If this value is the carriage return CR, then the decomposition algorithm will also emit a line-feed LF code-point.

◆ paragraph_separators

std::u32string v1::unicode_normalize_config::paragraph_separators

Code-points to be treated as line-separators.


The documentation for this struct was generated from the following file: