ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nlohmann::detail::wide_string_input_adapter< WideStringType > Class Template Reference

#include <acts/blob/master/thirdparty/nlohmann_json/single_include/nlohmann/json.hpp>

+ Inheritance diagram for nlohmann::detail::wide_string_input_adapter< WideStringType >:
+ Collaboration diagram for nlohmann::detail::wide_string_input_adapter< WideStringType >:

Public Member Functions

 wide_string_input_adapter (const WideStringType &w) noexcept
 
std::char_traits< char >::int_type get_character () noexceptoverride
 get a character [0,255] or std::char_traits<char>::eof().
 
- Public Member Functions inherited from nlohmann::detail::input_adapter_protocol
virtual ~input_adapter_protocol ()=default
 

Private Member Functions

template<size_t T>
void fill_buffer ()
 

Private Attributes

const WideStringType & str
 the wstring to process
 
std::size_t current_wchar = 0
 index of the current wchar in str
 
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 WideStringType>
class nlohmann::detail::wide_string_input_adapter< WideStringType >

Definition at line 4151 of file json.hpp.

View newest version in sPHENIX GitHub at line 4151 of file json.hpp

Constructor & Destructor Documentation

template<typename WideStringType >
nlohmann::detail::wide_string_input_adapter< WideStringType >::wide_string_input_adapter ( const WideStringType &  w)
inlineexplicitnoexcept

Definition at line 4154 of file json.hpp.

View newest version in sPHENIX GitHub at line 4154 of file json.hpp

Member Function Documentation

template<typename WideStringType >
template<size_t T>
void nlohmann::detail::wide_string_input_adapter< WideStringType >::fill_buffer ( )
inlineprivate

Definition at line 4177 of file json.hpp.

View newest version in sPHENIX GitHub at line 4177 of file json.hpp

template<typename WideStringType >
std::char_traits<char>::int_type nlohmann::detail::wide_string_input_adapter< WideStringType >::get_character ( )
inlineoverridevirtualnoexcept

get a character [0,255] or std::char_traits<char>::eof().

Implements nlohmann::detail::input_adapter_protocol.

Definition at line 4158 of file json.hpp.

View newest version in sPHENIX GitHub at line 4158 of file json.hpp

Member Data Documentation

template<typename WideStringType >
std::size_t nlohmann::detail::wide_string_input_adapter< WideStringType >::current_wchar = 0
private

index of the current wchar in str

Definition at line 4186 of file json.hpp.

View newest version in sPHENIX GitHub at line 4186 of file json.hpp

template<typename WideStringType >
const WideStringType& nlohmann::detail::wide_string_input_adapter< WideStringType >::str
private

the wstring to process

Definition at line 4183 of file json.hpp.

View newest version in sPHENIX GitHub at line 4183 of file json.hpp

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

a buffer for UTF-8 bytes

Definition at line 4189 of file json.hpp.

View newest version in sPHENIX GitHub at line 4189 of file json.hpp

template<typename WideStringType >
std::size_t nlohmann::detail::wide_string_input_adapter< WideStringType >::utf8_bytes_filled = 0
private

number of valid bytes in the utf8_codes array

Definition at line 4194 of file json.hpp.

View newest version in sPHENIX GitHub at line 4194 of file json.hpp

template<typename WideStringType >
std::size_t nlohmann::detail::wide_string_input_adapter< WideStringType >::utf8_bytes_index = 0
private

index to the utf8_codes array for the next valid byte

Definition at line 4192 of file json.hpp.

View newest version in sPHENIX GitHub at line 4192 of file json.hpp


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