Public Member Functions | Private Attributes | List of all members
nlohmann::detail::iteration_proxy< IteratorType >::iteration_proxy_internal Class Reference

helper class for iteration More...

Public Member Functions

 iteration_proxy_internal (IteratorType it) noexcept
 
std::string key () const
 return key of the iterator More...
 
bool operator!= (const iteration_proxy_internal &o) const noexcept
 inequality operator (needed for range-based for) More...
 
iteration_proxy_internaloperator* ()
 dereference operator (needed for range-based for) More...
 
iteration_proxy_internaloperator++ ()
 increment operator (needed for range-based for) More...
 
IteratorType::reference value () const
 return value of the iterator More...
 

Private Attributes

IteratorType anchor
 the iterator More...
 
std::size_t array_index = 0
 an index for arrays (used to create key names) More...
 

Detailed Description

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

helper class for iteration

Definition at line 4507 of file json.hpp.

Constructor & Destructor Documentation

template<typename IteratorType>
nlohmann::detail::iteration_proxy< IteratorType >::iteration_proxy_internal::iteration_proxy_internal ( IteratorType  it)
inlineexplicitnoexcept

Definition at line 4516 of file json.hpp.

Member Function Documentation

template<typename IteratorType>
std::string nlohmann::detail::iteration_proxy< IteratorType >::iteration_proxy_internal::key ( ) const
inline

return key of the iterator

Definition at line 4540 of file json.hpp.

template<typename IteratorType>
bool nlohmann::detail::iteration_proxy< IteratorType >::iteration_proxy_internal::operator!= ( const iteration_proxy_internal o) const
inlinenoexcept

inequality operator (needed for range-based for)

Definition at line 4534 of file json.hpp.

template<typename IteratorType>
iteration_proxy_internal& nlohmann::detail::iteration_proxy< IteratorType >::iteration_proxy_internal::operator* ( )
inline

dereference operator (needed for range-based for)

Definition at line 4519 of file json.hpp.

template<typename IteratorType>
iteration_proxy_internal& nlohmann::detail::iteration_proxy< IteratorType >::iteration_proxy_internal::operator++ ( )
inline

increment operator (needed for range-based for)

Definition at line 4525 of file json.hpp.

template<typename IteratorType>
IteratorType::reference nlohmann::detail::iteration_proxy< IteratorType >::iteration_proxy_internal::value ( ) const
inline

return value of the iterator

Definition at line 4561 of file json.hpp.

Member Data Documentation

template<typename IteratorType>
IteratorType nlohmann::detail::iteration_proxy< IteratorType >::iteration_proxy_internal::anchor
private

the iterator

Definition at line 4511 of file json.hpp.

template<typename IteratorType>
std::size_t nlohmann::detail::iteration_proxy< IteratorType >::iteration_proxy_internal::array_index = 0
private

an index for arrays (used to create key names)

Definition at line 4513 of file json.hpp.


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


json_transport
Author(s): Paul Bovbel
autogenerated on Thu Jun 13 2019 19:12:24