50 {
return !(*
this==oth); }
52 inline bool isDefined()
const;
53 inline bool isUdf()
const {
return !isDefined(); }
54 static const TrcKeyValue& udf();
#define mExpClass(module)
Definition: commondefs.h:160
Definition: trckeyvalue.h:27
TrcKey tk_
Definition: trckeyvalue.h:56
#define mIsUdf(val)
Use mIsUdf to check for undefinedness of simple types.
Definition: undefval.h:287
Index_Type LineID
Definition: commontypes.h:50
TrcKeyValue & setTrcNr(Pos::TraceID nr)
Definition: trckeyvalue.h:44
Index_Type TraceID
Definition: commontypes.h:51
#define mIsEqual(x, y, eps)
Definition: commondefs.h:54
TrcKeyValue & setLineNr(Pos::LineID nr)
Definition: trckeyvalue.h:42
bool operator==(const TrcKeyValue &oth) const
Definition: trckeyvalue.h:47
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
Pos::LineID lineNr() const
Definition: trckeyvalue.h:38
BinID and a value.
Definition: binidvalue.h:31
bool operator!=(const TrcKeyValue &oth) const
Definition: trckeyvalue.h:49
FT val_
Definition: posidxpairvalue.h:64
static const TrcKey & udf()
Pos::TraceID trcNr() const
Definition: trckeyvalue.h:40
float val_
Definition: trckeyvalue.h:57
bool isUdf() const
Definition: trckey.h:54
bool isDefined() const
Definition: trckeyvalue.h:60
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
bool isUdf() const
Definition: trckeyvalue.h:53
TrcKeyValue(const TrcKey &tk=TrcKey::udf(), float v=Values::Undef< float >::val())
Definition: trckeyvalue.h:31