Collaboration diagram for detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >:Public Types | |
| using | char_type = char |
Public Member Functions | |
| wide_string_input_adapter (BaseInputAdapter base) | |
| std::char_traits< char >::int_type | get_character () noexcept |
| template<class T > | |
| std::size_t | get_elements (T *, std::size_t=1) |
Private Member Functions | |
| 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 | |
| std::size_t | utf8_bytes_filled = 0 |
| number of valid bytes in the utf8_codes array | |
| std::size_t | utf8_bytes_index = 0 |
| index to the utf8_codes array for the next valid byte | |
| using detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::char_type = char |
|
inline |
|
inlineprivate |
Definition at line 6869 of file json.h.
References detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::base_adapter, detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes, detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_filled, and detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_index.
|
inlinenoexcept |
Definition at line 6841 of file json.h.
References JSON_ASSERT, detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes, detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_filled, and detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_index.
|
inline |
Definition at line 6860 of file json.h.
References detail::parse_error::create(), and JSON_THROW.
Here is the call graph for this function:
|
private |
Definition at line 6866 of file json.h.
Referenced by detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer().
|
private |
a buffer for UTF-8 bytes
Definition at line 6875 of file json.h.
Referenced by detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer(), and detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::get_character().
|
private |
number of valid bytes in the utf8_codes array
Definition at line 6880 of file json.h.
Referenced by detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer(), and detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::get_character().
|
private |
index to the utf8_codes array for the next valid byte
Definition at line 6878 of file json.h.
Referenced by detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer(), and detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::get_character().