Flow123d  release_3.0.0-1008-gca43bb7
Public Member Functions | Private Attributes | List of all members
nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal Class Reference

helper class for iteration More...

Public Member Functions

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

Private Attributes

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

Detailed Description

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 = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
template<typename IteratorType>
class nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal

helper class for iteration

Definition at line 6183 of file json.hpp.

Constructor & Destructor Documentation

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 = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
template<typename IteratorType >
nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal::iteration_proxy_internal ( IteratorType  it)
inlineexplicitnoexcept

Definition at line 6192 of file json.hpp.

Member Function Documentation

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 = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
template<typename IteratorType >
basic_json::string_t nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal::key ( ) const
inline

return key of the iterator

Definition at line 6218 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 = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
template<typename IteratorType >
bool nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal::operator!= ( const iteration_proxy_internal o) const
inline

inequality operator (needed for range-based for)

Definition at line 6212 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 = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
template<typename IteratorType >
iteration_proxy_internal& nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal::operator* ( )
inline

dereference operator (needed for range-based for)

Definition at line 6197 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 = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
template<typename IteratorType >
iteration_proxy_internal& nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal::operator++ ( )
inline

increment operator (needed for range-based for)

Definition at line 6203 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 = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
template<typename IteratorType >
IteratorType::reference nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal::value ( ) const
inline

return value of the iterator

Definition at line 6245 of file json.hpp.

Member Data Documentation

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 = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
template<typename IteratorType >
IteratorType nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal::anchor
private

the iterator

Definition at line 6187 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 = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator>
template<typename IteratorType >
size_t nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::iteration_proxy_internal::array_index = 0
private

an index for arrays (used to create key names)

Definition at line 6189 of file json.hpp.


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