Crossfire Server, Trunk
|
#include <json.hpp>
Public Types | |
using | char_type = char |
Public Member Functions | |
std::char_traits< char >::int_type | get_character () noexcept |
wide_string_input_adapter (BaseInputAdapter base) | |
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 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 |
|
inline |
|
inlineprivate |
Definition at line 5625 of file json.hpp.
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 5604 of file json.hpp.
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 5622 of file json.hpp.
Referenced by nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer().
|
private |
a buffer for UTF-8 bytes
Definition at line 5631 of file json.hpp.
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 5636 of file json.hpp.
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 5634 of file json.hpp.
Referenced by nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer(), and nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::get_character().