OpendTect  6.3
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
MonitorableIter4Write< ITyp > Class Template Reference

base class for non-const Monitorable iterator. More...

Inheritance diagram for MonitorableIter4Write< ITyp >:
[legend]

Public Member Functions

 MonitorableIter4Write (Monitorable &, ITyp startidx, ITyp stopidx)
 
 MonitorableIter4Write (const MonitorableIter4Write &)
 
Monitorableedited ()
 
- Public Member Functions inherited from MonitorableIterBase< ITyp >
 MonitorableIterBase (const Monitorable &, IdxType startidx, IdxType stopidx)
 
 MonitorableIterBase (const MonitorableIterBase &)
 
virtual ~MonitorableIterBase ()
 
const Monitorablemonitored () 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 Member Functions

void insertedAtCurrent ()
 
void currentRemoved ()
 

Private Member Functions

MonitorableIter4Writeoperator= (const MonitorableIter4Write &)
 

Additional Inherited Members

- Public Types inherited from MonitorableIterBase< ITyp >
enum  Direction { Forward, Backward }
 
typedef ITyp IdxType
 
typedef IdxType size_type
 
- Protected Attributes inherited from MonitorableIterBase< ITyp >
const Monitorableobj_
 
const Direction dir_
 
const IdxType startidx_
 
const IdxType stopidx_
 
IdxType curidx_
 

Detailed Description

template<class ITyp>
class MonitorableIter4Write< ITyp >

base class for non-const Monitorable iterator.

Will not MonitorLock, so do not use this on objects that are shared. For that, use the copy -> change copy -> assign approach.

Constructor & Destructor Documentation

template<class ITyp>
MonitorableIter4Write< ITyp >::MonitorableIter4Write ( Monitorable obj,
ITyp  startidx,
ITyp  stopidx 
)
inline
template<class ITyp>
MonitorableIter4Write< ITyp >::MonitorableIter4Write ( const MonitorableIter4Write< ITyp > &  oth)
inline

Member Function Documentation

template<class ITyp >
void MonitorableIter4Write< ITyp >::currentRemoved ( )
inlineprotected
template<class ITyp>
Monitorable& MonitorableIter4Write< ITyp >::edited ( )
inline
template<class ITyp >
void MonitorableIter4Write< ITyp >::insertedAtCurrent ( )
inlineprotected
template<class ITyp>
MonitorableIter4Write& MonitorableIter4Write< ITyp >::operator= ( const MonitorableIter4Write< ITyp > &  )
inlineprivate

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017