xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType > Class Template Reference

#include <XrdOucJson.hh>

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename BaseInputAdapter , typename WideCharType >
template<size_t T>
void nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::fill_buffer ( )
inlineprivate
template<typename BaseInputAdapter , typename WideCharType >
std::char_traits<char>::int_type nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::get_character ( )
inlinenoexcept

References JSON_ASSERT.

Member Data Documentation

template<typename BaseInputAdapter , typename WideCharType >
BaseInputAdapter nlohmann::detail::wide_string_input_adapter< BaseInputAdapter, WideCharType >::base_adapter
private
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

a buffer for UTF-8 bytes

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

number of valid bytes in the utf8_codes array

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

index to the utf8_codes array for the next valid byte


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