#include <json.hpp>
Public Member Functions | |
wide_string_input_adapter (const WideStringType &w) noexcept | |
std::char_traits< char >::int_type | get_character () noexceptoverride |
get a character [0,255] or std::char_traits<char>::eof(). More... | |
Public Member Functions inherited from nlohmann::detail::input_adapter_protocol | |
virtual | ~input_adapter_protocol ()=default |
Private Member Functions | |
template<size_t T> | |
void | fill_buffer () |
Private Attributes | |
const WideStringType & | str |
the wstring to process More... | |
std::size_t | current_wchar = 0 |
index of the current wchar in str More... | |
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_index = 0 |
index to the utf8_codes array for the next valid byte More... | |
std::size_t | utf8_bytes_filled = 0 |
number of valid bytes in the utf8_codes array More... | |
|
inlineexplicitnoexcept |
Definition at line 4154 of file json.hpp.
|
inlineprivate |
Definition at line 4177 of file json.hpp.
|
inlineoverridevirtualnoexcept |
get a character [0,255] or std::char_traits<char>::eof().
Implements nlohmann::detail::input_adapter_protocol.
Definition at line 4158 of file json.hpp.
|
private |
|
private |
|
private |
|
private |
|
private |