GPC  v1.0.0-2516
Gorman Print Control
nlohmann::detail::input_buffer_adapter Class Reference

input adapter for buffer input More...

Inheritance diagram for nlohmann::detail::input_buffer_adapter:
Collaboration diagram for nlohmann::detail::input_buffer_adapter:

Public Member Functions

 input_buffer_adapter (const char *b, const std::size_t l)
 
 input_buffer_adapter (const input_buffer_adapter &)=delete
 
input_buffer_adapteroperator= (input_buffer_adapter &)=delete
 
std::char_traits< char >::int_type get_character () noexcept override
 get a character [0,255] or std::char_traits<char>::eof(). More...
 
void unget_character () noexcept override
 restore the last non-eof() character to input More...
 

Detailed Description

input adapter for buffer input

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.

◆ unget_character()

void nlohmann::detail::input_buffer_adapter::unget_character ( )
inlineoverridevirtualnoexcept

restore the last non-eof() character to input

Implements nlohmann::detail::input_adapter_protocol.