CellModules
nlohmann::detail::input_buffer_adapter Class Reference

input adapter for buffer input More...

#include <json.hpp>

Inheritance diagram for nlohmann::detail::input_buffer_adapter:
nlohmann::detail::input_adapter_protocol

Public Member Functions

 input_buffer_adapter (const char *b, const std::size_t l) noexcept
 
 input_buffer_adapter (const input_buffer_adapter &)=delete
 
input_buffer_adapteroperator= (input_buffer_adapter &)=delete
 
 input_buffer_adapter (input_buffer_adapter &&)=delete
 
input_buffer_adapteroperator= (input_buffer_adapter &&)=delete
 
 ~input_buffer_adapter () override=default
 
std::char_traits< char >::int_type get_character () noexcept override
 get a character [0,255] or std::char_traits<char>::eof(). More...
 

Private Attributes

const char * cursor
 pointer to the current character More...
 
const char *const limit
 pointer past the last character More...
 

Detailed Description

input adapter for buffer input

Definition at line 2365 of file json.hpp.

Constructor & Destructor Documentation

◆ input_buffer_adapter() [1/3]

nlohmann::detail::input_buffer_adapter::input_buffer_adapter ( const char *  b,
const std::size_t  l 
)
inlinenoexcept

Definition at line 2368 of file json.hpp.

◆ input_buffer_adapter() [2/3]

nlohmann::detail::input_buffer_adapter::input_buffer_adapter ( const input_buffer_adapter )
delete

◆ input_buffer_adapter() [3/3]

nlohmann::detail::input_buffer_adapter::input_buffer_adapter ( input_buffer_adapter &&  )
delete

◆ ~input_buffer_adapter()

nlohmann::detail::input_buffer_adapter::~input_buffer_adapter ( )
overridedefault

Member Function Documentation

◆ get_character()

std::char_traits< char >::int_type nlohmann::detail::input_buffer_adapter::get_character ( )
inlineoverridevirtualnoexcept

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

Implements nlohmann::detail::input_adapter_protocol.

Definition at line 2379 of file json.hpp.

◆ operator=() [1/2]

input_buffer_adapter & nlohmann::detail::input_buffer_adapter::operator= ( input_buffer_adapter &&  )
delete

◆ operator=() [2/2]

input_buffer_adapter & nlohmann::detail::input_buffer_adapter::operator= ( input_buffer_adapter )
delete

Member Data Documentation

◆ cursor

const char* nlohmann::detail::input_buffer_adapter::cursor
private

pointer to the current character

Definition at line 2391 of file json.hpp.

◆ limit

const char* const nlohmann::detail::input_buffer_adapter::limit
private

pointer past the last character

Definition at line 2393 of file json.hpp.


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