OpendTect-6_4  6.4
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)
 
bool operator== (const IdxPair &) const
 
bool operator!= (const IdxPair &oth) const
 
bool isUdf () const
 
void setUdf ()
 
IdxTypeoperator[] (int idx)
 
IdxType operator[] (int idx) const
 
const char * getUsrStr (const char *prefx, const char *sep, const char *postfx, bool only2nd) const
 
bool parseUsrStr (const char *str, const char *prefx, const char *sep, const char *postfx)
 

Static Public Member Functions

static const IdxPairudf ()
 

Detailed Description

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

Member Typedef Documentation

Constructor & Destructor Documentation

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

Member Function Documentation

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

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