ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
a template for a reverse iterator class More...
#include <acts/blob/master/thirdparty/nlohmann_json/single_include/nlohmann/json.hpp>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | base_iterator = std::reverse_iterator< Base > |
shortcut to the reverse iterator adapter | |
using | reference = typename Base::reference |
the reference type for the pointed-to element | |
Public Member Functions | |
json_reverse_iterator (const typename base_iterator::iterator_type &it) noexcept | |
create reverse iterator from iterator | |
json_reverse_iterator (const base_iterator &it) noexcept | |
create reverse iterator from base class | |
json_reverse_iterator const | operator++ (int) |
post-increment (it++) | |
json_reverse_iterator & | operator++ () |
pre-increment (++it) | |
json_reverse_iterator const | operator-- (int) |
post-decrement (it–) | |
json_reverse_iterator & | operator-- () |
pre-decrement (–it) | |
json_reverse_iterator & | operator+= (difference_type i) |
add to iterator | |
json_reverse_iterator | operator+ (difference_type i) const |
add to iterator | |
json_reverse_iterator | operator- (difference_type i) const |
subtract from iterator | |
difference_type | operator- (const json_reverse_iterator &other) const |
return difference | |
reference | operator[] (difference_type n) const |
access to successor | |
auto | key () const -> decltype(std::declval< Base >().key()) |
return the key of an object iterator | |
reference | value () const |
return the value of an iterator | |
a template for a reverse iterator class
Base | the base iterator type to reverse. Valid types are iterator (to create reverse_iterator) and const_iterator (to create const_reverse_iterator). |
The class satisfies the following concept requirements:
Definition at line 9982 of file json.hpp.
View newest version in sPHENIX GitHub at line 9982 of file json.hpp
using nlohmann::detail::json_reverse_iterator< Base >::base_iterator = std::reverse_iterator<Base> |
using nlohmann::detail::json_reverse_iterator< Base >::difference_type = std::ptrdiff_t |
using nlohmann::detail::json_reverse_iterator< Base >::reference = typename Base::reference |
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
|
inline |
|
inline |
add to iterator
Definition at line 10029 of file json.hpp.
View newest version in sPHENIX GitHub at line 10029 of file json.hpp
References operator+().
|
inline |
|
inline |
|
inline |
|
inline |
subtract from iterator
Definition at line 10035 of file json.hpp.
View newest version in sPHENIX GitHub at line 10035 of file json.hpp
References operator-().
|
inline |
|
inline |
|
inline |
|
inline |
access to successor
Definition at line 10047 of file json.hpp.
View newest version in sPHENIX GitHub at line 10047 of file json.hpp
References operator+().
|
inline |