OpendTect  6.3
Public Member Functions | List of all members
Pick::SetIter4Edit Class Reference

non-const Set iterator. Does not lock, so use this for non-shared Pick::Set's only. Really, because it locks totally nothing, many methods bypass the stand-alone Pick::Set's locking. More...

Inheritance diagram for Pick::SetIter4Edit:
[legend]

Public Member Functions

 SetIter4Edit (Set &, bool start_at_end=false)
 
 SetIter4Edit (const SetIter4Edit &)
 
SetpickSet ()
 
const SetpickSet () const
 
Set::LocID ID () const
 
Locationget () const
 
void removeCurrent ()
 
void insert (const Pick::Location &)
 
- Public Member Functions inherited from MonitorableIter4Write< Set::IdxType >
 MonitorableIter4Write (Monitorable &, Set::IdxType startidx, Set::IdxType stopidx)
 
 MonitorableIter4Write (const MonitorableIter4Write &)
 
Monitorableedited ()
 
- Public Member Functions inherited from MonitorableIterBase< Set::IdxType >
 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 ()
 

Additional Inherited Members

- Public Types inherited from MonitorableIterBase< Set::IdxType >
enum  Direction
 
typedef Set::IdxType IdxType
 
typedef IdxType size_type
 
- Protected Member Functions inherited from MonitorableIter4Write< Set::IdxType >
void insertedAtCurrent ()
 
void currentRemoved ()
 
- Protected Attributes inherited from MonitorableIterBase< Set::IdxType >
const Monitorableobj_
 
const Direction dir_
 
const IdxType startidx_
 
const IdxType stopidx_
 
IdxType curidx_
 

Detailed Description

non-const Set iterator. Does not lock, so use this for non-shared Pick::Set's only. Really, because it locks totally nothing, many methods bypass the stand-alone Pick::Set's locking.

Needs a next() before a valid LocID is reached.

Constructor & Destructor Documentation

Pick::SetIter4Edit::SetIter4Edit ( Set ,
bool  start_at_end = false 
)
Pick::SetIter4Edit::SetIter4Edit ( const SetIter4Edit )

Member Function Documentation

Location& Pick::SetIter4Edit::get ( ) const
Set::LocID Pick::SetIter4Edit::ID ( ) const
void Pick::SetIter4Edit::insert ( const Pick::Location )
Set& Pick::SetIter4Edit::pickSet ( )
const Set& Pick::SetIter4Edit::pickSet ( ) const
void Pick::SetIter4Edit::removeCurrent ( )

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