OpendTect
7.0
|
Iterates through all samples in an ArrayND. More...
Public Member Functions | |
ArrayNDIter (const ArrayNDInfo &) | |
~ArrayNDIter () | |
const int * | getPos () const |
bool | next () |
int | operator[] (int) const |
void | reset () |
bool | setGlobalPos (std::int64_t) |
template<class T > | |
void | setPos (const T &idxabl) |
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 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024