Static Public Member Functions | Static Public Attributes | List of all members
sol::unicode::unicode_detail Struct Reference

#include <sol.hpp>

Static Public Member Functions

static char32_t combine_surrogates (char16_t lead, char16_t trail)
 
static constexpr char32_t decode (unsigned char b0, unsigned char b1)
 
static constexpr char32_t decode (unsigned char b0, unsigned char b1, unsigned char b2)
 
static constexpr char32_t decode (unsigned char b0, unsigned char b1, unsigned char b2, unsigned char b3)
 
static constexpr bool is_continuation (unsigned char b)
 
static constexpr bool is_invalid (unsigned char b)
 
static constexpr bool is_lead_surrogate (char32_t u)
 
static constexpr bool is_overlong (char32_t u, std::size_t bytes)
 
static constexpr bool is_surrogate (char32_t u)
 
static constexpr bool is_trail_surrogate (char32_t u)
 
static constexpr int sequence_length (unsigned char b)
 

Static Public Attributes

static constexpr auto continuation_mask = 0xC0u
 
static constexpr auto continuation_signature = 0x80u
 
static constexpr char32_t first_lead_surrogate = 0xD800
 
static constexpr char32_t first_surrogate = first_lead_surrogate
 
static constexpr char32_t first_trail_surrogate = 0xDC00
 
static constexpr auto last_1byte_value = 0x7Fu
 
static constexpr auto last_2byte_value = 0x7FFu
 
static constexpr auto last_3byte_value = 0xFFFFu
 
static constexpr char32_t last_bmp_value = 0xFFFF
 
static constexpr char32_t last_code_point = 0x10FFFF
 
static constexpr char32_t last_lead_surrogate = 0xDBFF
 
static constexpr char32_t last_surrogate = last_trail_surrogate
 
static constexpr char32_t last_trail_surrogate = 0xDFFF
 
static constexpr int lead_shifted_bits = 10
 
static constexpr int lead_surrogate_bitmask = 0xFFC00
 
static constexpr char32_t normalizing_value = 0x10000
 
static constexpr char32_t replacement = 0xFFFD
 
static constexpr auto start_2byte_mask = 0x80u
 
static constexpr auto start_3byte_mask = 0xE0u
 
static constexpr auto start_4byte_mask = 0xF0u
 
static constexpr int trail_surrogate_bitmask = 0x3FF
 

Detailed Description

Definition at line 13083 of file sol.hpp.

Member Function Documentation

◆ combine_surrogates()

static char32_t sol::unicode::unicode_detail::combine_surrogates ( char16_t  lead,
char16_t  trail 
)
inlinestatic

Definition at line 13157 of file sol.hpp.

◆ decode() [1/3]

static constexpr char32_t sol::unicode::unicode_detail::decode ( unsigned char  b0,
unsigned char  b1 
)
inlinestaticconstexpr

Definition at line 13138 of file sol.hpp.

◆ decode() [2/3]

static constexpr char32_t sol::unicode::unicode_detail::decode ( unsigned char  b0,
unsigned char  b1,
unsigned char  b2 
)
inlinestaticconstexpr

Definition at line 13141 of file sol.hpp.

◆ decode() [3/3]

static constexpr char32_t sol::unicode::unicode_detail::decode ( unsigned char  b0,
unsigned char  b1,
unsigned char  b2,
unsigned char  b3 
)
inlinestaticconstexpr

Definition at line 13144 of file sol.hpp.

◆ is_continuation()

static constexpr bool sol::unicode::unicode_detail::is_continuation ( unsigned char  b)
inlinestaticconstexpr

Definition at line 13122 of file sol.hpp.

◆ is_invalid()

static constexpr bool sol::unicode::unicode_detail::is_invalid ( unsigned char  b)
inlinestaticconstexpr

Definition at line 13118 of file sol.hpp.

◆ is_lead_surrogate()

static constexpr bool sol::unicode::unicode_detail::is_lead_surrogate ( char32_t  u)
inlinestaticconstexpr

Definition at line 13096 of file sol.hpp.

◆ is_overlong()

static constexpr bool sol::unicode::unicode_detail::is_overlong ( char32_t  u,
std::size_t  bytes 
)
inlinestaticconstexpr

Definition at line 13126 of file sol.hpp.

◆ is_surrogate()

static constexpr bool sol::unicode::unicode_detail::is_surrogate ( char32_t  u)
inlinestaticconstexpr

