template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
class nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator
Definition at line 2745 of file json.hpp.
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::const_iterator |
( |
| ) |
|
|
inlinedefault |
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::const_iterator |
( |
pointer |
object | ) |
|
|
inlinenoexcept |
Definition at line 2766 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
2772 m_it.object_iterator =
typename object_t::const_iterator();
2777 m_it.array_iterator =
typename array_t::const_iterator();
2782 m_it.generic_iterator = -1;
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::const_iterator |
( |
const iterator & |
other | ) |
|
|
inlinenoexcept |
Definition at line 2789 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
2795 m_it.object_iterator = other.m_it.object_iterator;
2801 m_it.array_iterator = other.m_it.array_iterator;
2807 m_it.generic_iterator = other.m_it.generic_iterator;
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::const_iterator |
( |
const const_iterator & |
other | ) |
|
|
inlinenoexcept |
Definition at line 2814 of file json.hpp.
pointer m_object
associated JSON instance
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
object_t::key_type nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::key |
( |
| ) |
const |
|
inline |
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
bool nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator!= |
( |
const const_iterator & |
other | ) |
const |
|
inline |
Definition at line 3095 of file json.hpp.
bool operator==(const const_iterator &other) const
comparison: equal
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
reference nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator* |
( |
| ) |
const |
|
inline |
Definition at line 2892 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::null, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
2898 return m_it.object_iterator->second;
2903 return *
m_it.array_iterator;
2908 throw std::out_of_range(
"cannot get value");
2913 if (
m_it.generic_iterator == 0)
2919 throw std::out_of_range(
"cannot get value");
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 3180 of file json.hpp.
3182 auto result = *
this;
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 2955 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
2957 auto result = *
this;
2963 m_it.object_iterator++;
2969 m_it.array_iterator++;
2975 m_it.generic_iterator++;
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 2984 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
2990 ++
m_it.object_iterator;
2996 ++
m_it.array_iterator;
3002 ++
m_it.generic_iterator;
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 3147 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
3153 throw std::domain_error(
"cannot use operator+= for object iterators");
3159 m_it.array_iterator += i;
3165 m_it.generic_iterator += i;
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 3188 of file json.hpp.
3190 auto result = *
this;
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 3196 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::m_it, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
3202 throw std::domain_error(
"cannot use operator- for object iterators");
3207 return m_it.array_iterator - other.m_it.array_iterator;
3212 return m_it.generic_iterator - other.m_it.generic_iterator;
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 3011 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
3013 auto result = *
this;
3019 m_it.object_iterator--;
3025 m_it.array_iterator--;
3031 m_it.generic_iterator--;
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 3040 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
3046 --
m_it.object_iterator;
3052 --
m_it.array_iterator;
3058 --
m_it.generic_iterator;
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 3174 of file json.hpp.
const_iterator & operator+=(difference_type i)
add to iterator
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
pointer nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator-> |
( |
| ) |
const |
|
inline |
Definition at line 2926 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
2932 return &(
m_it.object_iterator->second);
2937 return &*
m_it.array_iterator;
2942 if (
m_it.generic_iterator == 0)
2948 throw std::out_of_range(
"cannot get value");
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
bool nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator< |
( |
const const_iterator & |
other | ) |
const |
|
inline |
Definition at line 3101 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::m_it, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::m_object, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
3106 throw std::domain_error(
"cannot compare iterators of different containers");
3113 throw std::domain_error(
"cannot use operator< for object iterators");
3118 return (
m_it.array_iterator < other.m_it.array_iterator);
3123 return (
m_it.generic_iterator < other.m_it.generic_iterator);
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
bool nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator<= |
( |
const const_iterator & |
other | ) |
const |
|
inline |
Definition at line 3129 of file json.hpp.
3131 return not other.operator < (*this);
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 2819 of file json.hpp.
References std::swap().
pointer m_object
associated JSON instance
void swap(nlohmann::json &j1, nlohmann::json &j2) noexcept(is_nothrow_move_constructible< nlohmann::json >::value andis_nothrow_move_assignable< nlohmann::json >::value)
exchanges the values of two JSON objects
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
bool nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator== |
( |
const const_iterator & |
other | ) |
const |
|
inline |
Definition at line 3067 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::m_it, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::m_object, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
3072 throw std::domain_error(
"cannot compare iterators of different containers");
3079 return (
m_it.object_iterator == other.m_it.object_iterator);
3084 return (
m_it.array_iterator == other.m_it.array_iterator);
3089 return (
m_it.generic_iterator == other.m_it.generic_iterator);
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
bool nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator> |
( |
const const_iterator & |
other | ) |
const |
|
inline |
Definition at line 3135 of file json.hpp.
bool operator<=(const const_iterator &other) const
comparison: less than or equal
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
bool nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator>= |
( |
const const_iterator & |
other | ) |
const |
|
inline |
Definition at line 3141 of file json.hpp.
bool operator<(const const_iterator &other) const
comparison: smaller
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
Definition at line 3218 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::null, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
3224 throw std::domain_error(
"cannot use operator[] for object iterators");
3229 return *(
m_it.array_iterator + n);
3234 throw std::out_of_range(
"cannot get value");
3239 if (
m_it.generic_iterator == -n)
3245 throw std::out_of_range(
"cannot get value");
value_t m_type
the type of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
void nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::set_begin |
( |
| ) |
|
|
inlineprivatenoexcept |
Definition at line 2834 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::null, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
Referenced by nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::begin(), and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::cbegin().
2853 m_it.generic_iterator = 1;
2859 m_it.generic_iterator = 0;
value_t m_type
the type of the current element
object_t * object
object (stored with pointer to save storage)
json_value m_value
the value of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
array_t * array
array (stored with pointer to save storage)
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
void nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::set_end |
( |
| ) |
|
|
inlineprivatenoexcept |
Definition at line 2866 of file json.hpp.
References nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::array, and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::object.
Referenced by nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::cend(), and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::end().
2884 m_it.generic_iterator = 1;
value_t m_type
the type of the current element
object_t * object
object (stored with pointer to save storage)
json_value m_value
the value of the current element
pointer m_object
associated JSON instance
array (ordered collection of values)
object (unordered set of name/value pairs)
internal_iterator< typename array_t::const_iterator, typename object_t::const_iterator > m_it
the actual iterator of the associated instance
array_t * array
array (stored with pointer to save storage)
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
reference nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::value |
( |
| ) |
const |
|
inline |
Definition at line 3269 of file json.hpp.
reference operator*() const
return a reference to the value pointed to by the iterator
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
internal_iterator<typename array_t::const_iterator, typename object_t::const_iterator> nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::m_it |
|
private |
Definition at line 3278 of file json.hpp.
Referenced by nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator-(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator<(), and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator==().
template<template< typename U, typename V, typename...Args > class ObjectType = std::map, template< typename U, typename...Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = int64_t, class NumberFloatType = double, template< typename U > class Allocator = std::allocator>
pointer nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::m_object = nullptr |
|
private |
Definition at line 3276 of file json.hpp.
Referenced by nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator<(), and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberFloatType, Allocator >::const_iterator::operator==().