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(), HashTable< T, Key, Hash >::size(), and Foam::sort().

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

Here is the call graph for this function: