Public Member Functions | Private Attributes | List of all members
nlohmann::detail::input_buffer_adapter Class Reference

input adapter for buffer input More...

#include <json.hpp>

Inheritance diagram for nlohmann::detail::input_buffer_adapter:
Inheritance graph
[legend]

Public Member Functions

std::char_traits< char >::int_type get_character () noexceptoverride
 get a character [0,255] or std::char_traits<char>::eof(). More...
 
 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
 
void unget_character () noexceptoverride
 restore the last non-eof() character to input More...
 
- Public Member Functions inherited from nlohmann::detail::input_adapter_protocol
virtual ~input_adapter_protocol ()=default
 

Private Attributes

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

Detailed Description

input adapter for buffer input

Definition at line 1697 of file json.hpp.

Constructor & Destructor Documentation

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

Definition at line 1700 of file json.hpp.

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

Member Function Documentation

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 1714 of file json.hpp.

input_buffer_adapter& nlohmann::detail::input_buffer_adapter::operator= ( input_buffer_adapter )
delete
void nlohmann::detail::input_buffer_adapter::unget_character ( )
inlineoverridevirtualnoexcept

restore the last non-eof() character to input

Implements nlohmann::detail::input_adapter_protocol.

Definition at line 1724 of file json.hpp.

Member Data Documentation

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

pointer to the current character

Definition at line 1734 of file json.hpp.

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

pointer past the last character

Definition at line 1736 of file json.hpp.

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

pointer to the first character

Definition at line 1738 of file json.hpp.


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


json_transport
Author(s): Paul Bovbel
autogenerated on Wed Jan 27 2021 03:58:48