OpendTect  6.3
Public Member Functions | Protected Attributes | List of all members
TrcKeySamplingIterator Class Reference

Finds next BinID in TrcKeySampling; initializes to first position. More...

Public Member Functions

 TrcKeySamplingIterator ()
 
 TrcKeySamplingIterator (const TrcKeySampling &)
 
void setSampling (const TrcKeySampling &)
 
void setCurrentPos (int64_t pos)
 
void reset ()
 
bool next () const
 
TrcKey curTrcKey () const
 
BinID curBinID () const
 
int64_t curIdx () const
 
int64_t totalNr () const
 
void fillPar (IOPar &) const
 
void usePar (const IOPar &)
 

Protected Attributes

TrcKeySampling tks_
 
int64_t totalnr_
 
Threads::Atomic< int64_t > curpos_
 

Detailed Description

Finds next BinID in TrcKeySampling; initializes to first position.

Constructor & Destructor Documentation

TrcKeySamplingIterator::TrcKeySamplingIterator ( )
TrcKeySamplingIterator::TrcKeySamplingIterator ( const TrcKeySampling )

Member Function Documentation

BinID TrcKeySamplingIterator::curBinID ( ) const
int64_t TrcKeySamplingIterator::curIdx ( ) const
inline
TrcKey TrcKeySamplingIterator::curTrcKey ( ) const
void TrcKeySamplingIterator::fillPar ( IOPar ) const
bool TrcKeySamplingIterator::next ( ) const
void TrcKeySamplingIterator::reset ( )
void TrcKeySamplingIterator::setCurrentPos ( int64_t  pos)
inline
void TrcKeySamplingIterator::setSampling ( const TrcKeySampling )
int64_t TrcKeySamplingIterator::totalNr ( ) const
inline
void TrcKeySamplingIterator::usePar ( const IOPar )

Member Data Documentation

Threads::Atomic< int64_t > TrcKeySamplingIterator::curpos_
mutableprotected
TrcKeySampling TrcKeySamplingIterator::tks_
protected
int64_t TrcKeySamplingIterator::totalnr_
protected

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