Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType > Class Template Reference

#include <json.hpp>

Public Types

using char_type = char
 

Public Member Functions

 wide_string_input_adapter (BaseInputAdapter base)
 
std::char_traits< char >::int_type get_character () noexcept
 

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_index = 0
 index to the utf8_codes array for the next valid byte
 
std::size_t utf8_bytes_filled = 0
 number of valid bytes in the utf8_codes array
 

Detailed Description

template<typename BaseInputAdapter, typename WideCharType>
class nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >

Definition at line 5621 of file json.hpp.

Member Typedef Documentation

◆ char_type

Constructor & Destructor Documentation

◆ wide_string_input_adapter()

Definition at line 5626 of file json.hpp.

Member Function Documentation

◆ fill_buffer()

Definition at line 5650 of file json.hpp.

◆ get_character()

std::char_traits< char >::int_type nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::get_character ( )
inlinenoexcept

Definition at line 5629 of file json.hpp.

Member Data Documentation

◆ base_adapter

◆ utf8_bytes

std::array<std::char_traits<char>::int_type, 4> nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes = { {0, 0, 0, 0} }
private

a buffer for UTF-8 bytes

Definition at line 5656 of file json.hpp.

◆ utf8_bytes_filled

number of valid bytes in the utf8_codes array

Definition at line 5661 of file json.hpp.

◆ utf8_bytes_index

index to the utf8_codes array for the next valid byte

Definition at line 5659 of file json.hpp.


The documentation for this class was generated from the following file: