OpendTect  6.6
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
OD::Pair< T1, T2 > Class Template Reference

Public Member Functions

 Pair ()
 
 Pair (const T1 &, const T2 &)
 
T1 & first ()
 
const T1 & first () const
 
bool isUdf () const
 
bool operator== (const Pair< T1, T2 > &) const
 
T2 & second ()
 
const T2 & second () const
 
void set (const T1 &, const T2 &)
 
void setUdf ()
 

Static Public Member Functions

static Pair< T1, T2 > udf ()
 

Public Attributes

std::pair< T1, T2 > pair_
 

Detailed Description

template<class T1, class T2>
class OD::Pair< T1, T2 >

<>

Constructor & Destructor Documentation

◆ Pair() [1/2]

template<class T1 , class T2 >
OD::Pair< T1, T2 >::Pair ( )
inline

◆ Pair() [2/2]

template<class T1 , class T2 >
OD::Pair< T1, T2 >::Pair ( const T1 &  v1,
const T2 &  v2 
)

Member Function Documentation

◆ first() [1/2]

template<class T1 , class T2 >
T1& OD::Pair< T1, T2 >::first ( )
inline

◆ first() [2/2]

template<class T1 , class T2 >
const T1& OD::Pair< T1, T2 >::first ( ) const
inline

◆ isUdf()

template<class T1 , class T2 >
bool OD::Pair< T1, T2 >::isUdf

◆ operator==()

template<class T1 , class T2 >
bool OD::Pair< T1, T2 >::operator== ( const Pair< T1, T2 > &  oth) const

◆ second() [1/2]

template<class T1 , class T2 >
T2& OD::Pair< T1, T2 >::second ( )
inline

◆ second() [2/2]

template<class T1 , class T2 >
const T2& OD::Pair< T1, T2 >::second ( ) const
inline

◆ set()

template<class T1 , class T2 >
void OD::Pair< T1, T2 >::set ( const T1 &  v1,
const T2 &  v2 
)

◆ setUdf()

template<class T1 , class T2 >
void OD::Pair< T1, T2 >::setUdf

◆ udf()

template<class T1 , class T2 >
Pair< T1, T2 > OD::Pair< T1, T2 >::udf
static

Member Data Documentation

◆ pair_

template<class T1 , class T2 >
std::pair<T1,T2> OD::Pair< T1, T2 >::pair_

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