![]() |
OpendTect-6_4
6.4
|
Iterates through all samples in an ArrayND. More...
Public Member Functions | |
ArrayNDIter (const ArrayNDInfo &) | |
~ArrayNDIter () | |
bool | next () |
void | reset () |
bool | setGlobalPos (int64_t) |
template<class T > | |
void | setPos (const T &idxabl) |
const int * | getPos () const |
int | operator[] (int) const |
Protected Member Functions | |
bool | inc (int) |
Protected Attributes | |
int * | position_ |
const ArrayNDInfo & | sz_ |
Iterates through all samples in an ArrayND.
ArrayNDIter will be on the first position when initiated, and move to the second at the first call to next(). next() will return false when no more positions are available.
ArrayNDIter::ArrayNDIter | ( | const ArrayNDInfo & | ) |
ArrayNDIter::~ArrayNDIter | ( | ) |
|
inline |
|
protected |
bool ArrayNDIter::next | ( | ) |
int ArrayNDIter::operator[] | ( | int | ) | const |
void ArrayNDIter::reset | ( | ) |
|
inline |
|
inline |
|
protected |
|
protected |
Generated at 12/02/2019 10:56:33 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019