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

IdxPair with 0-N values. More...

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

Public Types

typedef IPT pos_type
 
typedef TypeSet< FT > set_type
 
typedef TypeSet< FT >::size_type size_type
 
typedef FT value_type
 

Public Member Functions

 IdxPairValues ()
 
 IdxPairValues (const IdxPairValues &oth)
 
 IdxPairValues (const IPT &p, int nrvals)
 
 IdxPairValues (const ValueIdxPair< IPT, FT > &vip)
 
 IdxPairValues (int i1, int i2, int nrvals)
 
bool equalPos (const IPT &ip) const
 
bool isUdf (bool allvalsudf=true) const
 
 operator const FT * () const
 
 operator FT * ()
 
bool operator!= (const IdxPairValues &ipvs) const
 
bool operator== (const IdxPairValues &) const
 
FT & operator[] (int idx)
 
FT operator[] (int idx) const
 
void set (const IPT &ipt)
 
void set (int, FT)
 
void setSize (size_type, bool kpvals=false)
 
void setVals (const FT *)
 
size_type size () const
 
bool validIdx (int i) const
 
set_typevalSet ()
 
const set_typevalSet () const
 
FT & value (int idx)
 
FT value (int idx) const
 
FT * values ()
 
const FT * values () const
 

Protected Attributes

TypeSet< FT > vals_
 

Detailed Description

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

IdxPair with 0-N values.

If one of the values is Z, make it the first one.

<>

Member Typedef Documentation

◆ pos_type

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

◆ set_type

template<class IPT , class FT >
typedef TypeSet<FT> Pos::IdxPairValues< IPT, FT >::set_type

◆ size_type

template<class IPT , class FT >
typedef TypeSet<FT>::size_type Pos::IdxPairValues< IPT, FT >::size_type

◆ value_type

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

Constructor & Destructor Documentation

◆ IdxPairValues() [1/5]

template<class IPT , class FT >
Pos::IdxPairValues< IPT, FT >::IdxPairValues ( )
inline

◆ IdxPairValues() [2/5]

template<class IPT , class FT >
Pos::IdxPairValues< IPT, FT >::IdxPairValues ( int  i1,
int  i2,
int  nrvals 
)
inline

◆ IdxPairValues() [3/5]

template<class IPT , class FT >
Pos::IdxPairValues< IPT, FT >::IdxPairValues ( const IPT &  p,
int  nrvals 
)
inline

◆ IdxPairValues() [4/5]

template<class IPT , class FT >
Pos::IdxPairValues< IPT, FT >::IdxPairValues ( const IdxPairValues< IPT, FT > &  oth)
inline

◆ IdxPairValues() [5/5]

template<class IPT , class FT >
Pos::IdxPairValues< IPT, FT >::IdxPairValues ( const ValueIdxPair< IPT, FT > &  vip)
inline

Member Function Documentation

◆ equalPos()

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

◆ isUdf()

template<class IPT , class FT >
bool Pos::IdxPairValues< IPT, FT >::isUdf ( bool  allvalsudf = true) const
inline

◆ operator const FT *()

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

◆ operator FT *()

template<class IPT , class FT >
Pos::IdxPairValues< IPT, FT >::operator FT * ( )
inline

◆ operator!=()

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

◆ operator==()

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

◆ operator[]() [1/2]

template<class IPT , class FT >
FT& Pos::IdxPairValues< IPT, FT >::operator[] ( int  idx)
inline

◆ operator[]() [2/2]

template<class IPT , class FT >
FT Pos::IdxPairValues< IPT, FT >::operator[] ( int  idx) const
inline

◆ set() [1/2]

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

◆ set() [2/2]

template<class IPT , class FT >
void Pos::IdxPairValues< IPT, FT >::set ( int  idx,
FT  val 
)
inline

◆ setSize()

template<class IPT , class FT >
void Pos::IdxPairValues< IPT, FT >::setSize ( size_type  ,
bool  kpvals = false 
)
inline

◆ setVals()

template<class IPT , class FT >
void Pos::IdxPairValues< IPT, FT >::setVals ( const FT *  newvals)
inline

◆ size()

template<class IPT , class FT >
size_type Pos::IdxPairValues< IPT, FT >::size ( ) const
inline

◆ validIdx()

template<class IPT , class FT >
bool Pos::IdxPairValues< IPT, FT >::validIdx ( int  i) const
inline

◆ valSet() [1/2]

template<class IPT , class FT >
set_type& Pos::IdxPairValues< IPT, FT >::valSet ( )
inline

◆ valSet() [2/2]

template<class IPT , class FT >
const set_type& Pos::IdxPairValues< IPT, FT >::valSet ( ) const
inline

◆ value() [1/2]

template<class IPT , class FT >
FT& Pos::IdxPairValues< IPT, FT >::value ( int  idx)
inline

◆ value() [2/2]

template<class IPT , class FT >
FT Pos::IdxPairValues< IPT, FT >::value ( int  idx) const
inline

◆ values() [1/2]

template<class IPT , class FT >
FT* Pos::IdxPairValues< IPT, FT >::values ( )
inline

◆ values() [2/2]

template<class IPT , class FT >
const FT* Pos::IdxPairValues< IPT, FT >::values ( ) const
inline

Member Data Documentation

◆ vals_

template<class IPT , class FT >
TypeSet<FT> Pos::IdxPairValues< IPT, FT >::vals_
protected

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