A 2-tuple for storing two objects of different types. More...

Classes | |
| class | Hash |
| Hashing function class. More... | |
Public Member Functions | |
| Tuple2 () | |
| Null constructor for lists. More... | |
| Tuple2 (const Type1 &f, const Type2 &s) | |
| Construct from components. More... | |
| Tuple2 (Istream &is) | |
| Construct from Istream. More... | |
| const Type1 & | first () const |
| Return first. More... | |
| Type1 & | first () |
| Return first. More... | |
| const Type2 & | second () const |
| Return second. More... | |
| Type2 & | second () |
| Return second. More... | |
| const char *const | typeName ("Tuple2<scalar," "vector2D" ">") |
| const char *const | typeName ("Tuple2<word,scalar>") |
Static Public Attributes | |
| static const char *const | typeName |
Friends | |
| Istream & | operator>> (Istream &is, Tuple2< Type1, Type2 > &t2) |
| Read Tuple2 from Istream, discarding contents of existing Tuple2. More... | |
| Ostream & | operator (Ostream &os, const Tuple2< Type1, Type2 > &t2) |
A 2-tuple for storing two objects of different types.
|
inline |
|
inline |
Return first.
Definition at line 119 of file Tuple2.H.
Referenced by faceFsData::cache(), pointConstraint::combine(), Foam::dictArgList(), fieldAverageItem::fieldAverageItem(), coordSet::gather(), Foam::tracking::locate(), forceSuSp::operator+=(), forceSuSp::operator-=(), Foam::operator<<(), Foam::operator==(), Foam::operator>>(), argList::parse(), intersection::part::part(), nonConformalCyclicLagrangianPatch::partition(), Foam::readConfigFile(), Foam::reverse(), Newmark::solve(), symplectic::solve(), LagrangianMesh::track(), particle::track(), particle::trackToCell(), particle::trackToFace(), Foam::transform(), and Foam::Function2s::valueName().

|
inline |
Return second.
Definition at line 131 of file Tuple2.H.
Referenced by face::areaAndCentreStabilised(), faceFsData::cache(), pointConstraint::combine(), Foam::dictArgList(), fieldAverageItem::fieldAverageItem(), coordSet::gather(), Foam::isValidBoundSphere(), Foam::tracking::locate(), forceSuSp::operator+=(), forceSuSp::operator-=(), Foam::operator<<(), Foam::operator==(), Foam::operator>>(), argList::parse(), intersection::part::part(), nonConformalCyclicLagrangianPatch::partition(), Foam::readConfigFile(), Foam::reverse(), symplectic::solve(), LagrangianMesh::track(), particle::track(), particle::trackToCell(), particle::trackToFace(), and Foam::transform().

| const char *const typeName | ( | "Tuple2<scalar," "vector2D" ">" | ) |
| const char *const typeName | ( | "Tuple2<word,scalar>" | ) |