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

Enumerator
ok 
invalid_code_point 
invalid_code_unit 
invalid_leading_surrogate 
invalid_trailing_surrogate 
sequence_too_short 
overlong_sequence 

Definition at line 11862 of file sol.hpp.

Function Documentation

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

Definition at line 12013 of file sol.hpp.

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

Definition at line 12035 of file sol.hpp.

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

Definition at line 11979 of file sol.hpp.

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

Definition at line 11872 of file sol.hpp.

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

Definition at line 12112 of file sol.hpp.

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

Definition at line 12150 of file sol.hpp.

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

Definition at line 12044 of file sol.hpp.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:53