#include "json.h"
Public Types | |
using | char_type = char |
using | char_type = char |
Public Member Functions | |
wide_string_input_adapter (BaseInputAdapter base) | |
wide_string_input_adapter (BaseInputAdapter base) | |
std::char_traits< char >::int_type | get_character () noexcept |
std::char_traits< char >::int_type | get_character () noexcept |
Private Member Functions | |
template<size_t T> | |
void | fill_buffer () |
template<size_t T> | |
void | fill_buffer () |
Private Attributes | |
BaseInputAdapter | base_adapter |
std::array< std::char_traits< char >::int_type, 4 > | utf8_bytes = {{0, 0, 0, 0}} |
a buffer for UTF-8 bytes More... | |
std::size_t | utf8_bytes_filled = 0 |
number of valid bytes in the utf8_codes array More... | |
std::size_t | utf8_bytes_index = 0 |
index to the utf8_codes array for the next valid byte More... | |
using nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::char_type = char |
using nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::char_type = char |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 5102 of file json.h.
References nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::base_adapter, nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes, nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_filled, and nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_index.
|
inlineprivate |
Definition at line 5102 of file json.h.
References nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::base_adapter, nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes, nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_filled, and nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_index.
|
inlinenoexcept |
Definition at line 5081 of file json.h.
References JSON_ASSERT, nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes, nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_filled, and nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_index.
|
inlinenoexcept |
Definition at line 5081 of file json.h.
References JSON_ASSERT, nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes, nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_filled, and nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_index.
|
private |
Definition at line 5099 of file json.h.
Referenced by nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer().
|
private |
a buffer for UTF-8 bytes
Definition at line 5108 of file json.h.
Referenced by nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer(), and nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::get_character().
|
private |
number of valid bytes in the utf8_codes array
Definition at line 5113 of file json.h.
Referenced by nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer(), and nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::get_character().
|
private |
index to the utf8_codes array for the next valid byte
Definition at line 5111 of file json.h.
Referenced by nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer(), and nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::get_character().