ROOT 6.08/07 Reference Guide |
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 34 of file TIndexIter.hxx.
Public Member Functions | |
TIndexIter (size_t idx) | |
size_t | GetIndex () const noexcept |
Get the current index value. More... | |
Index modifiers | |
++i | |
TIndexIter & | operator++ () noexcept |
TIndexIter & | operator-- () noexcept |
–i More... | |
TIndexIter | operator++ (int) noexcept |
i++ More... | |
TIndexIter | operator-- (int) noexcept |
TIndexIter & | operator+= (int d) noexcept |
TIndexIter & | operator-= (int d) noexcept |
TIndexIter | operator+ (int d) noexcept |
TIndexIter | operator- (int d) noexcept |
Static Protected Attributes | |
static constexpr size_t | fgEndIndex = (size_t) -1 |
Private Attributes | |
size_t | fIndex |
#include <ROOT/TIndexIter.hxx>
|
inline |
Definition at line 41 of file TIndexIter.hxx.
|
inlinenoexcept |
Get the current index value.
Definition at line 44 of file TIndexIter.hxx.
|
inlinenoexcept |
Definition at line 89 of file TIndexIter.hxx.
|
inlinenoexcept |
Definition at line 49 of file TIndexIter.hxx.
|
inlinenoexcept |
i++
Definition at line 62 of file TIndexIter.hxx.
|
inlinenoexcept |
Definition at line 75 of file TIndexIter.hxx.
|
inlinenoexcept |
Definition at line 95 of file TIndexIter.hxx.
|
inlinenoexcept |
–i
Definition at line 55 of file TIndexIter.hxx.
|
inlinenoexcept |
Definition at line 69 of file TIndexIter.hxx.
|
inlinenoexcept |
Definition at line 80 of file TIndexIter.hxx.
|
staticprotected |
Definition at line 38 of file TIndexIter.hxx.
|
private |
Definition at line 36 of file TIndexIter.hxx.