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...
Public Types | |
typedef T1 | first_type |
typedef T2 | second_type |
Public Member Functions | |
Tuple2 ()=default | |
Tuple2 (const T1 &f, const T2 &s) | |
Tuple2 (T1 &&f, T2 &&s) | |
Tuple2 (const std::pair< T1, T2 > &vals) | |
Tuple2 (std::pair< T1, T2 > &&vals) | |
Tuple2 (Istream &is) | |
const T1 & | first () const noexcept |
T1 & | first () noexcept |
const T2 & | second () const noexcept |
T2 & | second () noexcept |
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.
Definition at line 56 of file stringOps.H.
typedef T1 first_type |
typedef T2 second_type |
|
default |
|
inlinenoexcept |
Definition at line 112 of file Tuple2.H.
Referenced by correctedCellVolumeWeightMethod::calculateAddressing(), pointConstraint::combine(), patchProbes::findElements(), mappedPatchBase::findLocalSamples(), distributedTriSurfaceMesh::findNearest(), mappedPatchBase::findSamples(), meshToMeshMethod::interVolAndCentroid(), fileOperation::lookupAndCacheProcessorsPath(), scalars::operation(), mappedPatchBase::nearestWorldEqOp::operator()(), Foam::operator+(), forceSuSp::operator+=(), forceSuSp::operator-=(), parProfiling::report(), SemiImplicitSource::setFieldData(), symplectic::solve(), Newmark::solve(), wallBoundedStreamLine::track(), Foam::transform(), exprResultDelayed::updateReadValue(), colourTable::value(), and lumpedPointMovement::writeData().
|
inlinenoexcept |
Definition at line 124 of file Tuple2.H.
Referenced by correctedCellVolumeWeightMethod::calculateAddressing(), pointConstraint::combine(), patchProbes::findElements(), mappedPatchBase::findLocalSamples(), distributedTriSurfaceMesh::findNearest(), mappedPatchBase::findSamples(), meshToMeshMethod::interVolAndCentroid(), fileOperation::lookupAndCacheProcessorsPath(), scalars::operation(), mappedPatchBase::nearestWorldEqOp::operator()(), Foam::operator+(), forceSuSp::operator+=(), forceSuSp::operator-=(), parProfiling::report(), SemiImplicitSource::setFieldData(), symplectic::solve(), wallBoundedStreamLine::track(), Foam::transform(), and lumpedPointMovement::writeData().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.