OpendTect 8.0
Loading...
Searching...
No Matches
BinIDValue Class Reference

BinID and a value. More...

#include <binidvalue.h>

Inheritance diagram for BinIDValue:
[legend]

Public Member Functions

 BinIDValue (BinID::IdxType inl=0, BinID::IdxType crl=0, float v=Values::Undef< float >::val())
 
 BinIDValue (const BinID &, float v=Values::Undef< float >::val())
 
 BinIDValue (const BinIDValues &, int idx)
 
 ~BinIDValue ()
 
bool operator!= (const BinID &) const
 
bool operator!= (const BinIDValueIdxPair &oth) const
 
bool operator== (const BinID &) const
 
bool operator== (const BinIDValueIdxPair &oth) const
 
- Public Member Functions inherited from Pos::ValueIdxPair< BinID, float >
 ValueIdxPair (const BinID &b, float v=Values::Undef< float >::val())
 
 ValueIdxPair (const BinID &b, float v=Values::Undef< float >::val())
 
 ValueIdxPair (const IdxPairValues< BinID, float > &ipvs, int idx=0)
 
 ValueIdxPair (const IdxPairValues< BinID, float > &ipvs, int idx=0)
 
 ValueIdxPair (int f=0, int s=0, float v=Values::Undef< float >::val())
 
 ValueIdxPair (int f=0, int s=0, float v=Values::Undef< float >::val())
 
bool equalPos (const BinID &ip) const
 
bool equalPos (const BinID &ip) const
 
bool isUdf () const
 
bool isUdf () const
 
 operator float () const
 
 operator float () const
 
 operator float & ()
 
 operator float & ()
 
bool operator!= (const ValueIdxPair &vip) const
 
bool operator!= (const ValueIdxPair &vip) const
 
bool operator== (const ValueIdxPair &) const
 
bool operator== (const ValueIdxPair &) const
 
void set (const BinID &ipt)
 
void set (const BinID &ipt)
 
void set (const BinID &ipt, float f)
 
void set (const BinID &ipt, float f)
 
void set (const IdxPairValues< BinID, float > &, int idx=0)
 
void set (const IdxPairValues< BinID, float > &, int idx=0)
 
void set (float f)
 
void set (float f)
 
float & val ()
 
float & val ()
 
float val () const
 
float val () const
 
- Public Member Functions inherited from BinID
 BinID ()
 
 BinID (const BinID &)
 
 BinID (const Pos::IdxPair &)
 
 BinID (IdxType i, IdxType x)
 
 ~BinID ()
 
IdxType & crl ()
 
IdxType crl () const
 
bool fromString (const char *)
 
IdxType & inl ()
 
IdxType inl () const
 
IdxType & lineNr ()
 
IdxType lineNr () const
 
BinID operator* (const Pos::Index_Type_Pair &) const
 
BinID operator* (int) const
 
BinID operator+ (const BinID &) const
 
const BinID & operator+= (const BinID &)
 
BinID operator- () const
 
BinID operator- (const BinID &) const
 
const BinID & operator-= (const BinID &)
 
BinID operator/ (const Pos::Index_Type_Pair &) const
 
BinID operator/ (int) const
 
BinID & operator= (const BinID &)
 
const char * toString (bool is2d=false) const
 
IdxType & trcNr ()
 
IdxType trcNr () const
 
BufferString usrDispStr () const
 
- Public Member Functions inherited from Pos::IdxPair
 IdxPair ()
 
 IdxPair (const Pos::IdxPair &)
 
 IdxPair (IdxType _first, IdxType _second)
 
 ~IdxPair ()
 
IdxType & col ()
 
IdxType col () const
 
bool isNeighborTo (const IdxPair &, const IdxPairStep &, bool conn8=true) const
 
bool operator!= (const IdxPair &oth) const
 
bool operator< (const IdxPair &oth) const
 
IdxPair & operator= (const IdxPair &)
 
bool operator== (const IdxPair &) const
 
bool operator> (const IdxPair &oth) const
 
IdxType & row ()
 
IdxType row () const
 
od_int64 sqDistTo (const IdxPair &) const
 
od_int64 toInt64 () const
 
- Public Member Functions inherited from IdxPair
 IdxPair ()
 
 IdxPair (IdxType, IdxType)
 
 ~IdxPair ()
 
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
 
od_int32 & operator[] (int idx)
 
od_int32 operator[] (int idx) const
 
bool parseUsrStr (const char *str, const char *prefx, const char *sep, const char *postfx)
 
void setUdf ()
 

Additional Inherited Members

- Public Types inherited from Pos::ValueIdxPair< BinID, float >
typedef BinID pos_type
 
typedef BinID pos_type
 
typedef float value_type
 
typedef float value_type
 
- Public Types inherited from IdxPair
using IdxType = Index_Type
 
- Static Public Member Functions inherited from BinID
static BinID fromInt64 (od_int64)
 
static BinID noStepout ()
 
- Static Public Member Functions inherited from Pos::IdxPair
static IdxPair fromInt64 (od_int64)
 
static const IdxPair & udf ()
 
- Static Public Member Functions inherited from IdxPair
static const IdxPair & udf ()
 
- Protected Attributes inherited from Pos::ValueIdxPair< BinID, float >
float val_
 
float val_
 

Detailed Description

BinID and a value.

Can be used as a BinID, also contains a val().

Constructor & Destructor Documentation

◆ BinIDValue() [1/3]

BinIDValue::BinIDValue ( BinID::IdxType inl = 0,
BinID::IdxType crl = 0,
float v = Values::Undef< float >::val() )

◆ BinIDValue() [2/3]

BinIDValue::BinIDValue ( const BinID & ,
float v = Values::Undef< float >::val() )

◆ BinIDValue() [3/3]

BinIDValue::BinIDValue ( const BinIDValues & ,
int idx )

◆ ~BinIDValue()

BinIDValue::~BinIDValue ( )

Member Function Documentation

◆ operator!=() [1/2]

bool BinIDValue::operator!= ( const BinID & ) const

◆ operator!=() [2/2]

bool BinIDValue::operator!= ( const BinIDValueIdxPair & oth) const
inline

◆ operator==() [1/2]

bool BinIDValue::operator== ( const BinID & ) const

◆ operator==() [2/2]

bool BinIDValue::operator== ( const BinIDValueIdxPair & oth) const
inline

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