TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ get()

template<typename BasicJsonType , typename InputAdapterType , typename SAX = json_sax_dom_parser<BasicJsonType>>
char_int_type nlohmann::detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::get ( )
inlineprivate

get next character from the input

This function provides the interface to the used input adapter. It does not throw in case the input reached EOF, but returns a -'ve valued std::char_traits<char_type>::eof() in that case.

Returns
character read from the input

Definition at line 10769 of file json.hpp.

10770 {
10771 ++chars_read;
10772 return current = ia.get_character();
10773 }
InputAdapterType ia
input adapter
Definition: json.hpp:10975
std::size_t chars_read
the number of characters read
Definition: json.hpp:10981
char_int_type current
the current character
Definition: json.hpp:10978