HashTableCore Class Reference

Bits that are independent of HashTable template parameters. More...

Inherited by HashTable< T * >, HashTable< T, edge, Hash< edge > >, HashTable< T *, word, Foam::Hash< word > >, HashTable< zero::null, Key, Foam::Hash< Key > >, HashTable< IOobject *, word, Foam::Hash< word > >, HashTable< T, label, Hash< label > >, HashTable< T *, label, Hash< label > >, HashTable< scalar >, HashTable< dictionary, label, Hash< label > >, HashTable< interfaceEntry, label, Hash< label > >, HashTable< label, label, Hash< label > >, HashTable< exprResult *, word, Foam::Hash< word > >, HashTable< curve *, word, Foam::Hash< word > >, HashTable< const GeometricField< Type, fvPatchField, volMesh > * >, HashTable< regIOobject * >, HashTable< label, extendedFeatureEdgeMesh::edgeStatus, Hash< label > >, HashTable< zero::null, labelPairPair, Foam::Hash< labelPairPair > >, HashTable< wordList >, HashTable< simpleObjectRegistryEntry * >, HashTable< label >, HashTable< Pair< autoPtr< BlendedInterfacialModel< massTransferModel > > >, phasePairKey, phasePairKey::hash >, HashTable< autoPtr< interfaceCompositionModel >, phasePairKey, phasePairKey::hash >, HashTable< HashPtrTable< volScalarField > *, phasePairKey, phasePairKey::hash >, HashTable< volScalarField *, phasePairKey, phasePairKey::hash >, HashTable< surfaceScalarField *, phasePairKey, phasePairKey::hash >, HashTable< Foam::GeometricField *, word, Foam::Hash< word > >, HashTable< autoPtr< BlendedInterfacialModel< dragModel > >, phasePairKey, phasePairKey::hash >, HashTable< autoPtr< BlendedInterfacialModel< virtualMassModel > >, phasePairKey, phasePairKey::hash >, HashTable< autoPtr< BlendedInterfacialModel< liftModel > >, phasePairKey, phasePairKey::hash >, HashTable< autoPtr< BlendedInterfacialModel< wallLubricationModel > >, phasePairKey, phasePairKey::hash >, HashTable< autoPtr< BlendedInterfacialModel< turbulentDispersionModel > >, phasePairKey, phasePairKey::hash >, HashTable< autoPtr< BlendedInterfacialModel< heatTransferModel > >, phasePairKey, phasePairKey::hash >, HashTable< label, labelPair, Foam::Hash< labelPair > >, HashTable< autoPtr< BlendedInterfacialModel< phaseTransferModel > >, phasePairKey, phasePairKey::hash >, HashTable< DataType, KeyType >, HashTable< ThermoType *, word, Foam::Hash< word > >, HashTable< Foam::GeometricField *, Foam::phasePairKey, Foam::phasePairKey::hasher >, HashTable< Pair< autoPtr< BlendedInterfacialModel< heatTransferModel > > >, phasePairKey, phasePairKey::hash >, HashTable< Foam::List >, HashTable< interfaceThetaProps, multiphaseMixtureThermo::interfacePair, multiphaseMixtureThermo::interfacePair::hash >, HashTable< const Foam::faMesh * >, HashTable< Foam::surfaceWriter *, word, Foam::Hash< word > >, HashTable< Foam::string >, HashTable< zero::null, Foam::string, Foam::Hash< Foam::string > >, HashTable< std::pair< Foam::word, int > >, HashTable< std::pair< bool, int > >, HashTable< Foam::string, label, Foam::Hash< label > >, HashTable< zero::null, label, Hash< label > >, HashTable< Foam::dimensioned >, HashTable< Foam::List, edge, Hash< edge > >, HashTable< zero::null, word, Hash< word > >, HashTable< Foam::edge, label, Hash< label > >, HashTable< int >, HashTable< phase >, HashTable< Foam::sutherlandTransport *, word, Foam::Hash< word > >, HashTable< List< specieElement > >, HashTable< Foam::colourTable *, word, Foam::Hash< word > >, HashTable< autoPtr< phasePair >, phasePairKey, phasePairKey::hash >, HashTable< Foam::entry * >, HashTable< Foam::coordSystem::cylindrical *, label, Hash< label > >, HashTable< Foam::word >, HashTable< Foam::Vector, label, Hash< label > >, HashTable< scalar, label, Hash< label > >, HashTable< Foam::HashTable< Foam::string > >, HashTable< Foam::ensightCells, label, Hash< label > >, HashTable< Foam::ensightFaces, label, Hash< label > >, HashTable< Foam::expressions::exprResult >, HashTable< Foam::refPtr< Foam::Function1< scalar > > >, HashTable< Foam::refPtr< Foam::Function1< Foam::Vector > > >, HashTable< const regIOobject * >, HashTable< Foam::expressions::exprResultGlobals::Table >, HashTable< Foam::expressions::exprResultDelayed >, HashTable< labelList, edge, Hash< edge > >, HashTable< label, Foam::string >, HashTable< Foam::FixedList< int, 6 >, label, Hash< label > >, HashTable< Foam::DynamicList< Foam::instant > *, word, Foam::Hash< word > >, HashTable< uint32_t >, HashTable< Foam::functionObjects::forceCoeffs::coeffDesc >, HashTable< Foam::vtk::seriesWriter, Foam::fileName >, HashTable< const Foam::fvMesh * >, HashTable< Foam::Function1< Type > *, word, Foam::Hash< word > >, HashTable< Foam::Function1< scalar > *, word, Foam::Hash< word > >, HashTable< Foam::expressions::exprString >, HashTable< Foam::expressions::volumeExpr::parseDriver *, word, Foam::Hash< word > >, HashTable< Foam::Field *, word, Foam::Hash< word > >, HashTable< Foam::autoPtr< Foam::multiphaseInter::interfaceCompositionModel > >, HashTable< label, edge, Hash< edge > >, HashTable< Foam::lumpedPointController *, word, Foam::Hash< word > >, HashTable< patchControl, label, Hash< label > >, HashTable< surfaceZonesInfo::faceZoneType >, HashTable< interfaceThetaProps, multiphaseSystem::interfacePair, multiphaseSystem::interfacePair::symmHash >, HashTable< scalar, phasePairKey, phasePairKey::hash >, HashTable< surfaceScalarField >, HashTable< volScalarField::Internal >, HashTable< autoPtr< multiphaseInter::phaseModel > >, HashTable< autoPtr< multiphaseInter::surfaceTensionModel >, phasePairKey, phasePairKey::hash >, HashTable< autoPtr< porousModel >, phasePairKey, phasePairKey::hash >, HashTable< Foam::phase * >, HashTable< scalar, interfacePair, interfacePair::hash >, HashTable< Foam::phaseModel * >, HashTable< scalar, interfacePair, interfacePair::symmHash >, HashTable< multiphaseEuler::dragModel *, interfacePair, interfacePair::symmHash >, HashTable< scalar, edge, Hash< edge > >, HashTable< phaseModel * >, HashTable< autoPtr< blendingMethod > >, HashTable< autoPtr< reactingMultiphaseEuler::surfaceTensionModel >, phasePairKey, phasePairKey::hash >, HashTable< autoPtr< aspectRatioModel >, phasePairKey, phasePairKey::hash >, HashTable< Foam::OFstream *, word, Foam::Hash< word > >, HashTable< autoPtr< reflectionModel >, phasePairKey, phasePairKey::hash >, HashTable< zero::null, edge, Hash< edge > >, HashTable< interfaceThetaProps, phasePairKey, phasePairKey::hash >, HashTable< edge >, HashTable< loadFormat >, HashTable< Foam::autoPtr< Foam::blendingMethod > >, HashTable< Foam::splitCell *, label, Hash< label > >, HashTable< zero::null, Foam::fileName, Foam::Hash< Foam::fileName > >, and HashTable< T, Key, Hash >.

