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

## Public Member Functions

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

## Member Typedef Documentation

## difference_type [1/2]

template<typename IteratorType >

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

## difference_type [2/2]

template<typename IteratorType >

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

## iterator_category [1/2]

template<typename IteratorType >

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

## iterator_category [2/2]

template<typename IteratorType >

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

## pointer [1/2]

template<typename IteratorType >

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

## pointer [2/2]

template<typename IteratorType >

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

## reference [1/2]

template<typename IteratorType >

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

## reference [2/2]

template<typename IteratorType >

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

## string_type [1/2]

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

## string_type [2/2]

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

## value_type [1/2]

template<typename IteratorType >

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

## value_type [2/2]

template<typename IteratorType >

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

## Constructor & Destructor Documentation

## iteration_proxy_value() [1/2]

template<typename IteratorType >

nlohmann::detail::iteration_proxy_value< IteratorType >::iteration_proxy_value | ( | IteratorType | it | ) |

inlineexplicitnoexcept

## iteration_proxy_value() [2/2]

template<typename IteratorType >

nlohmann::detail::iteration_proxy_value< IteratorType >::iteration_proxy_value | ( | IteratorType | it | ) |

inlineexplicitnoexcept

## Member Function Documentation

## key() [1/2]

template<typename IteratorType >

const string_type& nlohmann::detail::iteration_proxy_value< IteratorType >::key | ( |  | ) | const

inline

return key of the iterator

## key() [2/2]

template<typename IteratorType >

const string_type& nlohmann::detail::iteration_proxy_value< IteratorType >::key | ( |  | ) | const

inline

return key of the iterator

## operator!=() [1/2]

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)

## operator!=() [2/2]

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)

## operator*() [1/2]

template<typename IteratorType >

iteration_proxy_value& nlohmann::detail::iteration_proxy_value< IteratorType >::operator* | ( |  | ) |

inline

dereference operator (needed for range-based for)

## operator*() [2/2]

template<typename IteratorType >

iteration_proxy_value& nlohmann::detail::iteration_proxy_value< IteratorType >::operator* | ( |  | ) |

inline

dereference operator (needed for range-based for)

## operator++() [1/2]

template<typename IteratorType >

iteration_proxy_value& nlohmann::detail::iteration_proxy_value< IteratorType >::operator++ | ( |  | ) |

inline

increment operator (needed for range-based for)

## operator++() [2/2]

template<typename IteratorType >

iteration_proxy_value& nlohmann::detail::iteration_proxy_value< IteratorType >::operator++ | ( |  | ) |

inline

increment operator (needed for range-based for)

## operator==() [1/2]

template<typename IteratorType >

bool nlohmann::detail::iteration_proxy_value< IteratorType >::operator== | ( | const iteration_proxy_value< IteratorType > & | o | ) | const

inline

equality operator (needed for InputIterator)

## operator==() [2/2]

template<typename IteratorType >

bool nlohmann::detail::iteration_proxy_value< IteratorType >::operator== | ( | const iteration_proxy_value< IteratorType > & | o | ) | const

inline

equality operator (needed for InputIterator)

## value() [1/2]

template<typename IteratorType >

IteratorType::reference nlohmann::detail::iteration_proxy_value< IteratorType >::value | ( |  | ) | const

inline

return value of the iterator

## value() [2/2]

template<typename IteratorType >

IteratorType::reference nlohmann::detail::iteration_proxy_value< IteratorType >::value | ( |  | ) | const

inline

return value of the iterator

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

- build/_deps/json-src/include/nlohmann/json.hpp