Simox  2.3.74.0
nlohmann::detail::input_adapter Class Reference

Public Member Functions

 input_adapter (std::istream &i)
 input adapter for input stream More...
 
 input_adapter (std::istream &&i)
 input adapter for input stream More...
 
 input_adapter (const std::wstring &ws)
 
 input_adapter (const std::u16string &ws)
 
 input_adapter (const std::u32string &ws)
 
template<typename CharT , typename std::enable_if< std::is_pointer< CharT >::value and std::is_integral< typename std::remove_pointer< CharT >::type >::value and sizeof(typename std::remove_pointer< CharT >::type)==1, int >::type = 0>
 input_adapter (CharT b, std::size_t l)
 input adapter for buffer More...
 
template<typename CharT , typename std::enable_if< std::is_pointer< CharT >::value and std::is_integral< typename std::remove_pointer< CharT >::type >::value and sizeof(typename std::remove_pointer< CharT >::type)==1, int >::type = 0>
 input_adapter (CharT b)
 input adapter for string literal More...
 
template<class IteratorType , typename std::enable_if< std::is_same< typename std::iterator_traits< IteratorType >::iterator_category, std::random_access_iterator_tag >::value, int >::type = 0>
 input_adapter (IteratorType first, IteratorType last)
 input adapter for iterator range with contiguous storage More...
 
template<class T , std::size_t N>
 input_adapter (T(&array)[N])
 input adapter for array More...
 
template<class ContiguousContainer , typename std::enable_if< not std::is_pointer< ContiguousContainer >::value and std::is_base_of< std::random_access_iterator_tag, typename std::iterator_traits< decltype(std::begin(std::declval< ContiguousContainer const >()))>::iterator_category >::value, int >::type = 0>
 input_adapter (const ContiguousContainer &c)
 input adapter for contiguous container More...
 
 operator input_adapter_t ()
 

Constructor & Destructor Documentation

◆ input_adapter() [1/10]

nlohmann::detail::input_adapter::input_adapter ( std::istream &  i)
inline

input adapter for input stream

◆ input_adapter() [2/10]

nlohmann::detail::input_adapter::input_adapter ( std::istream &&  i)
inline

input adapter for input stream

◆ input_adapter() [3/10]

nlohmann::detail::input_adapter::input_adapter ( const std::wstring &  ws)
inline

◆ input_adapter() [4/10]

nlohmann::detail::input_adapter::input_adapter ( const std::u16string &  ws)
inline

◆ input_adapter() [5/10]

nlohmann::detail::input_adapter::input_adapter ( const std::u32string &  ws)
inline

◆ input_adapter() [6/10]

template<typename CharT , typename std::enable_if< std::is_pointer< CharT >::value and std::is_integral< typename std::remove_pointer< CharT >::type >::value and sizeof(typename std::remove_pointer< CharT >::type)==1, int >::type = 0>
nlohmann::detail::input_adapter::input_adapter ( CharT  b,
std::size_t  l 
)
inline

input adapter for buffer

◆ input_adapter() [7/10]

template<typename CharT , typename std::enable_if< std::is_pointer< CharT >::value and std::is_integral< typename std::remove_pointer< CharT >::type >::value and sizeof(typename std::remove_pointer< CharT >::type)==1, int >::type = 0>
nlohmann::detail::input_adapter::input_adapter ( CharT  b)
inline

input adapter for string literal

◆ input_adapter() [8/10]

template<class IteratorType , typename std::enable_if< std::is_same< typename std::iterator_traits< IteratorType >::iterator_category, std::random_access_iterator_tag >::value, int >::type = 0>
nlohmann::detail::input_adapter::input_adapter ( IteratorType  first,
IteratorType  last 
)
inline

input adapter for iterator range with contiguous storage

◆ input_adapter() [9/10]

template<class T , std::size_t N>
nlohmann::detail::input_adapter::input_adapter ( T(&)  array[N])
inline

input adapter for array

◆ input_adapter() [10/10]

template<class ContiguousContainer , typename std::enable_if< not std::is_pointer< ContiguousContainer >::value and std::is_base_of< std::random_access_iterator_tag, typename std::iterator_traits< decltype(std::begin(std::declval< ContiguousContainer const >()))>::iterator_category >::value, int >::type = 0>
nlohmann::detail::input_adapter::input_adapter ( const ContiguousContainer &  c)
inline

input adapter for contiguous container

Member Function Documentation

◆ operator input_adapter_t()

nlohmann::detail::input_adapter::operator input_adapter_t ( )
inline