Foam::HashTableOps Namespace Reference

Various operations for HashTable. More...

Classes

struct  plusEqOp
 Combine HashTable operation. Equivalent to 'a += b'. More...
 

Functions

template<class T , class Key , class Hash >
List< Tvalues (const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
 List of values from HashTable, optionally sorted. More...
 

Detailed Description

Various operations for HashTable.

Source files

Function Documentation

◆ values()

List<T> Foam::HashTableOps::values ( const HashTable< T, Key, Hash > &  tbl,
const bool  doSort = false 
)

List of values from HashTable, optionally sorted.

Definition at line 149 of file HashOps.H.

References forAllConstIters(), Foam::output(), HashTable< T, Key, Hash >::size(), and Foam::sort().

Referenced by globalIndex::calcListOffsets(), globalIndex::calcOffsets(), globalIndex::calcRanges(), Foam::BitSetOps::create(), seriesProfile::evaluateDrag(), seriesProfile::evaluateLift(), surfaceFieldValue::filterField(), Foam::FOAM_DEPRECATED_FOR(), meshRefinement::gAverage(), searchableSurfaceCollection::getField(), searchableSurfaceWithGaps::getField(), triSurfaceMesh::getField(), distributedTriSurfaceMesh::getField(), isoSurfacePoint::interpolate(), lookupProfile::interpolateWeights(), bladeModel::interpolateWeights(), wordRes::matcher::operator()(), csvTableReader< Type >::operator()(), PackedList< 2 >::PackedList(), surfaceFieldValue::processSameTypeValues(), volFieldValue::processValues(), surfaceFieldValue::processValues(), globalIndex::ranges(), ensightSurfaceReader::readField(), SortList< T >::reset(), SortList< T >::reverseSort(), patchProbes::sample(), probes::sample(), patchProbes::sampleAndWrite(), sampledSurface::sampleOnFaces(), sampledMeshedSurface::sampleOnFaces(), sampledPatch::sampleOnFaces(), sampledFaceZone::sampleOnFaces(), sampledPatchInternalField::sampleOnFaces(), sampledSurface::sampleOnPoints(), sampledPatch::sampleOnPoints(), sampledMeshedSurface::sampleOnPoints(), sampledFaceZone::sampleOnPoints(), updateMethod::setConstraintValues(), searchableSurfaceCollection::setField(), triSurfaceMesh::setField(), faMatrix< Type >::setReferences(), fvMatrix< Type >::setReferences(), faMatrix< Type >::setValues(), fvMatrix< Type >::setValues(), faMatrix< Type >::setValuesFromList(), fvMatrix< Type >::setValuesFromList(), Random::shuffle(), globalIndex::sizes(), SortList< T >::sort(), surfMesh::storeField(), polySurface::storeField(), mappedPatchBase::storeField(), sampledSurface::storeRegistryField(), sampledSurface::storeSurfMeshField(), uniformInterpolatedDisplacementPointPatchVectorField::uniformInterpolatedDisplacementPointPatchVectorField(), trackingInverseDistance::update(), cuttingSurfaceBase::walkCellCuts(), sizeDistribution::write(), rotorDiskSource::writeField(), vtkCloud::writeFields(), Foam::vtk::writeList(), Foam::vtk::writeListParallel(), Foam::vtk::writeLists(), particle< Type >::writeProperty(), writer< Foam::SphericalTensor >::writeTable(), abaqusWriter::writeTemplate(), rawWriter::writeTemplate(), nastranWriter::writeTemplate(), starcdWriter::writeTemplate(), x3dWriter::writeTemplate(), volFieldValue::writeValues(), surfaceFieldValue::writeValues(), and Foam::ensightOutput::writeVolField().

Here is the call graph for this function: