WPILibC++ 2024.3.2
detail::file_input_adapter Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/json/include/wpi/detail/input/input_adapters.h>

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_adapteroperator= (const file_input_adapter &)=delete
 
file_input_adapteroperator= (file_input_adapter &&)=delete
 
 ~file_input_adapter ()=default
 
std::char_traits< char >::int_type get_character () noexcept
 

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.

Member Typedef Documentation

◆ char_type

Constructor & Destructor Documentation

◆ file_input_adapter() [1/3]

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

◆ file_input_adapter() [2/3]

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

◆ file_input_adapter() [3/3]

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

◆ ~file_input_adapter()

detail::file_input_adapter::~file_input_adapter ( )
default

Member Function Documentation

◆ get_character()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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