Template
|
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 |
Public Member Functions | |
iteration_proxy_value ()=default | |
iteration_proxy_value (IteratorType it, std::size_t array_index_=0) noexcept(std::is_nothrow_move_constructible< IteratorType >::value &&std::is_nothrow_default_constructible< string_type >::value) | |
iteration_proxy_value (iteration_proxy_value const &)=default | |
iteration_proxy_value & | operator= (iteration_proxy_value const &)=default |
iteration_proxy_value (iteration_proxy_value &&) noexcept(std::is_nothrow_move_constructible< IteratorType >::value &&std::is_nothrow_move_constructible< string_type >::value)=default | |
iteration_proxy_value & | operator= (iteration_proxy_value &&) noexcept(std::is_nothrow_move_assignable< IteratorType >::value &&std::is_nothrow_move_assignable< string_type >::value)=default |
~iteration_proxy_value ()=default | |
const iteration_proxy_value & | operator* () const |
dereference operator (needed for range-based for) | |
iteration_proxy_value & | operator++ () |
increment operator (needed for range-based for) | |
iteration_proxy_value | operator++ (int) & |
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_type & | key () const |
return key of the iterator | |
IteratorType::reference | value () const |
return value of the iterator | |
Detailed Description
template<typename IteratorType>
class detail::iteration_proxy_value< IteratorType >
class detail::iteration_proxy_value< IteratorType >
Member Typedef Documentation
◆ difference_type
template<typename IteratorType >
using detail::iteration_proxy_value< IteratorType >::difference_type = std::ptrdiff_t |
◆ iterator_category
template<typename IteratorType >
using detail::iteration_proxy_value< IteratorType >::iterator_category = std::input_iterator_tag |
◆ pointer
template<typename IteratorType >
using detail::iteration_proxy_value< IteratorType >::pointer = value_type * |
◆ reference
template<typename IteratorType >
using detail::iteration_proxy_value< IteratorType >::reference = value_type & |
◆ string_type
template<typename IteratorType >
using detail::iteration_proxy_value< IteratorType >::string_type = typename std::remove_cv< typename std::remove_reference<decltype( std::declval<IteratorType>().key() ) >::type >::type |
◆ value_type
template<typename IteratorType >
using detail::iteration_proxy_value< IteratorType >::value_type = iteration_proxy_value |
Constructor & Destructor Documentation
◆ iteration_proxy_value() [1/4]
template<typename IteratorType >
|
explicitdefault |
◆ iteration_proxy_value() [2/4]
template<typename IteratorType >
|
inlineexplicitnoexcept |
◆ iteration_proxy_value() [3/4]
template<typename IteratorType >
|
default |
◆ iteration_proxy_value() [4/4]
template<typename IteratorType >
|
defaultnoexcept |
◆ ~iteration_proxy_value()
template<typename IteratorType >
|
default |
Member Function Documentation
◆ key()
template<typename IteratorType >
|
inline |
◆ operator!=()
template<typename IteratorType >
|
inline |
◆ operator*()
template<typename IteratorType >
|
inline |
◆ operator++() [1/2]
template<typename IteratorType >
|
inline |
◆ operator++() [2/2]
template<typename IteratorType >
|
inline |
◆ operator=() [1/2]
template<typename IteratorType >
|
defaultnoexcept |
◆ operator=() [2/2]
template<typename IteratorType >
|
default |
◆ operator==()
template<typename IteratorType >
|
inline |
◆ value()
template<typename IteratorType >
|
inline |
The documentation for this class was generated from the following file:
- include/nlohmann/json.hpp
Generated by 1.9.8