OpendTect  7.0
Public Types | Public Member Functions | Protected Attributes | List of all members
Pos::ValueIdxPair< IPT, FT > Class Template Reference

IdxPair with a value. More...

Inheritance diagram for Pos::ValueIdxPair< IPT, FT >:
[legend]

Public Types

typedef IPT pos_type
 
typedef FT value_type
 

Public Member Functions

 ValueIdxPair (const IdxPairValues< IPT, FT > &ipvs, int idx=0)
 
 ValueIdxPair (const IPT &b, FT v=Values::Undef< FT >::val())
 
 ValueIdxPair (int f=0, int s=0, FT v=Values::Undef< FT >::val())
 
bool equalPos (const IPT &ip) const
 
bool isUdf () const
 
 operator FT () const
 
 operator FT & ()
 
bool operator!= (const ValueIdxPair &vip) const
 
bool operator== (const ValueIdxPair &) const
 
void set (const IdxPairValues< IPT, FT > &, int idx=0)
 
void set (const IPT &ipt)
 
void set (const IPT &ipt, FT f)
 
void set (FT f)
 
FT & val ()
 
FT val () const
 

Protected Attributes

FT val_
 

Detailed Description

template<class IPT, class FT>
class Pos::ValueIdxPair< IPT, FT >

IdxPair with a value.

<>

Member Typedef Documentation

◆ pos_type

template<class IPT , class FT >
typedef IPT Pos::ValueIdxPair< IPT, FT >::pos_type

◆ value_type

template<class IPT , class FT >
typedef FT Pos::ValueIdxPair< IPT, FT >::value_type

Constructor & Destructor Documentation

◆ ValueIdxPair() [1/3]

template<class IPT , class FT >
Pos::ValueIdxPair< IPT, FT >::ValueIdxPair ( int  f = 0,
int  s = 0,
FT  v = Values::Undef< FT >::val() 
)
inline

◆ ValueIdxPair() [2/3]

template<class IPT , class FT >
Pos::ValueIdxPair< IPT, FT >::ValueIdxPair ( const IPT &  b,
FT  v = Values::Undef< FT >::val() 
)
inline

◆ ValueIdxPair() [3/3]

template<class IPT , class FT >
Pos::ValueIdxPair< IPT, FT >::ValueIdxPair ( const IdxPairValues< IPT, FT > &  ipvs,
int  idx = 0 
)
inline

Member Function Documentation

◆ equalPos()

template<class IPT , class FT >
bool Pos::ValueIdxPair< IPT, FT >::equalPos ( const IPT &  ip) const
inline

◆ isUdf()

template<class IPT , class FT >
bool Pos::ValueIdxPair< IPT, FT >::isUdf ( ) const
inline

◆ operator FT()

template<class IPT , class FT >
Pos::ValueIdxPair< IPT, FT >::operator FT ( ) const
inline

◆ operator FT &()

template<class IPT , class FT >
Pos::ValueIdxPair< IPT, FT >::operator FT & ( )
inline

◆ operator!=()

template<class IPT , class FT >
bool Pos::ValueIdxPair< IPT, FT >::operator!= ( const ValueIdxPair< IPT, FT > &  vip) const
inline

◆ operator==()

template<class IPT , class FT >
bool Pos::ValueIdxPair< IPT, FT >::operator== ( const ValueIdxPair< IPT, FT > &  oth) const
inline

◆ set() [1/4]

template<class IPT , class FT >
void Pos::ValueIdxPair< IPT, FT >::set ( const IdxPairValues< IPT, FT > &  ipvs,
int  idx = 0 
)
inline

◆ set() [2/4]

template<class IPT , class FT >
void Pos::ValueIdxPair< IPT, FT >::set ( const IPT &  ipt)
inline

◆ set() [3/4]

template<class IPT , class FT >
void Pos::ValueIdxPair< IPT, FT >::set ( const IPT &  ipt,
FT  f 
)
inline

◆ set() [4/4]

template<class IPT , class FT >
void Pos::ValueIdxPair< IPT, FT >::set ( FT  f)
inline

◆ val() [1/2]

template<class IPT , class FT >
FT& Pos::ValueIdxPair< IPT, FT >::val ( )
inline

◆ val() [2/2]

template<class IPT , class FT >
FT Pos::ValueIdxPair< IPT, FT >::val ( ) const
inline

Member Data Documentation

◆ val_

template<class IPT , class FT >
FT Pos::ValueIdxPair< IPT, FT >::val_
protected

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