Classes

class  const_iterator_pair
 Factory class for creating a begin/end pair for any const iterator. More...
 

Public Member Functions

 ClassName ("HashTable")
 Declare type-name (with debug switch) More...
 
 HashTableCore ()=default
 Default construct. More...
 

Static Public Member Functions

static label canonicalSize (const label requested_size)
 Return a canonical (power-of-two) of the requested size. More...
 

Static Public Attributes

static const label maxTableSize
 Maximum allowable internal table size. Approximately labelMax/4. More...
 

Detailed Description

Bits that are independent of HashTable template parameters.

Template invariant parts of hash table implementation.

Source files

Definition at line 56 of file HashTableCore.H.

Constructor & Destructor Documentation

◆ HashTableCore()

HashTableCore ( )
default

Default construct.

Member Function Documentation

◆ canonicalSize()

Foam::label canonicalSize ( const label  requested_size)
static

Return a canonical (power-of-two) of the requested size.

Definition at line 45 of file HashTableCore.C.

References HashTableCore::maxTableSize.

Referenced by HashTable< T, Key, Hash >::resize().

Here is the caller graph for this function:

◆ ClassName()

ClassName ( "HashTable"  )

Declare type-name (with debug switch)

Member Data Documentation

◆ maxTableSize

const Foam::label maxTableSize
static

Maximum allowable internal table size. Approximately labelMax/4.

Definition at line 59 of file HashTableCore.H.

Referenced by HashTableCore::canonicalSize().


The documentation for this class was generated from the following files: