BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
nlohmann::detail::json_reverse_iterator< Base > Class Template Reference

#include <json.hpp>

Inheritance diagram for nlohmann::detail::json_reverse_iterator< Base >:
Collaboration diagram for nlohmann::detail::json_reverse_iterator< Base >:

Public Types

using difference_type = std::ptrdiff_t
using base_iterator = std::reverse_iterator<Base>
using reference = typename Base::reference

Public Member Functions

*create reverse iterator from iterator json_reverse_iterator (const typename base_iterator::iterator_type &it) noexcept
*create reverse iterator from base class explicit json_reverse_iterator (const base_iterator &it) noexcept
*post increment (it++) json_reverse_iterator const operator++(int)
*pre increment (++it) json_reverse_iterator &operator++()
*post decrement (it--) json_reverse_iterator const operator--(int)
*pre decrement (--it) json_reverse_iterator &operator--()
*add to iterator json_reverse_iterator & operator+= (difference_type i)
*add to iterator json_reverse_iterator operator+ (difference_type i) const
*subtract from iterator json_reverse_iterator operator- (difference_type i) const
*return difference difference_type operator- (const json_reverse_iterator &other) const
*access to successor reference operator[] (difference_type n) const
*return the key of an object iterator auto key () const -> decltype(std::declval< Base >().key())
*return the value of an iterator reference value () const

Detailed Description

template<typename Base>
class nlohmann::detail::json_reverse_iterator< Base >

Definition at line 11662 of file json.hpp.

Member Typedef Documentation

◆ base_iterator

template<typename Base>
using nlohmann::detail::json_reverse_iterator< Base >::base_iterator = std::reverse_iterator<Base>

Definition at line 11667 of file json.hpp.

◆ difference_type

template<typename Base>
using nlohmann::detail::json_reverse_iterator< Base >::difference_type = std::ptrdiff_t

Definition at line 11665 of file json.hpp.

◆ reference

template<typename Base>
using nlohmann::detail::json_reverse_iterator< Base >::reference = typename Base::reference

Definition at line 11669 of file json.hpp.

Constructor & Destructor Documentation

◆ json_reverse_iterator() [1/2]

template<typename Base>
*create reverse iterator from iterator nlohmann::detail::json_reverse_iterator< Base >::json_reverse_iterator ( const typename base_iterator::iterator_type & it)
inlineexplicitnoexcept

Definition at line 11672 of file json.hpp.

◆ json_reverse_iterator() [2/2]

template<typename Base>
*create reverse iterator from base class explicit nlohmann::detail::json_reverse_iterator< Base >::json_reverse_iterator ( const base_iterator & it)
inlinenoexcept

Definition at line 11677 of file json.hpp.

Member Function Documentation

◆ decrement() [1/2]

template<typename Base>
*pre nlohmann::detail::json_reverse_iterator< Base >::decrement ( -- it) &
inline

Definition at line 11696 of file json.hpp.

◆ decrement() [2/2]

template<typename Base>
*post nlohmann::detail::json_reverse_iterator< Base >::decrement ( it-- ) const
inline

Definition at line 11690 of file json.hpp.

◆ increment() [1/2]

template<typename Base>
*pre nlohmann::detail::json_reverse_iterator< Base >::increment ( ++ it) &
inline

Definition at line 11687 of file json.hpp.

◆ increment() [2/2]

template<typename Base>
*post nlohmann::detail::json_reverse_iterator< Base >::increment ( it++ ) const
inline

Definition at line 11681 of file json.hpp.

◆ key()

template<typename Base>
*return the key of an object iterator auto nlohmann::detail::json_reverse_iterator< Base >::key ( ) const -> decltype(std::declval< Base >().key())
inline

Definition at line 11727 of file json.hpp.

◆ operator+()

template<typename Base>
*add to iterator json_reverse_iterator nlohmann::detail::json_reverse_iterator< Base >::operator+ ( difference_type i) const
inline

Definition at line 11706 of file json.hpp.

◆ operator+=()

template<typename Base>
*add to iterator json_reverse_iterator & nlohmann::detail::json_reverse_iterator< Base >::operator+= ( difference_type i)
inline

Definition at line 11700 of file json.hpp.

◆ operator-() [1/2]

template<typename Base>
*return difference difference_type nlohmann::detail::json_reverse_iterator< Base >::operator- ( const json_reverse_iterator< Base > & other) const
inline

Definition at line 11718 of file json.hpp.

◆ operator-() [2/2]

template<typename Base>
*subtract from iterator json_reverse_iterator nlohmann::detail::json_reverse_iterator< Base >::operator- ( difference_type i) const
inline

Definition at line 11712 of file json.hpp.

◆ operator[]()

template<typename Base>
*access to successor reference nlohmann::detail::json_reverse_iterator< Base >::operator[] ( difference_type n) const
inline

Definition at line 11724 of file json.hpp.

◆ value()

template<typename Base>
*return the value of an iterator reference nlohmann::detail::json_reverse_iterator< Base >::value ( ) const
inline

Definition at line 11734 of file json.hpp.


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