MUQ  0.4.3
nlohmann::detail::file_input_adapter Class Reference

#include <json.h>

Detailed Description

Input adapter for stdio file access. This adapter read only 1 byte and do not use any buffer. This adapter is a very low level adapter.

Definition at line 4754 of file json.h.

Public Types

using char_type = char
 

Public Member Functions

 JSON_HEDLEY_NON_NULL (2) explicit file_input_adapter(std
 
 file_input_adapter (const file_input_adapter &)=delete
 
 file_input_adapter (file_input_adapter &&)=default
 
file_input_adapteroperator= (const file_input_adapter &)=delete
 
file_input_adapteroperator= (file_input_adapter &&)=delete
 
std::char_traits< char >::int_type get_character () noexcept
 

Member Typedef Documentation

◆ char_type

Definition at line 4757 of file json.h.

Constructor & Destructor Documentation

◆ file_input_adapter() [1/2]

nlohmann::detail::file_input_adapter::file_input_adapter ( const file_input_adapter )
delete

◆ file_input_adapter() [2/2]

nlohmann::detail::file_input_adapter::file_input_adapter ( file_input_adapter &&  )
default

Member Function Documentation

◆ get_character()

std::char_traits<char>::int_type nlohmann::detail::file_input_adapter::get_character ( )
inlinenoexcept

Definition at line 4770 of file json.h.

References m_file.

◆ JSON_HEDLEY_NON_NULL()

nlohmann::detail::file_input_adapter::JSON_HEDLEY_NON_NULL ( )
inline

Definition at line 4759 of file json.h.

◆ operator=() [1/2]

file_input_adapter& nlohmann::detail::file_input_adapter::operator= ( const file_input_adapter )
delete

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_file

std::FILE* nlohmann::detail::file_input_adapter::m_file
private

the file pointer to read from

Definition at line 4777 of file json.h.

Referenced by get_character().


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