|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Input adapter for a (caching) istream. More...
#include <json.hpp>
Public Types | |
| using | char_type = char |
Public Member Functions | |
| ~input_stream_adapter () | |
| input_stream_adapter (std::istream &i) | |
| input_stream_adapter (const input_stream_adapter &)=delete | |
| input_stream_adapter & | operator= (input_stream_adapter &)=delete |
| input_stream_adapter & | operator= (input_stream_adapter &&)=delete |
| input_stream_adapter (input_stream_adapter &&rhs) noexcept | |
| std::char_traits< char >::int_type | get_character () |
Private Attributes | |
| std::istream * | is = nullptr |
| the associated input stream | |
| std::streambuf * | sb = nullptr |
Ignores a UFT Byte Order Mark at beginning of input. Does not support changing the underlying std::streambuf in mid-input. Maintains underlying std::istream and std::streambuf to support subsequent use of standard std::istream operations to process any input characters following those used in parsing the JSON input. Clears the std::istream flags; any input errors (e.g., EOF) will be detected by the first subsequent call for input from the std::istream.
| using nlohmann::detail::input_stream_adapter::char_type = char |
|
inline |
|
inlineexplicit |
Definition at line 5267 of file json.hpp.
Referenced by input_stream_adapter(), input_stream_adapter(), operator=(), and operator=().
|
delete |
|
inlinenoexcept |
Definition at line 5277 of file json.hpp.
References input_stream_adapter(), and nlohmann::rhs.
|
inline |
Definition at line 5288 of file json.hpp.
References is, JSON_HEDLEY_UNLIKELY, nlohmann::res, and sb.
|
delete |
|
delete |
|
private |
Definition at line 5300 of file json.hpp.
Referenced by input_stream_adapter(), ~input_stream_adapter(), and get_character().
|
private |
Definition at line 5301 of file json.hpp.
Referenced by input_stream_adapter(), and get_character().