SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Private Attributes | List of all members
detail::iteration_proxy< IteratorType > Class Template Reference

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

#include <nlohmann_json.hpp>

Public Member Functions

 iteration_proxy (typename IteratorType::reference cont) noexcept
 construct iteration proxy from a container More...
 
 iteration_proxy (iteration_proxy const &)=default
 
iteration_proxyoperator= (iteration_proxy const &)=default
 
 iteration_proxy (iteration_proxy &&) noexcept=default
 
iteration_proxyoperator= (iteration_proxy &&) noexcept=default
 
iteration_proxy_value< IteratorType > begin () const noexcept
 return iterator begin (needed for range-based for) More...
 
iteration_proxy_value< IteratorType > end () const noexcept
 return iterator end (needed for range-based for) More...
 

Private Attributes

IteratorType::pointer container = nullptr
 the container to iterate More...
 

Detailed Description

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

proxy class for the items() function

Definition at line 5239 of file nlohmann_json.hpp.

Constructor & Destructor Documentation

◆ iteration_proxy()

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

construct iteration proxy from a container

Definition at line 5249 of file nlohmann_json.hpp.

Member Function Documentation

◆ begin()

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

return iterator begin (needed for range-based for)

Definition at line 5259 of file nlohmann_json.hpp.

◆ end()

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

return iterator end (needed for range-based for)

Definition at line 5265 of file nlohmann_json.hpp.

Member Data Documentation

◆ container

template<typename IteratorType >
IteratorType::pointer detail::iteration_proxy< IteratorType >::container = nullptr
private

the container to iterate

Definition at line 5243 of file nlohmann_json.hpp.


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