LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "AssnsIter.h"
Public Types | |
using | iterator_category = std::random_access_iterator_tag |
using | value_type = art::AssnsNode< L, R, D > |
using | pointer = value_type const * |
using | reference = value_type const & |
using | difference_type = std::ptrdiff_t |
Public Member Functions | |
const_AssnsIter ()=default | |
const_AssnsIter (art::Assns< L, R, D > const &assns) | |
const_AssnsIter (art::Assns< L, R, D > const &assns, std::size_t const i) | |
reference | operator* () const |
pointer | operator-> () const |
const_AssnsIter< L, R, D, Dir > & | operator++ () |
const_AssnsIter< L, R, D, Dir > | operator++ (int) |
const_AssnsIter< L, R, D, Dir > & | operator-- () |
const_AssnsIter< L, R, D, Dir > | operator-- (int) |
bool | operator== (art::const_AssnsIter< L, R, D, Dir > const &iter) const |
bool | operator!= (art::const_AssnsIter< L, R, D, Dir > const &iter) const |
const_AssnsIter< L, R, D, Dir > & | operator+= (std::size_t i) |
const_AssnsIter< L, R, D, Dir > | operator+ (std::size_t i) const |
const_AssnsIter< L, R, D, Dir > & | operator-= (std::size_t i) |
const_AssnsIter< L, R, D, Dir > | operator- (std::size_t i) const |
std::size_t | operator- (art::const_AssnsIter< L, R, D, Dir > const &iter1) const |
value_type | operator[] (std::size_t i) const |
bool | operator< (art::const_AssnsIter< L, R, D, Dir > const &iter) const |
bool | operator<= (art::const_AssnsIter< L, R, D, Dir > const &iter) const |
bool | operator> (art::const_AssnsIter< L, R, D, Dir > const &iter) const |
bool | operator>= (art::const_AssnsIter< L, R, D, Dir > const &iter) const |
std::size_t | getIndex () const |
Private Attributes | |
art::Assns< L, R, D > const * | coll_ {nullptr} |
std::size_t | index_ {-1ull} |
AssnsNode< L, R, D > | node_ {} |
Definition at line 28 of file AssnsIter.h.
using art::const_AssnsIter< L, R, D, Dir >::difference_type = std::ptrdiff_t |
Definition at line 34 of file AssnsIter.h.
using art::const_AssnsIter< L, R, D, Dir >::iterator_category = std::random_access_iterator_tag |
Definition at line 30 of file AssnsIter.h.
using art::const_AssnsIter< L, R, D, Dir >::pointer = value_type const* |
Definition at line 32 of file AssnsIter.h.
using art::const_AssnsIter< L, R, D, Dir >::reference = value_type const& |
Definition at line 33 of file AssnsIter.h.
using art::const_AssnsIter< L, R, D, Dir >::value_type = art::AssnsNode<L, R, D> |
Definition at line 31 of file AssnsIter.h.
|
default |
|
inlineexplicit |
|
inlineexplicit |
Definition at line 40 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::index_, art::const_AssnsIter< L, R, D, Dir >::operator!=(), art::const_AssnsIter< L, R, D, Dir >::operator*(), art::const_AssnsIter< L, R, D, Dir >::operator+(), art::const_AssnsIter< L, R, D, Dir >::operator++(), art::const_AssnsIter< L, R, D, Dir >::operator+=(), art::const_AssnsIter< L, R, D, Dir >::operator-(), art::const_AssnsIter< L, R, D, Dir >::operator--(), art::const_AssnsIter< L, R, D, Dir >::operator-=(), art::const_AssnsIter< L, R, D, Dir >::operator->(), art::const_AssnsIter< L, R, D, Dir >::operator==(), art::const_AssnsIter< L, R, D, Dir >::operator>(), art::const_AssnsIter< L, R, D, Dir >::operator>=(), and art::const_AssnsIter< L, R, D, Dir >::operator[]().
|
inline |
bool art::const_AssnsIter< L, R, D, Dir >::operator!= | ( | art::const_AssnsIter< L, R, D, Dir > const & | iter | ) | const |
Definition at line 181 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::index_.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
art::const_AssnsIter< L, R, D, Dir >::reference art::const_AssnsIter< L, R, D, Dir >::operator* | ( | ) | const |
Definition at line 111 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::coll_, art::const_AssnsIter< L, R, D, Dir >::index_, and art::const_AssnsIter< L, R, D, Dir >::node_.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
art::const_AssnsIter< L, R, D, Dir > art::const_AssnsIter< L, R, D, Dir >::operator+ | ( | std::size_t | i | ) | const |
Definition at line 201 of file AssnsIter.h.
References tmp.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
art::const_AssnsIter< L, R, D, Dir > & art::const_AssnsIter< L, R, D, Dir >::operator++ | ( | ) |
Definition at line 135 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::index_.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
art::const_AssnsIter< L, R, D, Dir > art::const_AssnsIter< L, R, D, Dir >::operator++ | ( | int | ) |
Definition at line 144 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::index_, and tmp.
art::const_AssnsIter< L, R, D, Dir > & art::const_AssnsIter< L, R, D, Dir >::operator+= | ( | std::size_t | i | ) |
Definition at line 190 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::index_.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
art::const_AssnsIter< L, R, D, Dir > art::const_AssnsIter< L, R, D, Dir >::operator- | ( | std::size_t | i | ) | const |
Definition at line 222 of file AssnsIter.h.
References tmp.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
std::size_t art::const_AssnsIter< L, R, D, Dir >::operator- | ( | art::const_AssnsIter< L, R, D, Dir > const & | iter1 | ) | const |
Definition at line 232 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::index_.
art::const_AssnsIter< L, R, D, Dir > & art::const_AssnsIter< L, R, D, Dir >::operator-- | ( | ) |
Definition at line 154 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::index_.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
art::const_AssnsIter< L, R, D, Dir > art::const_AssnsIter< L, R, D, Dir >::operator-- | ( | int | ) |
Definition at line 162 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::index_, and tmp.
art::const_AssnsIter< L, R, D, Dir > & art::const_AssnsIter< L, R, D, Dir >::operator-= | ( | std::size_t | i | ) |
Definition at line 211 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::index_.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
art::const_AssnsIter< L, R, D, Dir >::pointer art::const_AssnsIter< L, R, D, Dir >::operator-> | ( | ) | const |
Definition at line 123 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::coll_, art::const_AssnsIter< L, R, D, Dir >::index_, and art::const_AssnsIter< L, R, D, Dir >::node_.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
bool art::const_AssnsIter< L, R, D, Dir >::operator< | ( | art::const_AssnsIter< L, R, D, Dir > const & | iter | ) | const |
Definition at line 251 of file AssnsIter.h.
References art::left(), r, and art::right().
bool art::const_AssnsIter< L, R, D, Dir >::operator<= | ( | art::const_AssnsIter< L, R, D, Dir > const & | iter | ) | const |
Definition at line 262 of file AssnsIter.h.
References art::left(), r, and art::right().
bool art::const_AssnsIter< L, R, D, Dir >::operator== | ( | art::const_AssnsIter< L, R, D, Dir > const & | iter | ) | const |
Definition at line 172 of file AssnsIter.h.
References art::const_AssnsIter< L, R, D, Dir >::index_.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
bool art::const_AssnsIter< L, R, D, Dir >::operator> | ( | art::const_AssnsIter< L, R, D, Dir > const & | iter | ) | const |
Definition at line 273 of file AssnsIter.h.
References art::left(), r, and art::right().
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
bool art::const_AssnsIter< L, R, D, Dir >::operator>= | ( | art::const_AssnsIter< L, R, D, Dir > const & | iter | ) | const |
Definition at line 284 of file AssnsIter.h.
References art::left(), r, and art::right().
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
art::const_AssnsIter< L, R, D, Dir >::value_type art::const_AssnsIter< L, R, D, Dir >::operator[] | ( | std::size_t | i | ) | const |
Definition at line 241 of file AssnsIter.h.
References tmp.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter().
|
private |
Definition at line 73 of file AssnsIter.h.
Referenced by art::const_AssnsIter< L, R, D, Dir >::operator*(), and art::const_AssnsIter< L, R, D, Dir >::operator->().
|
private |
Definition at line 74 of file AssnsIter.h.
Referenced by art::const_AssnsIter< L, R, D, Dir >::const_AssnsIter(), art::const_AssnsIter< L, R, D, Dir >::getIndex(), art::const_AssnsIter< L, R, D, Dir >::operator!=(), art::const_AssnsIter< L, R, D, Dir >::operator*(), art::const_AssnsIter< L, R, D, Dir >::operator++(), art::const_AssnsIter< L, R, D, Dir >::operator+=(), art::const_AssnsIter< L, R, D, Dir >::operator-(), art::const_AssnsIter< L, R, D, Dir >::operator--(), art::const_AssnsIter< L, R, D, Dir >::operator-=(), art::const_AssnsIter< L, R, D, Dir >::operator->(), and art::const_AssnsIter< L, R, D, Dir >::operator==().
|
mutableprivate |
Definition at line 75 of file AssnsIter.h.
Referenced by art::const_AssnsIter< L, R, D, Dir >::operator*(), and art::const_AssnsIter< L, R, D, Dir >::operator->().