Definition at line 13102 of file sol.hpp.

◆ is_trail_surrogate()

static constexpr bool sol::unicode::unicode_detail::is_trail_surrogate ( char32_t  u)
inlinestaticconstexpr

Definition at line 13099 of file sol.hpp.

◆ sequence_length()

static constexpr int sol::unicode::unicode_detail::sequence_length ( unsigned char  b)
inlinestaticconstexpr

Definition at line 13131 of file sol.hpp.

Member Data Documentation

◆ continuation_mask

constexpr auto sol::unicode::unicode_detail::continuation_mask = 0xC0u
staticconstexpr

Definition at line 13115 of file sol.hpp.

◆ continuation_signature

constexpr auto sol::unicode::unicode_detail::continuation_signature = 0x80u
staticconstexpr

Definition at line 13116 of file sol.hpp.

◆ first_lead_surrogate

constexpr char32_t sol::unicode::unicode_detail::first_lead_surrogate = 0xD800
staticconstexpr

Definition at line 13087 of file sol.hpp.

◆ first_surrogate

constexpr char32_t sol::unicode::unicode_detail::first_surrogate = first_lead_surrogate
staticconstexpr

Definition at line 13093 of file sol.hpp.

◆ first_trail_surrogate

constexpr char32_t sol::unicode::unicode_detail::first_trail_surrogate = 0xDC00
staticconstexpr

Definition at line 13090 of file sol.hpp.

◆ last_1byte_value

constexpr auto sol::unicode::unicode_detail::last_1byte_value = 0x7Fu
staticconstexpr

Definition at line 13107 of file sol.hpp.

◆ last_2byte_value

constexpr auto sol::unicode::unicode_detail::last_2byte_value = 0x7FFu
staticconstexpr

Definition at line 13108 of file sol.hpp.

◆ last_3byte_value

constexpr auto sol::unicode::unicode_detail::last_3byte_value = 0xFFFFu
staticconstexpr

Definition at line 13109 of file sol.hpp.

◆ last_bmp_value

constexpr char32_t sol::unicode::unicode_detail::last_bmp_value = 0xFFFF
staticconstexpr

Definition at line 13150 of file sol.hpp.

◆ last_code_point

constexpr char32_t sol::unicode::unicode_detail::last_code_point = 0x10FFFF
staticconstexpr

Definition at line 13085 of file sol.hpp.

◆ last_lead_surrogate

constexpr char32_t sol::unicode::unicode_detail::last_lead_surrogate = 0xDBFF
staticconstexpr

Definition at line 13088 of file sol.hpp.

◆ last_surrogate

constexpr char32_t sol::unicode::unicode_detail::last_surrogate = last_trail_surrogate
staticconstexpr

Definition at line 13094 of file sol.hpp.

◆ last_trail_surrogate

constexpr char32_t sol::unicode::unicode_detail::last_trail_surrogate = 0xDFFF
staticconstexpr

Definition at line 13091 of file sol.hpp.

◆ lead_shifted_bits

constexpr int sol::unicode::unicode_detail::lead_shifted_bits = 10
staticconstexpr

Definition at line 13154 of file sol.hpp.

◆ lead_surrogate_bitmask

constexpr int sol::unicode::unicode_detail::lead_surrogate_bitmask = 0xFFC00
staticconstexpr

Definition at line 13152 of file sol.hpp.

◆ normalizing_value

constexpr char32_t sol::unicode::unicode_detail::normalizing_value = 0x10000
staticconstexpr

Definition at line 13151 of file sol.hpp.

◆ replacement

constexpr char32_t sol::unicode::unicode_detail::replacement = 0xFFFD
staticconstexpr

Definition at line 13155 of file sol.hpp.

◆ start_2byte_mask

constexpr auto sol::unicode::unicode_detail::start_2byte_mask = 0x80u
staticconstexpr

Definition at line 13111 of file sol.hpp.

◆ start_3byte_mask

constexpr auto sol::unicode::unicode_detail::start_3byte_mask = 0xE0u
staticconstexpr

Definition at line 13112 of file sol.hpp.

◆ start_4byte_mask

constexpr auto sol::unicode::unicode_detail::start_4byte_mask = 0xF0u
staticconstexpr

Definition at line 13113 of file sol.hpp.

◆ trail_surrogate_bitmask

constexpr int sol::unicode::unicode_detail::trail_surrogate_bitmask = 0x3FF
staticconstexpr

Definition at line 13153 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:54