Tuple< Type1, Type2 > Class Template Reference
A 2
Tuple. Differs from
Tuple in that the two elements can be different type.
More...
List of all members.
|
Public Member Functions |
| | Tuple () |
| | Null constructor for lists.
|
| | Tuple (const Type1 &first, const Type2 &second) |
| | Construct from components.
|
| | Tuple (Istream &is) |
| | Construct from Istream.
|
| Type1 | first () const |
| | Return first.
|
| Type1 & | first () |
| | Return first.
|
| Type2 | second () const |
| | Return second.
|
| Type2 & | second () |
| | Return second.
|
| Tuple< Type1, Type2 > | reverseTuple () const |
| | Return reverse pair.
|
Friends |
| bool | operator== (const Tuple< Type1, Type2 > &a, const Tuple< Type1, Type2 > &b) |
| bool | operator!= (const Tuple< Type1, Type2 > &a, const Tuple< Type1, Type2 > &b) |
| Istream & | operator>> (Istream &is, Tuple< Type1, Type2 > &p) |
| Ostream & | operator (Ostream &os, const Tuple< Type1, Type2 > &p) |
Detailed Description
template<class Type1, class Type2>
class Foam::Tuple< Type1, Type2 >
A 2
Tuple. Differs from
Tuple in that the two elements can be different type.
Definition at line 53 of file Tuple.H.
Constructor & Destructor Documentation
Null constructor for lists.
Definition at line 66 of file Tuple.H.
| Tuple |
( |
const Type1 & |
first, |
|
|
const Type2 & |
second | |
|
) |
| | [inline] |
Construct from components.
Definition at line 70 of file Tuple.H.
Member Function Documentation
| Type1 first |
( |
|
) |
const [inline] |
Return first.
Definition at line 95 of file Tuple.H.
| Type1& first |
( |
|
) |
[inline] |
Return first.
Definition at line 101 of file Tuple.H.
| Type2 second |
( |
|
) |
const [inline] |
Return second.
Definition at line 107 of file Tuple.H.
| Type2& second |
( |
|
) |
[inline] |
Return second.
Definition at line 113 of file Tuple.H.
| Tuple<Type1, Type2> reverseTuple |
( |
|
) |
const [inline] |
Return reverse pair.
Definition at line 119 of file Tuple.H.
Friends And Related Function Documentation
| bool operator== |
( |
const Tuple< Type1, Type2 > & |
a, |
|
|
const Tuple< Type1, Type2 > & |
b | |
|
) |
| | [friend] |
| bool operator!= |
( |
const Tuple< Type1, Type2 > & |
a, |
|
|
const Tuple< Type1, Type2 > & |
b | |
|
) |
| | [friend] |
The documentation for this class was generated from the following file:
- applications/utilities/mesh/advanced/modifyMesh/Tuple.H
Copyright © 2000-2009 OpenCFD Ltd