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

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

Inheritance diagram for MonitorableIter4Write< ITyp >:
[legend]

Public Member Functions

 MonitorableIter4Write (const MonitorableIter4Write &)
 
 MonitorableIter4Write (MonitoredObject &, ITyp startidx, ITyp stopidx)
 
MonitoredObjectedited ()
 
- Public Member Functions inherited from MonitorableIterBase< ITyp >
 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 MonitoredObjectmonitored () const
 
bool next ()
 
virtual void reInit ()
 
virtual void retire ()
 
size_type size () const
 

Protected Member Functions

void currentRemoved ()
 
void insertedAtCurrent ()
 
MonitorableIter4Writeoperator= (const MonitorableIter4Write &)=delete
 
- Protected Member Functions inherited from MonitorableIterBase< ITyp >
MonitorableIterBaseoperator= (const MonitorableIterBase &)=delete
 

Additional Inherited Members

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

Detailed Description

template<class ITyp>
class MonitorableIter4Write< ITyp >

base class for non-const MonitoredObject 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

◆ MonitorableIter4Write() [1/2]

template<class ITyp >
MonitorableIter4Write< ITyp >::MonitorableIter4Write ( MonitoredObject obj,
ITyp  startidx,
ITyp  stopidx 
)
inline

◆ MonitorableIter4Write() [2/2]

template<class ITyp >
MonitorableIter4Write< ITyp >::MonitorableIter4Write ( const MonitorableIter4Write< ITyp > &  oth)
inline

Member Function Documentation

◆ currentRemoved()

template<class ITyp >
void MonitorableIter4Write< ITyp >::currentRemoved
inlineprotected

◆ edited()

template<class ITyp >
MonitoredObject& MonitorableIter4Write< ITyp >::edited ( )
inline

◆ insertedAtCurrent()

template<class ITyp >
void MonitorableIter4Write< ITyp >::insertedAtCurrent
inlineprotected

◆ operator=()

template<class ITyp >
MonitorableIter4Write& MonitorableIter4Write< ITyp >::operator= ( const MonitorableIter4Write< ITyp > &  )
protecteddelete

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