BmnRoot
Loading...
Searching...
No Matches
nlohmann::detail::iteration_proxy_value< IteratorType > Class Template Reference

#include <json.hpp>

Public Types

using difference_type = std::ptrdiff_t
 
using value_type = iteration_proxy_value
 
using pointer = value_type *
 
using reference = value_type &
 
using iterator_category = std::input_iterator_tag
 
using string_type = typename std::remove_cv< typename std::remove_reference< decltype(std::declval< IteratorType >().key()) >::type >::type
 
using difference_type = std::ptrdiff_t
 
using value_type = iteration_proxy_value
 
using pointer = value_type *
 
using reference = value_type &
 
using iterator_category = std::input_iterator_tag
 
using string_type = typename std::remove_cv< typename std::remove_reference< decltype(std::declval< IteratorType >().key()) >::type >::type
 
using difference_type = std::ptrdiff_t
 
using value_type = iteration_proxy_value
 
using pointer = value_type *
 
using reference = value_type &
 
using iterator_category = std::input_iterator_tag
 
using string_type = typename std::remove_cv< typename std::remove_reference< decltype(std::declval< IteratorType >().key()) >::type >::type
 

Public Member Functions

 iteration_proxy_value (IteratorType it) noexcept
 
iteration_proxy_valueoperator* ()
 dereference operator (needed for range-based for)
 
iteration_proxy_valueoperator++ ()
 increment operator (needed for range-based for)
 
bool operator== (const iteration_proxy_value &o) const
 equality operator (needed for InputIterator)
 
bool operator!= (const iteration_proxy_value &o) const
 inequality operator (needed for range-based for)
 
const string_typekey () const
 return key of the iterator
 
IteratorType::reference value () const
 return value of the iterator
 
 iteration_proxy_value (IteratorType it) noexcept
 
iteration_proxy_valueoperator* ()
 dereference operator (needed for range-based for)
 
iteration_proxy_valueoperator++ ()
 increment operator (needed for range-based for)
 
bool operator== (const iteration_proxy_value &o) const
 equality operator (needed for InputIterator)
 
bool operator!= (const iteration_proxy_value &o) const
 inequality operator (needed for range-based for)
 
const string_typekey () const
 return key of the iterator
 
IteratorType::reference value () const
 return value of the iterator
 
 iteration_proxy_value (IteratorType it) noexcept
 
iteration_proxy_valueoperator* ()
 dereference operator (needed for range-based for)
 
iteration_proxy_valueoperator++ ()
 increment operator (needed for range-based for)
 
bool operator== (const iteration_proxy_value &o) const
 equality operator (needed for InputIterator)
 
bool operator!= (const iteration_proxy_value &o) const
 inequality operator (needed for range-based for)
 
const string_typekey () const
 return key of the iterator
 
IteratorType::reference value () const
 return value of the iterator
 

Detailed Description

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

Definition at line 4326 of file json.hpp.

Member Typedef Documentation

