OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
BinIDSortingAnalyser Class Reference

Analyses whether input BinIDs are sorted. More...

Public Member Functions

 BinIDSortingAnalyser (bool is2d)
 
bool add (const BinID &)
 
uiString errMsg ()
 
BinIDSorting getSorting () const
 Can be used after add() returns true. More...
 

Protected Attributes

uiString errmsg_
 
bool is2d_
 
BinID prev_
 
bool st_ [8]
 

Detailed Description

Analyses whether input BinIDs are sorted.

<>

Constructor & Destructor Documentation

◆ BinIDSortingAnalyser()

BinIDSortingAnalyser::BinIDSortingAnalyser ( bool  is2d)

Member Function Documentation

◆ add()

bool BinIDSortingAnalyser::add ( const BinID )

returns whether analysis phase is finished Check errMsg() to see whether a valid sorting found

◆ errMsg()

uiString BinIDSortingAnalyser::errMsg ( )
inline

◆ getSorting()

BinIDSorting BinIDSortingAnalyser::getSorting ( ) const

Can be used after add() returns true.

Member Data Documentation

◆ errmsg_

uiString BinIDSortingAnalyser::errmsg_
protected

◆ is2d_

bool BinIDSortingAnalyser::is2d_
protected

◆ prev_

BinID BinIDSortingAnalyser::prev_
protected

◆ st_

bool BinIDSortingAnalyser::st_[8]
protected

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