BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
nlohmann::detail::file_input_adapter Class Reference

Input adapter for stdio file access. More...

#include <json.hpp>

Public Types

using char_type = char

Public Member Functions

 file_input_adapter (std::FILE *f) noexcept
 file_input_adapter (const file_input_adapter &)=delete
 file_input_adapter (file_input_adapter &&) noexcept=default
file_input_adapter & operator= (const file_input_adapter &)=delete
file_input_adapter & operator= (file_input_adapter &&)=delete
 ~file_input_adapter ()=default
std::char_traits< char >::int_type get_character () noexcept

Private Attributes

std::FILE * m_file
 the file pointer to read from

Detailed Description

This adapter read only 1 byte and do not use any buffer. This adapter is a very low level adapter.

Definition at line 5220 of file json.hpp.

Member Typedef Documentation

◆ char_type

Definition at line 5223 of file json.hpp.

Constructor & Destructor Documentation

◆ file_input_adapter() [1/3]

nlohmann::detail::file_input_adapter::file_input_adapter ( std::FILE * f)
inlineexplicitnoexcept

Definition at line 5226 of file json.hpp.

References file_input_adapter(), f, and m_file.

Referenced by file_input_adapter(), file_input_adapter(), file_input_adapter(), ~file_input_adapter(), operator=(), and operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ file_input_adapter() [2/3]

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

References file_input_adapter().

Here is the call graph for this function:

◆ file_input_adapter() [3/3]

nlohmann::detail::file_input_adapter::file_input_adapter ( file_input_adapter && )
defaultnoexcept

References file_input_adapter().

Here is the call graph for this function:

◆ ~file_input_adapter()

nlohmann::detail::file_input_adapter::~file_input_adapter ( )
default

References file_input_adapter().

Here is the call graph for this function:

Member Function Documentation

◆ get_character()

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

Definition at line 5237 of file json.hpp.

References get_character(), and m_file.

Referenced by get_character().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

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

References file_input_adapter().

Here is the call graph for this function:

◆ operator=() [2/2]

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

References file_input_adapter().

Here is the call graph for this function:

Member Data Documentation

◆ m_file

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

Definition at line 5241 of file json.hpp.

Referenced by file_input_adapter(), and get_character().


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