PeriDyno 1.2.1
Loading...
Searching...
No Matches
detail::iteration_proxy< IteratorType > Class Template Reference

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

#include <json.hpp>

Public Member Functions

 iteration_proxy ()=default
 
 iteration_proxy (typename IteratorType::reference cont) noexcept
 construct iteration proxy from a container
 
 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 ()=default
 
iteration_proxy_value< IteratorType > begin () const noexcept
 return iterator begin (needed for range-based for)
 
iteration_proxy_value< IteratorType > end () const noexcept
 return iterator end (needed for range-based for)
 

Private Attributes

IteratorType::pointer container = nullptr
 the container to iterate
 

Detailed Description

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

proxy class for the items() function

Definition at line 5307 of file json.hpp.

Constructor & Destructor Documentation

◆ iteration_proxy() [1/4]

template<typename IteratorType>
detail::iteration_proxy< IteratorType >::iteration_proxy ( )
explicitdefault
Here is the caller graph for this function:

◆ iteration_proxy() [2/4]

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

construct iteration proxy from a container

Definition at line 5317 of file json.hpp.

◆ iteration_proxy() [3/4]

template<typename IteratorType>
detail::iteration_proxy< IteratorType >::iteration_proxy ( iteration_proxy< IteratorType > const & )
default
Here is the call graph for this function:

◆ iteration_proxy() [4/4]

template<typename IteratorType>
detail::iteration_proxy< IteratorType >::iteration_proxy ( iteration_proxy< IteratorType > && )
defaultnoexcept
Here is the call graph for this function:

◆ ~iteration_proxy()

template<typename IteratorType>
detail::iteration_proxy< IteratorType >::~iteration_proxy ( )
default
Here is the call graph for this function:

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 5327 of file json.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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 5333 of file json.hpp.

◆ operator=() [1/2]

template<typename IteratorType>
iteration_proxy & detail::iteration_proxy< IteratorType >::operator= ( iteration_proxy< IteratorType > && )
defaultnoexcept
Here is the call graph for this function:

◆ operator=() [2/2]

template<typename IteratorType>
iteration_proxy & detail::iteration_proxy< IteratorType >::operator= ( iteration_proxy< IteratorType > const & )
default
Here is the call graph for this function:

Member Data Documentation

◆ container

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

the container to iterate

Definition at line 5311 of file json.hpp.


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