![]() |
OpendTect
6.6
|
base class for MonitoredObject iterators. Inherit from one of its subclasses. More...
Public Types | |
| enum | Direction { Forward , Backward } |
| typedef ITyp | idx_type |
| typedef idx_type | size_type |
Public Member Functions | |
| MonitorableIterBase (const MonitorableIterBase &) | |
| MonitorableIterBase (const MonitoredObject &, idx_type start, idx_type stop) | |
| virtual | ~MonitorableIterBase () |
| bool | atFirst () const |
| bool | atLast () const |
| idx_type | curIdx () const |
| bool | isEmpty () const |
| bool | isForward () const |
| bool | isPresent (idx_type) const |
| bool | isValid () const |
| const MonitoredObject & | monitored () const |
| bool | next () |
| virtual void | reInit () |
| virtual void | retire () |
| size_type | size () const |
Protected Member Functions | |
| MonitorableIterBase & | operator= (const MonitorableIterBase &)=delete |
Protected Attributes | |
| idx_type | curidx_ |
| const Direction | dir_ |
| const MonitoredObject & | obj_ |
| const idx_type | startidx_ |
| const idx_type | stopidx_ |
base class for MonitoredObject iterators. Inherit from one of its subclasses.
Needs a next() before a valid item is reached.
It is your responisbility to keep the MonitoredObject 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 >::idx_type |
| typedef idx_type MonitorableIterBase< ITyp >::size_type |
| enum MonitorableIterBase::Direction |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protecteddelete |
|
inlinevirtual |
Reimplemented in MonitorableIter4Read< ITyp >, and MonitorableIter4Read< int >.
|
inlinevirtual |
Reimplemented in MonitorableIter4Read< ITyp >, and MonitorableIter4Read< int >.
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022