KiCad PCB EDA Suite
Loading...
Searching...
No Matches
utf8_utils::UTF8_CONVERTER Class Reference

Static Public Member Functions

static std::u32string to_utf32 (std::string_view utf8)
 
static std::string to_utf8 (std::u32string_view utf32)
 

Static Private Member Functions

static constexpr bool is_ascii (std::byte b) noexcept
 
static constexpr bool is_continuation (std::byte b) noexcept
 
static constexpr int sequence_length (std::byte first) noexcept
 

Detailed Description

Definition at line 88 of file text_eval_wrapper.cpp.

Member Function Documentation

◆ is_ascii()

static constexpr bool utf8_utils::UTF8_CONVERTER::is_ascii ( std::byte b)
inlinestaticconstexprprivatenoexcept

Definition at line 92 of file text_eval_wrapper.cpp.

Referenced by sequence_length().

◆ is_continuation()

static constexpr bool utf8_utils::UTF8_CONVERTER::is_continuation ( std::byte b)
inlinestaticconstexprprivatenoexcept

Definition at line 97 of file text_eval_wrapper.cpp.

Referenced by to_utf32().

◆ sequence_length()

static constexpr int utf8_utils::UTF8_CONVERTER::sequence_length ( std::byte first)
inlinestaticconstexprprivatenoexcept

Definition at line 102 of file text_eval_wrapper.cpp.

References is_ascii().

Referenced by to_utf32().

◆ to_utf32()

static std::u32string utf8_utils::UTF8_CONVERTER::to_utf32 ( std::string_view utf8)
inlinestatic

◆ to_utf8()

static std::string utf8_utils::UTF8_CONVERTER::to_utf8 ( std::u32string_view utf32)
inlinestatic

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