|
Unravel Engine C++ Reference
|
Enumerations | |
| enum | utf_error { UTF8_OK , NOT_ENOUGH_ROOM , INVALID_LEAD , INCOMPLETE_SEQUENCE , OVERLONG_SEQUENCE , INVALID_CODE_POINT } |
Functions | |
| template<typename octet_type > | |
| utfchar8_t | mask8 (octet_type oc) |
| template<typename u16_type > | |
| utfchar16_t | mask16 (u16_type oc) |
| template<typename octet_type > | |
| bool | is_trail (octet_type oc) |
| bool | is_lead_surrogate (utfchar32_t cp) |
| bool | is_trail_surrogate (utfchar32_t cp) |
| bool | is_surrogate (utfchar32_t cp) |
| bool | is_code_point_valid (utfchar32_t cp) |
| bool | is_in_bmp (utfchar32_t cp) |
| template<typename octet_iterator > | |
| int | sequence_length (octet_iterator lead_it) |
| bool | is_overlong_sequence (utfchar32_t cp, int length) |
| template<typename octet_iterator > | |
| utf_error | increase_safely (octet_iterator &it, const octet_iterator end) |
| Helper for get_sequence_x. | |
| template<typename octet_iterator > | |
| utf_error | get_sequence_1 (octet_iterator &it, octet_iterator end, utfchar32_t &code_point) |
| get_sequence_x functions decode utf-8 sequences of the length x | |
| template<typename octet_iterator > | |
| utf_error | get_sequence_2 (octet_iterator &it, octet_iterator end, utfchar32_t &code_point) |
| template<typename octet_iterator > | |
| utf_error | get_sequence_3 (octet_iterator &it, octet_iterator end, utfchar32_t &code_point) |
| template<typename octet_iterator > | |
| utf_error | get_sequence_4 (octet_iterator &it, octet_iterator end, utfchar32_t &code_point) |
| template<typename octet_iterator > | |
| utf_error | validate_next (octet_iterator &it, octet_iterator end, utfchar32_t &code_point) |
| template<typename octet_iterator > | |
| utf_error | validate_next (octet_iterator &it, octet_iterator end) |
| template<typename word_iterator > | |
| utf_error | validate_next16 (word_iterator &it, word_iterator end, utfchar32_t &code_point) |
| template<typename octet_iterator , typename octet_type > | |
| octet_iterator | append (utfchar32_t cp, octet_iterator result) |
| char * | append (utfchar32_t cp, char *result) |
| template<typename container_type > | |
| std::back_insert_iterator< container_type > | append (utfchar32_t cp, std::back_insert_iterator< container_type > result) |
| template<typename octet_iterator > | |
| octet_iterator | append (utfchar32_t cp, octet_iterator result) |
| template<typename word_iterator , typename word_type > | |
| word_iterator | append16 (utfchar32_t cp, word_iterator result) |
| template<typename container_type > | |
| std::back_insert_iterator< container_type > | append16 (utfchar32_t cp, std::back_insert_iterator< container_type > result) |
| template<typename word_iterator > | |
| word_iterator | append16 (utfchar32_t cp, word_iterator result) |
Variables | |
| const utfchar16_t | LEAD_SURROGATE_MIN = 0xd800u |
| const utfchar16_t | LEAD_SURROGATE_MAX = 0xdbffu |
| const utfchar16_t | TRAIL_SURROGATE_MIN = 0xdc00u |
| const utfchar16_t | TRAIL_SURROGATE_MAX = 0xdfffu |
| const utfchar16_t | LEAD_OFFSET = 0xd7c0u |
| const utfchar32_t | SURROGATE_OFFSET = 0xfca02400u |
| const utfchar32_t | CODE_POINT_MAX = 0x0010ffffu |
|
inline |
| octet_iterator utf8::internal::append | ( | utfchar32_t | cp, |
| octet_iterator | result ) |
| octet_iterator utf8::internal::append | ( | utfchar32_t | cp, |
| octet_iterator | result ) |
| std::back_insert_iterator< container_type > utf8::internal::append | ( | utfchar32_t | cp, |
| std::back_insert_iterator< container_type > | result ) |
| std::back_insert_iterator< container_type > utf8::internal::append16 | ( | utfchar32_t | cp, |
| std::back_insert_iterator< container_type > | result ) |
| word_iterator utf8::internal::append16 | ( | utfchar32_t | cp, |
| word_iterator | result ) |
| word_iterator utf8::internal::append16 | ( | utfchar32_t | cp, |
| word_iterator | result ) |
| utf_error utf8::internal::get_sequence_1 | ( | octet_iterator & | it, |
| octet_iterator | end, | ||
| utfchar32_t & | code_point ) |
| utf_error utf8::internal::get_sequence_2 | ( | octet_iterator & | it, |
| octet_iterator | end, | ||
| utfchar32_t & | code_point ) |
| utf_error utf8::internal::get_sequence_3 | ( | octet_iterator & | it, |
| octet_iterator | end, | ||
| utfchar32_t & | code_point ) |
| utf_error utf8::internal::get_sequence_4 | ( | octet_iterator & | it, |
| octet_iterator | end, | ||
| utfchar32_t & | code_point ) |
| utf_error utf8::internal::increase_safely | ( | octet_iterator & | it, |
| const octet_iterator | end ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| int utf8::internal::sequence_length | ( | octet_iterator | lead_it | ) |
|
inline |
| utf_error utf8::internal::validate_next | ( | octet_iterator & | it, |
| octet_iterator | end, | ||
| utfchar32_t & | code_point ) |
| utf_error utf8::internal::validate_next16 | ( | word_iterator & | it, |
| word_iterator | end, | ||
| utfchar32_t & | code_point ) |
| const utfchar32_t utf8::internal::CODE_POINT_MAX = 0x0010ffffu |
| const utfchar16_t utf8::internal::LEAD_OFFSET = 0xd7c0u |
| const utfchar16_t utf8::internal::LEAD_SURROGATE_MAX = 0xdbffu |
| const utfchar16_t utf8::internal::LEAD_SURROGATE_MIN = 0xd800u |
| const utfchar32_t utf8::internal::SURROGATE_OFFSET = 0xfca02400u |
| const utfchar16_t utf8::internal::TRAIL_SURROGATE_MAX = 0xdfffu |
| const utfchar16_t utf8::internal::TRAIL_SURROGATE_MIN = 0xdc00u |