|
CellModules
|
#include <json.hpp>
Public Member Functions | |
| wide_string_input_adapter (const WideStringType &w) noexcept | |
| std::char_traits< char >::int_type | get_character () noexcept override |
| get a character [0,255] or std::char_traits<char>::eof(). More... | |
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 |
|
inlineprivate |
|
inlineoverridevirtualnoexcept |
get a character [0,255] or std::char_traits<char>::eof().
Implements nlohmann::detail::input_adapter_protocol.
|
private |
|
private |
|
private |
|
private |
|
private |