OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | List of all members
PosInfo::Line2DKey Class Reference

Key holding ID for both lineset and line. More...

Inheritance diagram for PosInfo::Line2DKey:
[legend]

Public Member Functions

 Line2DKey (int lsid=-1, int lineid=-1)
 
bool operator== (const Line2DKey &oth) const
 
bool operator!= (const Line2DKey &oth) const
 
IdxTypelsID ()
 
IdxType lsID () const
 
IdxTypelineID ()
 
IdxType lineID () const
 
bool isOK () const
 true if a line exist with this key More...
 
const char * toString () const
 
bool fromString (const char *)
 
bool haveLSID () const
 
bool haveLineID () const
 
bool isUdf () const
 
- Public Member Functions inherited from IdxPair
 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 Line2DKeyudf ()
 
- Static Public Member Functions inherited from IdxPair
static const IdxPairudf ()
 

Additional Inherited Members

- Public Types inherited from IdxPair
typedef Index_Type IdxType
 

Detailed Description

Key holding ID for both lineset and line.

Constructor & Destructor Documentation

PosInfo::Line2DKey::Line2DKey ( int  lsid = -1,
int  lineid = -1 
)
inline

Member Function Documentation

bool PosInfo::Line2DKey::fromString ( const char *  )
bool PosInfo::Line2DKey::haveLineID ( ) const
bool PosInfo::Line2DKey::haveLSID ( ) const
bool PosInfo::Line2DKey::isOK ( ) const

true if a line exist with this key

bool PosInfo::Line2DKey::isUdf ( ) const
IdxType& PosInfo::Line2DKey::lineID ( )
inline
IdxType PosInfo::Line2DKey::lineID ( ) const
inline
IdxType& PosInfo::Line2DKey::lsID ( )
inline
IdxType PosInfo::Line2DKey::lsID ( ) const
inline
bool PosInfo::Line2DKey::operator!= ( const Line2DKey oth) const
inline
bool PosInfo::Line2DKey::operator== ( const Line2DKey oth) const
inline
const char* PosInfo::Line2DKey::toString ( ) const
static const Line2DKey& PosInfo::Line2DKey::udf ( )
static

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