OpendTect  6.6
Public Types | Public Member Functions | Static Public Member Functions | List of all members
IdxPair Class Reference

A pair of numbers; base class for BinID et al. More...

Inheritance diagram for IdxPair:
[legend]

Public Types

typedef Index_Type IdxType
 

Public Member Functions

 IdxPair ()
 
 IdxPair (IdxType f, IdxType s)
 
const char * getUsrStr (const char *prefx, const char *sep, const char *postfx, bool only2nd) const
 
bool isUdf () const
 
bool operator!= (const IdxPair &oth) const
 
bool operator== (const IdxPair &) const
 
IdxTypeoperator[] (int idx)
 
IdxType operator[] (int idx) const
 
bool parseUsrStr (const char *str, const char *prefx, const char *sep, const char *postfx)
 
void setUdf ()
 

Static Public Member Functions

static const IdxPairudf ()
 

Detailed Description

A pair of numbers; base class for BinID et al.

<>

Member Typedef Documentation

◆ IdxType

typedef Index_Type IdxPair::IdxType

Constructor & Destructor Documentation

◆ IdxPair() [1/2]

IdxPair::IdxPair ( )
inline

◆ IdxPair() [2/2]

IdxPair::IdxPair ( IdxType  f,
IdxType  s 
)
inline

Member Function Documentation

◆ getUsrStr()

const char* IdxPair::getUsrStr ( const char *  prefx,
const char *  sep,
const char *  postfx,
bool  only2nd 
) const

◆ isUdf()

bool IdxPair::isUdf ( ) const
inline

◆ operator!=()

bool IdxPair::operator!= ( const IdxPair oth) const
inline

◆ operator==()

bool IdxPair::operator== ( const IdxPair oth) const
inline

◆ operator[]() [1/2]

IdxType& IdxPair::operator[] ( int  idx)
inline

◆ operator[]() [2/2]

IdxType IdxPair::operator[] ( int  idx) const
inline

◆ parseUsrStr()

bool IdxPair::parseUsrStr ( const char *  str,
const char *  prefx,
const char *  sep,
const char *  postfx 
)

◆ setUdf()

void IdxPair::setUdf ( )
inline

◆ udf()

static const IdxPair& IdxPair::udf ( )
static

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