◆ difference_type [1/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::difference_type = std::ptrdiff_t

Definition at line 4329 of file json.hpp.

◆ difference_type [2/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::difference_type = std::ptrdiff_t

Definition at line 4329 of file json.hpp.

◆ difference_type [3/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::difference_type = std::ptrdiff_t

Definition at line 4329 of file json.hpp.

◆ iterator_category [1/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::iterator_category = std::input_iterator_tag

Definition at line 4333 of file json.hpp.

◆ iterator_category [2/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::iterator_category = std::input_iterator_tag

Definition at line 4333 of file json.hpp.

◆ iterator_category [3/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::iterator_category = std::input_iterator_tag

Definition at line 4333 of file json.hpp.

◆ pointer [1/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::pointer = value_type *

Definition at line 4331 of file json.hpp.

◆ pointer [2/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::pointer = value_type *

Definition at line 4331 of file json.hpp.

◆ pointer [3/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::pointer = value_type *

Definition at line 4331 of file json.hpp.

◆ reference [1/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::reference = value_type &

Definition at line 4332 of file json.hpp.

◆ reference [2/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::reference = value_type &

Definition at line 4332 of file json.hpp.

◆ reference [3/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::reference = value_type &

Definition at line 4332 of file json.hpp.

◆ string_type [1/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::string_type = typename std::remove_cv< typename std::remove_reference<decltype( std::declval<IteratorType>().key() ) >::type >::type

Definition at line 4334 of file json.hpp.

◆ string_type [2/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::string_type = typename std::remove_cv< typename std::remove_reference<decltype( std::declval<IteratorType>().key() ) >::type >::type

Definition at line 4334 of file json.hpp.

◆ string_type [3/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::string_type = typename std::remove_cv< typename std::remove_reference<decltype( std::declval<IteratorType>().key() ) >::type >::type

Definition at line 4334 of file json.hpp.

◆ value_type [1/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::value_type = iteration_proxy_value

Definition at line 4330 of file json.hpp.

◆ value_type [2/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::value_type = iteration_proxy_value

Definition at line 4330 of file json.hpp.

◆ value_type [3/3]

template<typename IteratorType >
using nlohmann::detail::iteration_proxy_value< IteratorType >::value_type = iteration_proxy_value

Definition at line 4330 of file json.hpp.

Constructor & Destructor Documentation

◆ iteration_proxy_value() [1/3]

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

Definition at line 4349 of file json.hpp.

◆ iteration_proxy_value() [2/3]

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

Definition at line 4349 of file json.hpp.

◆ iteration_proxy_value() [3/3]

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

Definition at line 4349 of file json.hpp.

Member Function Documentation

◆ key() [1/3]

◆ key() [2/3]

◆ key() [3/3]

◆ operator!=() [1/3]

template<typename IteratorType >
bool nlohmann::detail::iteration_proxy_value< IteratorType >::operator!= ( const iteration_proxy_value< IteratorType > &  o) const
inline

inequality operator (needed for range-based for)

Definition at line 4375 of file json.hpp.

◆ operator!=() [2/3]

template<typename IteratorType >
bool nlohmann::detail::iteration_proxy_value< IteratorType >::operator!= ( const iteration_proxy_value< IteratorType > &  o) const
inline

inequality operator (needed for range-based for)

Definition at line 4375 of file json.hpp.

◆ operator!=() [3/3]

template<typename IteratorType >
bool nlohmann::detail::iteration_proxy_value< IteratorType >::operator!= ( const iteration_proxy_value< IteratorType > &  o) const
inline

inequality operator (needed for range-based for)

Definition at line 4375 of file json.hpp.

◆ operator*() [1/3]

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

dereference operator (needed for range-based for)

Definition at line 4354 of file json.hpp.

◆ operator*() [2/3]

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

dereference operator (needed for range-based for)

Definition at line 4354 of file json.hpp.

◆ operator*() [3/3]

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

dereference operator (needed for range-based for)

Definition at line 4354 of file json.hpp.

◆ operator++() [1/3]

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

increment operator (needed for range-based for)

Definition at line 4360 of file json.hpp.

◆ operator++() [2/3]

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

increment operator (needed for range-based for)

Definition at line 4360 of file json.hpp.

◆ operator++() [3/3]

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

increment operator (needed for range-based for)

Definition at line 4360 of file json.hpp.

◆ operator==() [1/3]

template<typename IteratorType >
bool nlohmann::detail::iteration_proxy_value< IteratorType >::operator== ( const iteration_proxy_value< IteratorType > &  o) const
inline

equality operator (needed for InputIterator)

Definition at line 4369 of file json.hpp.

◆ operator==() [2/3]

template<typename IteratorType >
bool nlohmann::detail::iteration_proxy_value< IteratorType >::operator== ( const iteration_proxy_value< IteratorType > &  o) const
inline

equality operator (needed for InputIterator)

Definition at line 4369 of file json.hpp.

◆ operator==() [3/3]

template<typename IteratorType >
bool nlohmann::detail::iteration_proxy_value< IteratorType >::operator== ( const iteration_proxy_value< IteratorType > &  o) const
inline

equality operator (needed for InputIterator)

Definition at line 4369 of file json.hpp.

◆ value() [1/3]

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

return value of the iterator

Definition at line 4417 of file json.hpp.

◆ value() [2/3]

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

return value of the iterator

Definition at line 4417 of file json.hpp.

◆ value() [3/3]

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

return value of the iterator

Definition at line 4417 of file json.hpp.


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