An STL-conforming hash table. More...
#include <OpenFOAM/HashTable.H>
An STL-conforming hash table.
Definition at line 84 of file HashTable.H.
Classes | |
class | const_iterator |
An STL-conforming const_iterator. More...
| |
struct | hashedEntry |
class | iterator |
An STL-conforming iterator. More...
| |
Public Types | |
typedef T | value_type |
Type of values the HashTable contains.
| |
typedef T & | reference |
Type that can be used for storing into HashTable::value_type.
| |
typedef const T & | const_reference |
Type that can be used for storing into constant.
| |
typedef label | size_type |
The type that can represent the size of a HashTable.
| |
Public Member Functions | |
HashTable (const label size=128) | |
Construct given initial table size.
| |
HashTable (Istream &, const label size=128) | |
Construct from Istream.
| |
HashTable (const HashTable< T, Key, Hash > &) | |
Construct as copy.
| |
HashTable (const Xfer< HashTable< T, Key, Hash > > &) | |
Construct by transferring the parameter contents.
| |
~HashTable () | |
label | size () const |
Return number of elements in table.
| |
bool | empty () const |
Return true if the hash table is empty.
| |
bool | found (const Key &) const |
Return true if hashedEntry is found in table.
| |
iterator | find (const Key &) |
Find and return an iterator set at the hashedEntry.
| |
const_iterator | find (const Key &) const |
Find and return an const_iterator set at the hashedEntry.
| |
List< Key > | toc () const |
Return the table of contents.
| |
List< Key > | sortedToc () const |
Return the table of contents as a sorted list.
| |
Ostream & | printInfo (Ostream &) const |
Print information.
| |
bool | insert (const Key &, const T &newElmt) |
Insert a new hashedEntry.
| |
bool | set (const Key &, const T &newElmt) |
Assign a new hashedEntry, overwriting existing entries.
| |
bool | erase (const iterator &) |
Erase an hashedEntry specified by given iterator.
| |
bool | erase (const Key &) |
Erase an hashedEntry specified by given key if in table.
| |
label | erase (const UList< Key > &) |
Remove entries given by the listed keys from this HashTable.
| |
template<class AnyType , class AnyHash > | |
label | erase (const HashTable< AnyType, Key, AnyHash > &) |
Remove entries given by the given keys from this HashTable.
| |
void | resize (const label newSize) |
Resize the hash table for efficiency.
| |
void | clear () |
Clear all entries from table.
| |
void | clearStorage () |
Clear the table entries and the table itself.
| |
void | transfer (HashTable< T, Key, Hash > &) |
Transfer the contents of the argument table into this table.
| |
Xfer< HashTable< T, Key, Hash > > | xfer () |
Transfer contents to the Xfer container.
| |
T & | operator[] (const Key &) |
Find and return an hashedEntry.
| |
const T & | operator[] (const Key &) const |
Find and return an hashedEntry.
| |
T & | operator() (const Key &) |
Find and return an hashedEntry, create it null if not present.
| |
void | operator= (const HashTable< T, Key, Hash > &) |
Assignment.
| |
bool | operator== (const HashTable< T, Key, Hash > &) const |
Equality. Two hash tables are equal if all contents of first are.
| |
bool | operator!= (const HashTable< T, Key, Hash > &) const |
The opposite of the equality operation. Takes linear time.
| |
iterator | begin () |
iterator set to the begining of the HashTable
| |
const iterator & | end () |
iterator set to beyond the end of the HashTable
| |
const_iterator | cbegin () const |
const_iterator set to the beginning of the HashTable
| |
const const_iterator & | cend () const |
const_iterator set to beyond the end of the HashTable
| |
const_iterator | begin () const |
const_iterator set to the beginning of the HashTable
| |
const const_iterator & | end () const |
const_iterator set to beyond the end of the HashTable
| |
Friends | |
class | HashPtrTable |
Declare friendship with the HashPtrTable class.
| |
class | iterator |
class | const_iterator |
Istream & | operator>> (Istream &, HashTable< T, Key, Hash > &) |
Ostream & | operator (Ostream &, const HashTable< T, Key, Hash > &) |
typedef T value_type |
Type of values the HashTable contains.
Definition at line 276 of file HashTable.H.
typedef T& reference |
Type that can be used for storing into HashTable::value_type.
objects. This type is usually List::value_type&.
Definition at line 280 of file HashTable.H.
typedef const T& const_reference |
Type that can be used for storing into constant.
HashTable::value_type objects. This type is usually const HashTable::value_type&.
Definition at line 285 of file HashTable.H.
typedef label size_type |
The type that can represent the size of a HashTable.
Definition at line 288 of file HashTable.H.
HashTable | ( | const label | size = 128
) |
Construct given initial table size.
Definition at line 62 of file HashTable.C.
Construct from Istream.
Definition at line 33 of file HashTableIO.C.
References HashTable< T, Key, Hash >::operator>>.
Construct as copy.
Definition at line 84 of file HashTable.C.
References HashTable< T, Key, Hash >::cbegin(), HashTable< T, Key, Hash >::cend(), and HashTable< T, Key, Hash >::insert().
Construct by transferring the parameter contents.
Definition at line 111 of file HashTable.C.
~HashTable | ( | ) |
Definition at line 129 of file HashTable.C.
References clear().
Foam::label size | ( | ) | const [inline]
|
Return number of elements in table.
Reimplemented in Cloud< ParticleType >, triSurfaceMesh, surfMesh, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, and Cloud< BasicReactingParcel< ThermoType > >.
Definition at line 58 of file HashTableI.H.
Referenced by autoLayerDriver::addLayers(), meshRefinement::baffleAndSplitMesh(), cellToFaceStencil::calcFaceStencil(), boundaryMesh::changeFaces(), primitiveMesh::checkEdgeLength(), motionSmoother::checkMesh(), hexRef8::consistentSlowRefinement2(), autoSnapDriver::createZoneBaffles(), meshRefinement::dupNonManifoldPoints(), surfaceSets::getHangingCells(), combineFaces::getMergeSets(), removePoints::getUnrefimentSet(), globalPoints::globalPoints(), topoSet::invert(), meshRefinement::mergeEdges(), polyBoundaryMesh::neighbourEdges(), boundaryMesh::patchify(), Foam::polyMeshZipUpCells(), boundaryMesh::readTriSurface(), motionSmoother::scaleMesh(), fvMeshSubset::setCellSubset(), removePoints::setRefinement(), duplicatePoints::setRefinement(), boundaryCutter::setRefinement(), hexRef8::setUnrefinement(), UnsortedMeshedSurface< Face >::sortedZones(), topoSet::subset(), edgeVertex::updateLabels(), and STARCD::writeSurface().
bool empty | ( | ) | const [inline]
|
Return true if the hash table is empty.
Definition at line 65 of file HashTableI.H.
bool found | ( | const Key & | key ) | const |
Return true if hashedEntry is found in table.
Definition at line 142 of file HashTable.C.
References Foam::Info.
Referenced by setToPointZone::applyToSet(), setToFaceZone::applyToSet(), setsToFaceZone::applyToSet(), faceZoneToFaceZone::applyToSet(), setToCellZone::applyToSet(), cellModeller::cellModeller(), surfaceFormatsCore::checkSupport(), speciesTable::contains(), motionSmoother::correctBoundaryConditions(), cellDistFuncs::correctBoundaryFaceCells(), cellDistFuncs::correctBoundaryPointCells(), geomCellLooper::cut(), HashTable< T, Key, Hash >::erase(), surfaceSets::getHangingCells(), removePoints::getUnrefimentSet(), topoSet::invert(), cellFeatures::isFeatureEdge(), fvMeshAdder::MapSurfaceFields(), fvMeshAdder::MapVolFields(), cellDistFuncs::maxPatchSize(), UnsortedMeshedSurface< Face >::New(), MeshedSurface< Face >::New(), argList::optionFound(), STARCD::readBoundary(), fvMeshSubset::setCellSubset(), motionSmoother::setDisplacement(), cellDistFuncs::sumPatchSize(), surfaceIntersection::surfaceIntersection(), topoSetSource::usage(), UnsortedMeshedSurface< Face >::write(), and MeshedSurface< Face >::write().
Foam::HashTable< T, Key, Hash >::iterator find | ( | const Key & | key ) |
Find and return an iterator set at the hashedEntry.
If not found iterator = end()
Definition at line 172 of file HashTable.C.
References Foam::Info.
Referenced by dictionary::add(), cellTable::addCellZones(), faceZoneSet::addSet(), extendedCellToFaceStencil::calcDistributeMap(), enrichedPatch::calcEnrichedFaces(), cellMatcher::calcLocalFaces(), dictionary::changeKeyword(), primitiveMesh::checkFaceFaces(), objectRegistry::checkOut(), cyclicPolyPatch::coupledEdges(), autoSnapDriver::createZoneBaffles(), meshRefinement::decomposeCombineRegions(), faceZoneSet::deleteSet(), polyMeshAdder::findSharedPoints(), combineFaces::getMergeSets(), autoSnapDriver::getZoneSurfacePoints(), fvMeshSubset::interpolate(), cellModeller::lookup(), DictionaryBase< IDLListType, T >::lookup(), dictionary::lookupEntryPtr(), DictionaryBase< IDLListType, T >::lookupPtr(), dictionary::merge(), polyMeshAdder::mergePoints(), slidingInterface::modifyMotionPoints(), attachDetach::modifyMotionPoints(), polyBoundaryMesh::neighbourEdges(), HashTable< T, Key, Hash >::operator()(), HashTable< T, Key, Hash >::operator==(), HashTable< T, Key, Hash >::operator[](), STARCDsurfaceFormat< Face >::read(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), STARCD::readBoundary(), Foam::ReadFields(), dictionary::remove(), DictionaryBase< IDLListType, T >::remove(), undoableMeshCutter::removeSplitFaces(), genericPointPatchField< Type >::rmap(), genericFvPatchField< Type >::rmap(), duplicatePoints::setRefinement(), undoableMeshCutter::setRefinement(), boundaryCutter::setRefinement(), combineFaces::setUnrefinement(), UnsortedMeshedSurface< Face >::sortedZones(), faceZoneSet::subset(), syncTools::syncEdgeMap(), hexRef8::updateMesh(), meshReader::warnDuplicates(), cellZone::whichCell(), faceZone::whichFace(), PrimitivePatch< Face, FaceList, PointField, PointType >::whichPoint(), pointZone::whichPoint(), and ZoneMesh< ZoneType, MeshType >::whichZone().
Foam::HashTable< T, Key, Hash >::const_iterator find | ( | const Key & | key ) | const |
Find and return an const_iterator set at the hashedEntry.
If not found iterator = end()
Definition at line 204 of file HashTable.C.
References Foam::Info.
Foam::List< Key > toc | ( | ) | const |
Return the table of contents.
Definition at line 235 of file HashTable.C.
Referenced by extendedCellToFaceStencil::calcDistributeMap(), cellToFaceStencil::calcFaceCells(), cellToCellStencil::calcFaceCells(), surfaceFormatsCore::checkSupport(), patchDataWave< TransferType >::correct(), meshRefinement::createBaffles(), octree< Type >::findBox(), triSurfaceTools::getVertexVertices(), attachDetach::modifyMotionPoints(), HashTable< T, Key, Hash >::operator[](), Foam::polyMeshZipUpCells(), TimeActivatedExplicitSource< Type >::setCellSet(), basicSource::setCellSet(), fvMeshSubset::setCellSubset(), and explicitSource::setSelectedCellsFromPoints().
Foam::List< Key > sortedToc | ( | ) | const |
Return the table of contents as a sorted list.
Definition at line 250 of file HashTable.C.
References Foam::sort().
Foam::Ostream & printInfo | ( | Ostream & | os ) | const |
bool insert | ( | const Key & | key, |
const T & | newElmt | ||
) | [inline]
|
Insert a new hashedEntry.
Definition at line 73 of file HashTableI.H.
Referenced by timeSelector::addOptions(), topoSetSource::addToUsageTable::addToUsageTable(), mpiPstreamImpl::addValidParOptions(), cellModeller::cellModeller(), primitiveMesh::checkFaceFaces(), objectRegistry::checkIn(), cellDistFuncs::correctBoundaryFaceCells(), cellDistFuncs::correctBoundaryPointCells(), cyclicGAMGInterface::cyclicGAMGInterface(), polyMeshAdder::findSharedPoints(), HashTable< T, Key, Hash >::HashTable(), addSubtract::init(), objectRegistry::lookupClass(), IOobjectList::lookupClass(), polyBoundaryMesh::neighbourEdges(), HashTable< T, Key, Hash >::operator()(), cellTable::operator=(), processorGAMGInterface::processorGAMGInterface(), STARCDsurfaceFormat< Face >::read(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), functionObjectList::read(), STARCD::readBoundary(), boundaryMesh::readTriSurface(), HashTable< T, Key, Hash >::resize(), fvMeshSubset::setCellSubset(), removePoints::setRefinement(), combineFaces::setRefinement(), combineFaces::setUnrefinement(), UnsortedMeshedSurface< Face >::sortedZones(), and meshReader::warnDuplicates().
bool set | ( | const Key & | key, |
const T & | newElmt | ||
) | [inline]
|
Assign a new hashedEntry, overwriting existing entries.
Definition at line 84 of file HashTableI.H.
bool erase | ( | const iterator & | cit ) |
Erase an hashedEntry specified by given iterator.
Definition at line 345 of file HashTable.C.
References Foam::Info.
Referenced by objectRegistry::checkOut(), polyBoundaryMesh::neighbourEdges(), Foam::ReadFields(), and HashPtrTable< T, Key, Hash >::remove().
bool erase | ( | const Key & | key ) |
Erase an hashedEntry specified by given key if in table.
Definition at line 428 of file HashTable.C.
Foam::label erase | ( | const UList< Key > & | keys ) |
Remove entries given by the listed keys from this HashTable.
Return the number of elements removed
Definition at line 444 of file HashTable.C.
References forAll.
Foam::label erase | ( | const HashTable< AnyType, Key, AnyHash > & | rhs ) |
Remove entries given by the given keys from this HashTable.
Return the number of elements removed. The parameter HashTable needs the same type of key, but the type of values held and the hashing function are arbitrary.
Definition at line 467 of file HashTable.C.
References HashTable< T, Key, Hash >::found().
void resize | ( | const label | newSize ) |
Resize the hash table for efficiency.
Definition at line 488 of file HashTable.C.
References Foam::Info, and HashTable< T, Key, Hash >::insert().
Referenced by primitiveMesh::checkEdgeAlignment(), and removePoints::setRefinement().
void clear | ( | ) |
Clear all entries from table.
Reimplemented in Cloud< ParticleType >, DsmcCloud< ParcelType >, HashPtrTable< T, Key, Hash >, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, Cloud< BasicReactingParcel< ThermoType > >, HashPtrTable< IOobject >, HashPtrTable< tensorField >, HashPtrTable< symmTensorField >, HashPtrTable< OFstream >, HashPtrTable< gasThermoPhysics >, HashPtrTable< curve >, HashPtrTable< sphericalTensorField >, HashPtrTable< scalarField >, HashPtrTable< T, label, Hash< label > >, HashPtrTable< ReactionThermo >, HashPtrTable< ThermoType >, and HashPtrTable< vectorField >.
Definition at line 525 of file HashTable.C.
Referenced by cellToFaceStencil::calcFaceCells(), cellToCellStencil::calcFaceCells(), cellToFaceStencil::calcFaceStencil(), primitiveMesh::checkFaceFaces(), HashPtrTable< T, Key, Hash >::clear(), cellTable::operator=(), and STARCD::writeSurface().
void clearStorage | ( | ) |
Clear the table entries and the table itself.
Equivalent to clear() followed by resize(0)
Definition at line 549 of file HashTable.C.
References clear().
Transfer the contents of the argument table into this table.
and annull the argument table.
Definition at line 557 of file HashTable.C.
References clear().
Referenced by primitiveMesh::checkEdgeLength().
Foam::Xfer< Foam::HashTable< T, Key, Hash > > xfer | ( | ) | [inline]
|
Transfer contents to the Xfer container.
Reimplemented in surfMesh.
Definition at line 95 of file HashTableI.H.
References Foam::xferMove().
T & operator[] | ( | const Key & | key ) | [inline]
|
Find and return an hashedEntry.
Definition at line 104 of file HashTableI.H.
References HashTable< T, Key, Hash >::end(), Foam::exit(), Foam::FatalError, FatalErrorIn, HashTable< T, Key, Hash >::find(), and HashTable< T, Key, Hash >::toc().
const T & operator[] | ( | const Key & | key ) | const [inline]
|
Find and return an hashedEntry.
Reimplemented in HashSet< Key, Hash >, NamedEnum< Enum, nEnum >, HashSet< label, Hash< label > >, HashSet< word >, NamedEnum< typeOfMatch, 2 >, NamedEnum< sampleMode, 3 >, NamedEnum< algorithm, 3 >, NamedEnum< faceAction, 2 >, NamedEnum< pointAction, 2 >, NamedEnum< vector::components, 3 >, NamedEnum< cellAction, 1 >, NamedEnum< faceAction, 1 >, NamedEnum< setAction, 8 >, NamedEnum< pointAction, 1 >, NamedEnum< heatSourceType, 2 >, NamedEnum< modeType, 2 >, NamedEnum< distributionType, 3 >, NamedEnum< baseType, 2 >, NamedEnum< sourceType, 2 >, NamedEnum< limitControls, 4 >, NamedEnum< sourceType, 3 >, NamedEnum< cellAction, 2 >, NamedEnum< stopAtControls, 4 >, NamedEnum< transformType, 3 >, NamedEnum< outputControls, 2 >, NamedEnum< phaseType, 4 >, NamedEnum< commsTypes, 3 >, NamedEnum< operationType, 7 >, NamedEnum< direction, 2 >, NamedEnum< refineMode, 3 >, NamedEnum< projectMode, 3 >, NamedEnum< writeControls, 5 >, NamedEnum< faceAction, 4 >, and NamedEnum< directionType, 3 >.
Definition at line 121 of file HashTableI.H.
References HashTable< T, Key, Hash >::cend(), Foam::exit(), Foam::FatalError, FatalErrorIn, HashTable< T, Key, Hash >::find(), and HashTable< T, Key, Hash >::toc().
T & operator() | ( | const Key & | key ) | [inline]
|
Find and return an hashedEntry, create it null if not present.
Definition at line 138 of file HashTableI.H.
References HashTable< T, Key, Hash >::end(), HashTable< T, Key, Hash >::find(), HashTable< T, Key, Hash >::insert(), and Foam::T().
Assignment.
Definition at line 581 of file HashTable.C.
References Foam::abort(), HashTable< T, Key, Hash >::cbegin(), HashTable< T, Key, Hash >::cend(), clear(), Foam::FatalError, FatalErrorIn, and insert().
Equality. Two hash tables are equal if all contents of first are.
also in second and vice versa. So does not depend on table size or order!
Definition at line 615 of file HashTable.C.
References HashTable< T, Key, Hash >::cbegin(), HashTable< T, Key, Hash >::cend(), and HashTable< T, Key, Hash >::find().
The opposite of the equality operation. Takes linear time.
Definition at line 646 of file HashTable.C.
References Foam::operator==().
Foam::HashTable< T, Key, Hash >::iterator begin | ( | ) | [inline]
|
iterator set to the begining of the HashTable
Reimplemented in Cloud< ParticleType >, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, and Cloud< BasicReactingParcel< ThermoType > >.
Definition at line 310 of file HashTableI.H.
References Foam::Info, and HashTable< T, Key, Hash >::iterator.
Referenced by genericPointPatchField< Type >::autoMap(), genericFvPatchField< Type >::autoMap(), cellMatcher::calcLocalFaces(), edgeSurface::edgeSurface(), genericPointPatchField< Type >::genericPointPatchField(), surfaceSets::getHangingCells(), Foam::kShellIntegration(), Foam::mapClouds(), Foam::MapConsistentVolFields(), Foam::MapGeometricFields(), fvMeshAdder::MapSurfaceFields(), fvMeshAdder::MapVolFields(), Foam::MapVolFields(), surfaceFeatures::nearestSamples(), fvMeshDistribute::printFieldInfo(), argList::printUsage(), genericPointPatchField< Type >::rmap(), genericFvPatchField< Type >::rmap(), faceCollapser::setRefinement(), refinementIterator::setRefinement(), meshCutter::setRefinement(), meshCutAndRemove::setRefinement(), topoSet::subset(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), Foam::UnMapped(), edgeVertex::updateLabels(), meshCutter::updateMesh(), meshCutAndRemove::updateMesh(), xmgrGraph::write(), jplotGraph::write(), and gnuplotGraph::write().
const Foam::HashTable< T, Key, Hash >::iterator & end | ( | ) | [inline]
|
iterator set to beyond the end of the HashTable
Reimplemented in Cloud< ParticleType >, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, and Cloud< BasicReactingParcel< ThermoType > >.
Definition at line 344 of file HashTableI.H.
Referenced by dictionary::add(), cellTable::addCellZones(), enrichedPatch::calcEnrichedFaces(), dictionary::changeKeyword(), primitiveMesh::checkFaceFaces(), autoSnapDriver::createZoneBaffles(), meshRefinement::decomposeCombineRegions(), edgeSurface::edgeSurface(), genericPointPatchField< Type >::genericPointPatchField(), surfaceSets::getHangingCells(), autoSnapDriver::getZoneSurfacePoints(), cellModeller::lookup(), DictionaryBase< IDLListType, T >::lookup(), dictionary::lookupEntryPtr(), DictionaryBase< IDLListType, T >::lookupPtr(), Foam::mapClouds(), Foam::MapConsistentVolFields(), Foam::MapGeometricFields(), fvMeshAdder::MapSurfaceFields(), fvMeshAdder::MapVolFields(), Foam::MapVolFields(), dictionary::merge(), polyMeshAdder::mergePoints(), slidingInterface::modifyMotionPoints(), polyBoundaryMesh::neighbourEdges(), HashTable< T, Key, Hash >::operator()(), HashTable< T, Key, Hash >::operator[](), fvMeshDistribute::printFieldInfo(), STARCDsurfaceFormat< Face >::read(), OBJsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), Foam::ReadFields(), dictionary::remove(), DictionaryBase< IDLListType, T >::remove(), genericFvPatchField< Type >::rmap(), duplicatePoints::setRefinement(), meshCutter::setRefinement(), meshCutAndRemove::setRefinement(), UnsortedMeshedSurface< Face >::sortedZones(), topoSet::subset(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), Foam::UnMapped(), edgeVertex::updateLabels(), meshReader::warnDuplicates(), cellZone::whichCell(), faceZone::whichFace(), pointZone::whichPoint(), ZoneMesh< ZoneType, MeshType >::whichZone(), xmgrGraph::write(), jplotGraph::write(), and gnuplotGraph::write().
Foam::HashTable< T, Key, Hash >::const_iterator cbegin | ( | ) | const [inline]
|
const_iterator set to the beginning of the HashTable
Reimplemented in Cloud< ParticleType >, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, and Cloud< BasicReactingParcel< ThermoType > >.
Definition at line 491 of file HashTableI.H.
References HashTable< T, Key, Hash >::const_iterator, and Foam::Info.
Referenced by HashTable< T, Key, Hash >::begin(), HashSet< Key, Hash >::HashSet(), HashTable< T, Key, Hash >::HashTable(), HashTable< T, Key, Hash >::operator=(), and HashTable< T, Key, Hash >::operator==().
const Foam::HashTable< T, Key, Hash >::const_iterator & cend | ( | ) | const [inline]
|
const_iterator set to beyond the end of the HashTable
Reimplemented in Cloud< ParticleType >, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, and Cloud< BasicReactingParcel< ThermoType > >.
Definition at line 525 of file HashTableI.H.
Referenced by HashSet< Key, Hash >::HashSet(), HashTable< T, Key, Hash >::HashTable(), HashTable< T, Key, Hash >::operator=(), HashTable< T, Key, Hash >::operator==(), and HashTable< T, Key, Hash >::operator[]().
Foam::HashTable< T, Key, Hash >::const_iterator begin | ( | ) | const [inline]
|
const_iterator set to the beginning of the HashTable
Reimplemented in Cloud< ParticleType >, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, and Cloud< BasicReactingParcel< ThermoType > >.
Definition at line 533 of file HashTableI.H.
References HashTable< T, Key, Hash >::cbegin().
const Foam::HashTable< T, Key, Hash >::const_iterator & end | ( | ) | const [inline]
|
const_iterator set to beyond the end of the HashTable
Reimplemented in Cloud< ParticleType >, Time, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, and Cloud< BasicReactingParcel< ThermoType > >.
Definition at line 541 of file HashTableI.H.
friend class HashPtrTable [friend]
|
Declare friendship with the HashPtrTable class.
Definition at line 145 of file HashTable.H.
friend class iterator [friend]
|
Reimplemented in Cloud< ParticleType >, HashPtrTable< T, Key, Hash >, HashSet< Key, Hash >, Map< T >, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, Cloud< BasicReactingParcel< ThermoType > >, HashPtrTable< IOobject >, HashPtrTable< tensorField >, HashPtrTable< symmTensorField >, HashPtrTable< OFstream >, HashPtrTable< gasThermoPhysics >, HashPtrTable< curve >, HashPtrTable< sphericalTensorField >, HashPtrTable< scalarField >, HashPtrTable< T, label, Hash< label > >, HashPtrTable< ReactionThermo >, HashPtrTable< ThermoType >, HashPtrTable< vectorField >, HashSet< label, Hash< label > >, HashSet< word >, Map< splitCell * >, Map< label >, Map< Pair< edge > >, Map< dictionary >, Map< point >, Map< edge >, and Map< labelList >.
Definition at line 150 of file HashTable.H.
Referenced by HashTable< T, Key, Hash >::begin().
friend class const_iterator [friend]
|
Reimplemented in Cloud< ParticleType >, HashPtrTable< T, Key, Hash >, HashSet< Key, Hash >, Map< T >, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, Cloud< BasicReactingParcel< ThermoType > >, HashPtrTable< IOobject >, HashPtrTable< tensorField >, HashPtrTable< symmTensorField >, HashPtrTable< OFstream >, HashPtrTable< gasThermoPhysics >, HashPtrTable< curve >, HashPtrTable< sphericalTensorField >, HashPtrTable< scalarField >, HashPtrTable< T, label, Hash< label > >, HashPtrTable< ReactionThermo >, HashPtrTable< ThermoType >, HashPtrTable< vectorField >, HashSet< label, Hash< label > >, HashSet< word >, Map< splitCell * >, Map< label >, Map< Pair< edge > >, Map< dictionary >, Map< point >, Map< edge >, and Map< labelList >.
Definition at line 153 of file HashTable.H.
Referenced by HashTable< T, Key, Hash >::cbegin().
Referenced by HashTable< T, Key, Hash >::HashTable().
Referenced by argList::option().