Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
detail::wide_string_input_adapter< BaseInputAdapter, WideCharType > Class Template Reference

#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...
 

Detailed Description

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

Definition at line 6439 of file json.hpp.

Member Typedef Documentation

◆ char_type

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

Definition at line 6442 of file json.hpp.

Constructor & Destructor Documentation

◆ wide_string_input_adapter()

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

Definition at line 6444 of file json.hpp.

Member Function Documentation

◆ fill_buffer()

template<typename BaseInputAdapter , typename WideCharType >
template<size_t T>
void detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer ( )
inlineprivate

Definition at line 6468 of file json.hpp.

◆ get_character()

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

Definition at line 6447 of file json.hpp.

Member Data Documentation

◆ base_adapter

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

Definition at line 6465 of file json.hpp.

◆ utf8_bytes

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

a buffer for UTF-8 bytes

Definition at line 6474 of file json.hpp.

◆ utf8_bytes_filled

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

number of valid bytes in the utf8_codes array

Definition at line 6479 of file json.hpp.

◆ utf8_bytes_index

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

index to the utf8_codes array for the next valid byte

Definition at line 6477 of file json.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09