Tuple2.H File Reference
Include dependency graph for Tuple2.H:

Go to the source code of this file.

Classes

class  Tuple2< T1, T2 >
 A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pair, but does not expose its members directly. More...
 
struct  Hash< Tuple2< T1, T2 > >
 Hashing for Tuple2 data. More...
 
struct  Hash< std::pair< T1, T2 > >
 Hashing for std::pair data. More...
 
struct  minFirstOp< T1 >
 Compare tuple-like containers. More...
 
struct  minFirstEqOp< T1 >
 Assign tuple-like container to use the one with the smaller value of first. More...
 
struct  maxFirstOp< T1 >
 Compare tuple-like containers. More...
 
struct  maxFirstEqOp< T1 >
 Assign tuple-like container to use the one with the larger value of first. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Functions

template<class T1 , class T2 >
Tuple2< T2, T1 > reverse (const Tuple2< T1, T2 > &t)
 Return reverse of a Tuple2. More...
 
template<class T1 , class T2 >
bool operator== (const Tuple2< T1, T2 > &a, const Tuple2< T1, T2 > &b)
 
template<class T1 , class T2 >
bool operator!= (const Tuple2< T1, T2 > &a, const Tuple2< T1, T2 > &b)
 
template<class T1 , class T2 >
bool operator< (const Tuple2< T1, T2 > &a, const Tuple2< T1, T2 > &b)
 
template<class T1 , class T2 >
bool operator<= (const Tuple2< T1, T2 > &a, const Tuple2< T1, T2 > &b)
 
template<class T1 , class T2 >
bool operator> (const Tuple2< T1, T2 > &a, const Tuple2< T1, T2 > &b)
 
template<class T1 , class T2 >
bool operator>= (const Tuple2< T1, T2 > &a, const Tuple2< T1, T2 > &b)
 
template<class T1 , class T2 >
Istream & operator>> (Istream &is, Tuple2< T1, T2 > &t)
 Read Tuple2 from Istream, discarding contents of existing Tuple2. More...
 
template<class T1 , class T2 >
Istream & operator>> (Istream &is, std::pair< T1, T2 > &t)
 Read std::pair from Istream. More...
 
template<class T1 , class T2 >
Ostream & operator<< (Ostream &os, const Tuple2< T1, T2 > &t)
 Write Tuple2 to Ostream. More...
 
template<class T1 , class T2 >
Ostream & operator<< (Ostream &os, const std::pair< T1, T2 > &t)
 Write std::pair to Ostream. More...
 

Detailed Description

Original source file Tuple2.H

Definition in file Tuple2.H.