|
|
|
Tuple2 Class Template ReferenceInheritance diagram for Tuple2:![]() ![]() Detailed Descriptiontemplate<class Type1, class Type2>
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Tuple2 () | |
| Null constructor for lists. | |
| Tuple2 (const Type1 &f, const Type2 &s) | |
| Construct from components. | |
| Tuple2 (Istream &is) | |
| Construct from Istream. | |
| const Type1 & | first () const |
| Return first. | |
| Type1 & | first () |
| Return first. | |
| const Type2 & | second () const |
| Return second. | |
| Type2 & | second () |
| Return second. | |
| Tuple2< Type2, Type1 > | reverseTuple2 () const |
| Return reverse pair. | |
Friends | |
| bool | operator== (const Tuple2< Type1, Type2 > &a, const Tuple2< Type1, Type2 > &b) |
| bool | operator!= (const Tuple2< Type1, Type2 > &a, const Tuple2< Type1, Type2 > &b) |
| Istream & | operator>> (Istream &is, Tuple2< Type1, Type2 > &t2) |
| Read Tuple2 from Istream, discarding contents of existing Tuple2. | |
| Ostream & | operator (Ostream &os, const Tuple2< Type1, Type2 > &t2) |
| Tuple2 | ( | const Type1 & | f, | |
| const Type2 & | s | |||
| ) | [inline] |
| const Type1& first | ( | ) | const [inline] |
Return first.
Definition at line 98 of file Tuple2.H.
Referenced by pointConstraint::pointConstraint(), and Tuple2< long, Foam::Vectorector< scalar > >::second().
Here is the caller graph for this function:

| const Type2& second | ( | ) | const [inline] |
Return second.
Definition at line 110 of file Tuple2.H.
Referenced by Tuple2< long, Foam::Vectorector< scalar > >::second().
Here is the caller graph for this function:

| Tuple2<Type2, Type1> reverseTuple2 | ( | ) | const [inline] |
Read Tuple2 from Istream, discarding contents of existing Tuple2.
Referenced by Tuple2< long, Foam::Vectorector< scalar > >::Tuple2().