OpendTect-6_4  6.4
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 (int f=0, int s=0, FT v=Values::Undef< FT >::val())
 
 ValueIdxPair (const IPT &b, FT v=Values::Undef< FT >::val())
 
 ValueIdxPair (const IdxPairValues< IPT, FT > &ipvs, int idx=0)
 
bool operator== (const ValueIdxPair &) const
 
bool operator!= (const ValueIdxPair &vip) const
 
bool equalPos (const IPT &ip) const
 
FT & val ()
 
FT val () const
 
 operator FT & ()
 
 operator FT () const
 
void set (FT f)
 
void set (const IPT &ipt)
 
void set (const IPT &ipt, FT f)
 
void set (const IdxPairValues< IPT, FT > &, int idx=0)
 
bool isUdf () const
 

Protected Attributes

FT val_
 

Detailed Description

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

IdxPair with a value.

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<class IPT, class FT>
Pos::ValueIdxPair< IPT, FT >::ValueIdxPair ( int  f = 0,
int  s = 0,
FT  v = Values::Undef< FT >::val() 
)
inline
template<class IPT, class FT>
Pos::ValueIdxPair< IPT, FT >::ValueIdxPair ( const IPT &  b,
FT  v = Values::Undef< FT >::val() 
)
inline
template<class IPT, class FT>
Pos::ValueIdxPair< IPT, FT >::ValueIdxPair ( const IdxPairValues< IPT, FT > &  ipvs,
int  idx = 0 
)
inline

Member Function Documentation

template<class IPT, class FT>
bool Pos::ValueIdxPair< IPT, FT >::equalPos ( const IPT &  ip) const
inline
template<class IPT, class FT>
bool Pos::ValueIdxPair< IPT, FT >::isUdf ( ) const
inline
template<class IPT, class FT>
Pos::ValueIdxPair< IPT, FT >::operator FT ( ) const
inline
template<class IPT, class FT>
Pos::ValueIdxPair< IPT, FT >::operator FT & ( )
inline
template<class IPT, class FT>
bool Pos::ValueIdxPair< IPT, FT >::operator!= ( const ValueIdxPair< IPT, FT > &  vip) const
inline
template<class IPT , class FT >
bool Pos::ValueIdxPair< IPT, FT >::operator== ( const ValueIdxPair< IPT, FT > &  oth) const
inline
template<class IPT, class FT>
void Pos::ValueIdxPair< IPT, FT >::set ( FT  f)
inline
template<class IPT, class FT>
void Pos::ValueIdxPair< IPT, FT >::set ( const IPT &  ipt)
inline
template<class IPT, class FT>
void Pos::ValueIdxPair< IPT, FT >::set ( const IPT &  ipt,
FT  f 
)
inline
template<class IPT , class FT >
void Pos::ValueIdxPair< IPT, FT >::set ( const IdxPairValues< IPT, FT > &  ipvs,
int  idx = 0 
)
inline
template<class IPT, class FT>
FT& Pos::ValueIdxPair< IPT, FT >::val ( )
inline
template<class IPT, class FT>
FT Pos::ValueIdxPair< IPT, FT >::val ( ) const
inline

Member Data Documentation

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. 2019