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

proxy class for the iterator_wrapper functions More...

Classes

class  iteration_proxy_internal
 helper class for iteration More...
 

Public Member Functions

 iteration_proxy (typename IteratorType::reference cont)
 construct iteration proxy from a container More...
 
iteration_proxy_internal begin () noexcept
 return iterator begin (needed for range-based for) More...
 
iteration_proxy_internal end () noexcept
 return iterator end (needed for range-based for) More...
 

Private Attributes

IteratorType::reference container
 the container to iterate 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 >

proxy class for the iterator_wrapper functions

Definition at line 4352 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 ( typename IteratorType::reference  cont)
inlineexplicit

construct iteration proxy from a container

Definition at line 6256 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 >
iteration_proxy_internal nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::begin ( )
inlinenoexcept

return iterator begin (needed for range-based for)

Definition at line 6261 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 >::end ( )
inlinenoexcept

return iterator end (needed for range-based for)

Definition at line 6267 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::reference nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType >::iteration_proxy< IteratorType >::container
private

the container to iterate

Definition at line 6252 of file json.hpp.


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