HDK
|
A forward iterator over array indices from a value iterator (such as ValueOnCIter) More...
#include <IndexIterator.h>
Public Member Functions | |
ValueIndexIter (const IteratorT &iter) | |
ValueIndexIter (const ValueIndexIter &other) | |
ValueIndexIter & | operator= (const ValueIndexIter &)=default |
Index32 | end () const |
void | reset (Index32 item, Index32 end) |
Index32 | operator* () |
Returns the item to which this iterator is currently pointing. More... | |
Index32 | operator* () const |
operator bool () const | |
Return true if this iterator is not yet exhausted. More... | |
bool | test () const |
ValueIndexIter & | operator++ () |
Advance to the next (valid) item (prefix). More... | |
bool | next () |
Advance to the next (valid) item. More... | |
bool | increment () |
Coord | getCoord () const |
Return the coordinates of the item to which the value iterator is pointing. More... | |
void | getCoord (Coord &xyz) const |
Return in xyz the coordinates of the item to which the value iterator is pointing. More... | |
bool | isValueOn () const |
Return true if this iterator is pointing to an active value. More... | |
const IteratorT & | valueIter () const |
Return the const value iterator. More... | |
bool | operator== (const ValueIndexIter &other) const |
Equality operators. More... | |
bool | operator!= (const ValueIndexIter &other) const |
A forward iterator over array indices from a value iterator (such as ValueOnCIter)
Definition at line 143 of file IndexIterator.h.
|
inline |
Definition at line 146 of file IndexIterator.h.
|
inline |
Definition at line 157 of file IndexIterator.h.
|
inline |
Definition at line 164 of file IndexIterator.h.
|
inline |
Return the coordinates of the item to which the value iterator is pointing.
Definition at line 194 of file IndexIterator.h.
|
inline |
Return in xyz the coordinates of the item to which the value iterator is pointing.
Definition at line 196 of file IndexIterator.h.
|
inline |
Definition at line 191 of file IndexIterator.h.
|
inline |
Return true
if this iterator is pointing to an active value.
Definition at line 199 of file IndexIterator.h.
|
inline |
Advance to the next (valid) item.
Definition at line 190 of file IndexIterator.h.
|
inline |
Return true
if this iterator is not yet exhausted.
Definition at line 176 of file IndexIterator.h.
|
inline |
Definition at line 206 of file IndexIterator.h.
|
inline |
Returns the item to which this iterator is currently pointing.
Definition at line 172 of file IndexIterator.h.
|
inline |
Definition at line 173 of file IndexIterator.h.
|
inline |
Advance to the next (valid) item (prefix).
Definition at line 180 of file IndexIterator.h.
|
default |
|
inline |
Equality operators.
Definition at line 205 of file IndexIterator.h.
|
inline |
Definition at line 166 of file IndexIterator.h.
|
inline |
Definition at line 177 of file IndexIterator.h.
|
inline |
Return the const value iterator.
Definition at line 202 of file IndexIterator.h.