OpendTect  7.0
Public Member Functions | Protected Member Functions | List of all members
EM::EMObjectIterator Class Referenceabstract

Iterator that iterates a number of positions (normally all) on an EMObject. The object is created by EMObject::createIterator, and the next() function is called until no more positions can be found. More...

Inheritance diagram for EM::EMObjectIterator:
[legend]

Public Member Functions

virtual ~EMObjectIterator ()
 
virtual int approximateSize () const
 
virtual bool canGoTo () const
 
virtual EM::PosID goTo (od_int64)
 
virtual int maximumSize () const
 
virtual EM::PosID next ()=0
 

Protected Member Functions

 EMObjectIterator ()
 

Detailed Description

Iterator that iterates a number of positions (normally all) on an EMObject. The object is created by EMObject::createIterator, and the next() function is called until no more positions can be found.

<>

Constructor & Destructor Documentation

◆ ~EMObjectIterator()

virtual EM::EMObjectIterator::~EMObjectIterator ( )
virtual

◆ EMObjectIterator()

EM::EMObjectIterator::EMObjectIterator ( )
protected

Member Function Documentation

◆ approximateSize()

virtual int EM::EMObjectIterator::approximateSize ( ) const
inlinevirtual

◆ canGoTo()

virtual bool EM::EMObjectIterator::canGoTo ( ) const
inlinevirtual

◆ goTo()

virtual EM::PosID EM::EMObjectIterator::goTo ( od_int64  )
inlinevirtual

◆ maximumSize()

virtual int EM::EMObjectIterator::maximumSize ( ) const
inlinevirtual

Reimplemented in EM::RowColIterator.

◆ next()

virtual EM::PosID EM::EMObjectIterator::next ( )
pure virtual

posid.objectID()==-1 when there are no more pids

Implemented in EM::RowColIterator.


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