![]() |
OpendTect
6.3
|
base class for Monitorable iterators. Inherit from one of its subclasses. More...
Public Types | |
| enum | Direction { Forward, Backward } |
| typedef ITyp | IdxType |
| typedef IdxType | size_type |
Public Member Functions | |
| MonitorableIterBase (const Monitorable &, IdxType startidx, IdxType stopidx) | |
| MonitorableIterBase (const MonitorableIterBase &) | |
| virtual | ~MonitorableIterBase () |
| const Monitorable & | monitored () const |
| bool | isEmpty () const |
| size_type | size () const |
| bool | next () |
| bool | isForward () const |
| bool | isValid () const |
| bool | atFirst () const |
| bool | atLast () const |
| IdxType | curIdx () const |
| bool | isPresent (IdxType) const |
| virtual void | retire () |
| virtual void | reInit () |
Protected Attributes | |
| const Monitorable & | obj_ |
| const Direction | dir_ |
| const IdxType | startidx_ |
| const IdxType | stopidx_ |
| IdxType | curidx_ |
Private Member Functions | |
| MonitorableIterBase & | operator= (const MonitorableIterBase &) |
base class for Monitorable iterators. Inherit from one of its subclasses.
Needs a next() before a valid item is reached.
It is your responisbility to keep the Monitorable alive. The iterator cannot itself be used in a Multi-Threaded way.
If you pass a negative startidx or stopidx, then the iterator will be empty (no matter the value of the other idx).
| typedef ITyp MonitorableIterBase< ITyp >::IdxType |
| typedef IdxType MonitorableIterBase< ITyp >::size_type |
| enum MonitorableIterBase::Direction |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017