A Discrete-Event Network Simulator
API
nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType > Class Template Reference

#include "json.h"

+ Collaboration diagram for nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >:

Public Types

using char_type = char
 
using char_type = char
 

Public Member Functions

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

Private Member Functions

template<size_t T>
void fill_buffer ()
 
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...
 

Detailed Description

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

Definition at line 5073 of file json.h.

Member Typedef Documentation

◆ char_type [1/2]

template<typename BaseInputAdapter , typename WideCharType >
using nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::char_type = char

Definition at line 5076 of file json.h.

◆ char_type [2/2]

template<typename BaseInputAdapter , typename WideCharType >
using nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::char_type = char

Definition at line 5076 of file json.h.

Constructor & Destructor Documentation

◆ wide_string_input_adapter() [1/2]

template<typename BaseInputAdapter , typename WideCharType >
nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::wide_string_input_adapter ( BaseInputAdapter  base)
inline

Definition at line 5078 of file json.h.

◆ wide_string_input_adapter() [2/2]

template<typename BaseInputAdapter , typename WideCharType >
nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::wide_string_input_adapter ( BaseInputAdapter  base)
inline

Definition at line 5078 of file json.h.

Member Function Documentation

◆ fill_buffer() [1/2]

◆ fill_buffer() [2/2]

◆ get_character() [1/2]

◆ get_character() [2/2]

Member Data Documentation

◆ base_adapter

template<typename BaseInputAdapter , typename WideCharType >
BaseInputAdapter nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::base_adapter
private

◆ utf8_bytes

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

◆ utf8_bytes_filled

template<typename BaseInputAdapter , typename WideCharType >
std::size_t nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_filled = 0
private

◆ utf8_bytes_index

template<typename BaseInputAdapter , typename WideCharType >
std::size_t nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::utf8_bytes_index = 0
private

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