xrootd
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
nlohmann::detail::iteration_proxy< IteratorType > Class Template Reference

proxy class for the items() function More...

#include <XrdOucJson.hh>

Public Member Functions

 iteration_proxy (typename IteratorType::reference cont) noexcept
 construct iteration proxy from a container
 
iteration_proxy_value< IteratorType > begin () noexcept
 return iterator begin (needed for range-based for)
 
iteration_proxy_value< IteratorType > end () noexcept
 return iterator end (needed for range-based for)
 

Private Attributes

IteratorType::reference container
 the container to iterate
 

Detailed Description

template<typename IteratorType>
class nlohmann::detail::iteration_proxy< IteratorType >

proxy class for the items() function

Constructor & Destructor Documentation

◆ iteration_proxy()

template<typename IteratorType >
nlohmann::detail::iteration_proxy< IteratorType >::iteration_proxy ( typename IteratorType::reference  cont)
inlineexplicitnoexcept

construct iteration proxy from a container

Member Function Documentation

◆ begin()

template<typename IteratorType >
iteration_proxy_value< IteratorType > nlohmann::detail::iteration_proxy< IteratorType >::begin ( )
inlinenoexcept

return iterator begin (needed for range-based for)

References nlohmann::detail::iteration_proxy< IteratorType >::container.

◆ end()

template<typename IteratorType >
iteration_proxy_value< IteratorType > nlohmann::detail::iteration_proxy< IteratorType >::end ( )
inlinenoexcept

return iterator end (needed for range-based for)

References nlohmann::detail::iteration_proxy< IteratorType >::container.

Member Data Documentation

◆ container

template<typename IteratorType >
IteratorType::reference nlohmann::detail::iteration_proxy< IteratorType >::container
private

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