EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nlohmann::detail::input_adapter Class Reference

#include <acts/blob/sPHENIX/thirdparty/nlohmann_json/single_include/nlohmann/json.hpp>

Public Member Functions

 input_adapter (std::FILE *file)
 
 input_adapter (std::istream &i)
 input adapter for input stream
 
 input_adapter (std::istream &&i)
 input adapter for input stream
 
 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 andstd::is_integral< typename std::remove_pointer< CharT >::type >::value andsizeof(typename std::remove_pointer< CharT >::type)==1, int >::type = 0>
 input_adapter (CharT b, std::size_t l)
 input adapter for buffer
 
template<typename CharT , typename std::enable_if< std::is_pointer< CharT >::value andstd::is_integral< typename std::remove_pointer< CharT >::type >::value andsizeof(typename std::remove_pointer< CharT >::type)==1, int >::type = 0>
 input_adapter (CharT b)
 input adapter for string literal
 
template<class IteratorType , typename std::enable_if< std::is_same< typename 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
 
template<class T , std::size_t N>
 input_adapter (T(&array)[N])
 input adapter for array
 
template<class ContiguousContainer , typename std::enable_if< not std::is_pointer< ContiguousContainer >::value andstd::is_base_of< std::random_access_iterator_tag, typename 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
 
 operator input_adapter_t ()
 

Private Attributes

input_adapter_t ia = nullptr
 the actual adapter
 

Detailed Description

Definition at line 4526 of file json.hpp.

View newest version in sPHENIX GitHub at line 4526 of file json.hpp

Constructor & Destructor Documentation

nlohmann::detail::input_adapter::input_adapter ( std::FILE *  file)
inline

Definition at line 4531 of file json.hpp.

View newest version in sPHENIX GitHub at line 4531 of file json.hpp

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

input adapter for input stream

Definition at line 4534 of file json.hpp.

View newest version in sPHENIX GitHub at line 4534 of file json.hpp

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

input adapter for input stream

Definition at line 4538 of file json.hpp.

View newest version in sPHENIX GitHub at line 4538 of file json.hpp

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

Definition at line 4541 of file json.hpp.

View newest version in sPHENIX GitHub at line 4541 of file json.hpp

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

Definition at line 4544 of file json.hpp.

View newest version in sPHENIX GitHub at line 4544 of file json.hpp

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

Definition at line 4547 of file json.hpp.

View newest version in sPHENIX GitHub at line 4547 of file json.hpp

template<typename CharT , typename std::enable_if< std::is_pointer< CharT >::value andstd::is_integral< typename std::remove_pointer< CharT >::type >::value andsizeof(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

Definition at line 4557 of file json.hpp.

View newest version in sPHENIX GitHub at line 4557 of file json.hpp

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

input adapter for string literal

Definition at line 4569 of file json.hpp.

View newest version in sPHENIX GitHub at line 4569 of file json.hpp

template<class IteratorType , typename std::enable_if< std::is_same< typename 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

Definition at line 4578 of file json.hpp.

View newest version in sPHENIX GitHub at line 4578 of file json.hpp

References JSON_HEDLEY_LIKELY.

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

input adapter for array

Definition at line 4613 of file json.hpp.

View newest version in sPHENIX GitHub at line 4613 of file json.hpp

template<class ContiguousContainer , typename std::enable_if< not std::is_pointer< ContiguousContainer >::value andstd::is_base_of< std::random_access_iterator_tag, typename 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

Definition at line 4621 of file json.hpp.

View newest version in sPHENIX GitHub at line 4621 of file json.hpp

Member Function Documentation

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

Definition at line 4624 of file json.hpp.

View newest version in sPHENIX GitHub at line 4624 of file json.hpp

Member Data Documentation

input_adapter_t nlohmann::detail::input_adapter::ia = nullptr
private

the actual adapter

Definition at line 4631 of file json.hpp.

View newest version in sPHENIX GitHub at line 4631 of file json.hpp


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