Iterates over an index; the REFERENCE is defined by the REFERENCE template parameter.
Derived classes are expected to implement const REFERENCE& operator*()
and const POINTER operator->()
.
Definition at line 35 of file RIndexIter.hxx.
Public Member Functions | |
RIndexIter (size_t idx) | |
size_t | GetIndex () const noexcept |
Get the current index value. More... | |
Index modifiers | |
++i | |
RIndexIter & | operator++ () noexcept |
RIndexIter & | operator-- () noexcept |
–i More... | |
RIndexIter | operator++ (int) noexcept |
i++ More... | |
RIndexIter | operator-- (int) noexcept |
RIndexIter & | operator+= (int d) noexcept |
RIndexIter & | operator-= (int d) noexcept |
RIndexIter | operator+ (int d) noexcept |
RIndexIter | operator- (int d) noexcept |
Static Protected Attributes | |
static constexpr size_t | fgEndIndex = (size_t)-1 |
Private Attributes | |
size_t | fIndex |
#include <ROOT/RIndexIter.hxx>
|
inline |
Definition at line 42 of file RIndexIter.hxx.
|
inlinenoexcept |
Get the current index value.
Definition at line 45 of file RIndexIter.hxx.
|
inlinenoexcept |
Definition at line 96 of file RIndexIter.hxx.
|
inlinenoexcept |
Definition at line 50 of file RIndexIter.hxx.
|
inlinenoexcept |
i++
Definition at line 65 of file RIndexIter.hxx.
|
inlinenoexcept |
Definition at line 80 of file RIndexIter.hxx.
|
inlinenoexcept |
Definition at line 103 of file RIndexIter.hxx.
|
inlinenoexcept |
–i
Definition at line 57 of file RIndexIter.hxx.
|
inlinenoexcept |
Definition at line 73 of file RIndexIter.hxx.
|
inlinenoexcept |
Definition at line 86 of file RIndexIter.hxx.
|
staticconstexprprotected |
Definition at line 39 of file RIndexIter.hxx.
|
private |
Definition at line 36 of file RIndexIter.hxx.