An ordered pair of two objects of type <T> with first() and second() elements. More...
Classes | |
struct | symmHasher |
Public Member Functions | |
Pair ()=default | |
Pair (const T &f, const T &s) | |
Pair (T &&f, T &&s) | |
Pair (const std::pair< T, T > &vals) | |
Pair (std::pair< T, T > &&vals) | |
Pair (const FixedList< T, 2 > &list) | |
Pair (const T &f, const T &s, const bool doSort) | |
Pair (const FixedList< T, 2 > &list, const bool doSort) | |
Pair (Istream &is) | |
const T & | second () const noexcept |
T & | second () noexcept |
const T & | other (const T &a) const |
bool | sorted () const |
void | flip () |
void | sort () |
Static Public Member Functions | |
static int | compare (const Pair< T > &a, const Pair< T > &b) |
An ordered pair of two objects of type <T> with first() and second() elements.
|
default |
|
inlinenoexcept |
Referenced by globalIndexAndTransform::addToTransformIndex(), reconstructionSchemes::alreadyReconstructed(), meshRefinement::balance(), fieldMinMax::calcMinMaxFieldType(), Pair< word >::compare(), faPatchData::comparePatchPair(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), snappyRefineDriver::doRefine(), meshReader::cellFaceIdentifier::faceId(), Foam::faceNij(), shellSurfaces::findDirectionalLevel(), ensightSurfaceReader::geometry(), edge::hash_code(), linearInterpolationWeights::integrationWeights(), faPatchData::matchPatchPair(), Distribution::normalised(), meshReader::cellFaceIdentifier::notUsed(), Pair::symmHasher::operator()(), Foam::operator<(), Foam::operator==(), globalIndexAndTransform::processor(), Distribution::raw(), ensightSurfaceReader::readGeometryHeader(), RectangularMatrix< complex >::RectangularMatrix(), lumpedPointMovement::setInterpolator(), meshRefinement::splitFacesUndo(), SquareMatrix< cmptType >::SquareMatrix(), globalIndexAndTransform::transformIndex(), globalIndexAndTransform::transformIndicesForPatches(), meshReader::cellFaceIdentifier::used(), Distribution::validLimits(), ABAQUSsurfaceFormat< Face >::write(), and meshRefinement::zonify().
|
inlinenoexcept |
|
inline |
Definition at line 153 of file PairI.H.
Referenced by patchEdgeFaceRegions::updateEdge(), and patchEdgeFaceRegions::updateFace().
Definition at line 26 of file PairI.H.
Referenced by preserveBaffles::add(), and edge::compare().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.