An ordered pair of two objects of type <T> with first() and second() elements. More...
#include <OpenFOAM/Pair.H>
An ordered pair of two objects of type <T> with first() and second() elements.
Definition at line 52 of file Pair.H.
Inheritance diagram for Pair< Type >:
Collaboration diagram for Pair< Type >:Public Member Functions | |
| Pair () | |
| Null constructor.
| |
| Pair (const Type &f, const Type &s) | |
| Construct from components.
| |
| Pair (Istream &is) | |
| Construct from Istream.
| |
| const Type & | first () const |
| Return first.
| |
| Type & | first () |
| Return first.
| |
| const Type & | second () const |
| Return second.
| |
| Type & | second () |
| Return second.
| |
| Pair< Type > | reversePair () const |
| Return reverse pair.
| |
| const Type & | other (const Type &a) const |
| Return other.
| |
Static Public Member Functions | |
| static int | compare (const Pair< Type > &a, const Pair< Type > &b) |
| compare Pairs
| |
Friends | |
| bool | operator== (const Pair< Type > &a, const Pair< Type > &b) |
| bool | operator!= (const Pair< Type > &a, const Pair< Type > &b) |
| Pair | ( | const Type & | f, |
| const Type & | s | ||
| ) | [inline]
|
| const Type& first | ( | ) | const [inline]
|
Return first.
Definition at line 82 of file Pair.H.
Referenced by multiphaseMixture::interfacePair::hash::operator()(), Pair< word >::other(), Pair< word >::Pair(), and Pair< word >::reversePair().
| const Type& second | ( | ) | const [inline]
|
Return second.
Definition at line 94 of file Pair.H.
Referenced by multiphaseMixture::interfacePair::hash::operator()(), Pair< word >::other(), Pair< word >::Pair(), and Pair< word >::reversePair().
| Pair<Type> reversePair | ( | ) | const [inline]
|
| const Type& other | ( | const Type & | a ) | const [inline]
|