Classes | Enumerations | Functions
sol::unicode Namespace Reference

Classes

struct  decoded_result
 
struct  encoded_result
 
struct  unicode_detail
 

Enumerations

enum  error_code {
  error_code::ok = 0, error_code::invalid_code_point, error_code::invalid_code_unit, error_code::invalid_leading_surrogate,
  error_code::invalid_trailing_surrogate, error_code::sequence_too_short, error_code::overlong_sequence
}
 

Functions

encoded_result< char16_t > code_point_to_utf16 (char32_t codepoint)
 
encoded_result< char32_t > code_point_to_utf32 (char32_t codepoint)
 
encoded_result< char > code_point_to_utf8 (char32_t codepoint)
 
const string_viewto_string (error_code ec)
 
template<typename It >
decoded_result< It > utf16_to_code_point (It it, It last)
 
template<typename It >
decoded_result< It > utf32_to_code_point (It it, It last)
 
template<typename It >
decoded_result< It > utf8_to_code_point (It it, It last)
 

Enumeration Type Documentation

◆ error_code

Enumerator
ok 
invalid_code_point 
invalid_code_unit 
invalid_leading_surrogate 
invalid_trailing_surrogate 
sequence_too_short 
overlong_sequence 

Definition at line 13048 of file sol.hpp.

Function Documentation

◆ code_point_to_utf16()

encoded_result<char16_t> sol::unicode::code_point_to_utf16 ( char32_t  codepoint)
inline

Definition at line 13198 of file sol.hpp.

◆ code_point_to_utf32()

encoded_result<char32_t> sol::unicode::code_point_to_utf32 ( char32_t  codepoint)
inline

Definition at line 13217 of file sol.hpp.

◆ code_point_to_utf8()

encoded_result<char> sol::unicode::code_point_to_utf8 ( char32_t  codepoint)
inline

Definition at line 13164 of file sol.hpp.

◆ to_string()

const string_view& sol::unicode::to_string ( error_code  ec)
inline

Definition at line 13058 of file sol.hpp.

◆ utf16_to_code_point()

template<typename It >
decoded_result<It> sol::unicode::utf16_to_code_point ( It  it,
It  last 
)
inline

Definition at line 13294 of file sol.hpp.

◆ utf32_to_code_point()

template<typename It >
decoded_result<It> sol::unicode::utf32_to_code_point ( It  it,
It  last 
)
inline

Definition at line 13332 of file sol.hpp.

◆ utf8_to_code_point()

template<typename It >
decoded_result<It> sol::unicode::utf8_to_code_point ( It  it,
It  last 
)
inline

Definition at line 13226 of file sol.hpp.



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