Jive reference manual
List of all members | Public Types | Public Member Functions | Public Attributes | Related Functions
jem::util::Pair< T, U > Class Template Reference

#include <jem/util/Pair.h>

Public Types

typedef T FirstValueType
 
typedef U SecondValueType
 

Public Member Functions

 Pair ()
 
 Pair (const T &t, const U &u)
 
 Pair (const Pair &rhs)
 
template<class V , class W >
 Pair (const Pair< V, W > &rhs)
 

Public Attributes

first
 
second
 

Related Functions

(Note that these are not member functions.)

template<class T , class U >
Pair< T, U > makePair (const T &first, const U &second)
 
template<class Input , class T , class U >
void decode (Input &in, Pair< T, U > &p)
 
template<class Output , class T , class U >
void encode (Output &out, const Pair< T, U > &p)
 
template<class Output , class T , class U >
void print (Output &out, const Pair< T, U > &p)
 
template<class T , class U >
bool operator== (const Pair< T, U > &lhs, const Pair< T, U > &rhs)
 
template<class T , class U >
bool operator!= (const Pair< T, U > &lhs, const Pair< T, U > &rhs)
 
template<class T , class U >
bool operator< (const Pair< T, U > &lhs, const Pair< T, U > &rhs)
 
template<class T , class U >
bool operator<= (const Pair< T, U > &lhs, const Pair< T, U > &rhs)
 
template<class T , class U >
bool operator> (const Pair< T, U > &lhs, const Pair< T, U > &rhs)
 
template<class T , class U >
bool operator>= (const Pair< T, U > &lhs, const Pair< T, U > &rhs)
 

Member Typedef Documentation

template<class T , class U = T>
typedef T jem::util::Pair< T, U >::FirstValueType
template<class T , class U = T>
typedef U jem::util::Pair< T, U >::SecondValueType

Constructor & Destructor Documentation

template<class T , class U = T>
jem::util::Pair< T, U >::Pair ( )
template<class T , class U = T>
jem::util::Pair< T, U >::Pair ( const T &  t,
const U &  u 
)
template<class T , class U = T>
jem::util::Pair< T, U >::Pair ( const Pair< T, U > &  rhs)
template<class T , class U = T>
template<class V , class W >
jem::util::Pair< T, U >::Pair ( const Pair< V, W > &  rhs)

Friends And Related Function Documentation

template<class T , class U >
Pair< T, U > makePair ( const T &  first,
const U &  second 
)
related
template<class Input , class T , class U >
void decode ( Input &  in,
Pair< T, U > &  p 
)
related
template<class Output , class T , class U >
void encode ( Output &  out,
const Pair< T, U > &  p 
)
related
template<class Output , class T , class U >
void print ( Output &  out,
const Pair< T, U > &  p 
)
related
template<class T , class U >
bool operator== ( const Pair< T, U > &  lhs,
const Pair< T, U > &  rhs 
)
related
template<class T , class U >
bool operator!= ( const Pair< T, U > &  lhs,
const Pair< T, U > &  rhs 
)
related
template<class T , class U >
bool operator< ( const Pair< T, U > &  lhs,
const Pair< T, U > &  rhs 
)
related
template<class T , class U >
bool operator<= ( const Pair< T, U > &  lhs,
const Pair< T, U > &  rhs 
)
related
template<class T , class U >
bool operator> ( const Pair< T, U > &  lhs,
const Pair< T, U > &  rhs 
)
related
template<class T , class U >
bool operator>= ( const Pair< T, U > &  lhs,
const Pair< T, U > &  rhs 
)
related

Member Data Documentation

template<class T , class U = T>
T jem::util::Pair< T, U >::first
template<class T , class U = T>
U jem::util::Pair< T, U >::second