|
|
|
dictionary Class ReferenceA list of keyword definitions, which are a keyword followed by any number of values (e.g. words and numbers). The keywords can represent patterns which are matched using Posix regular expressions. The general order for searching is as follows:
Inheritance diagram for dictionary:
![]()
Collaboration diagram for dictionary:
![]()
Detailed DescriptionA list of keyword definitions, which are a keyword followed by any number of values (e.g. words and numbers). The keywords can represent patterns which are matched using Posix regular expressions. The general order for searching is as follows:
The dictionary class is the base class for IOdictionary. It also serves as a bootstrap dictionary for the objectRegistry data dictionaries since, unlike the IOdictionary class, it does not use an objectRegistry itself to work.
Definition at line 76 of file dictionary.H. Constructor & Destructor Documentation
Construct top-level dictionary null.
Definition at line 97 of file dictionary.C. Referenced by dictionary::~dictionary().
Here is the caller graph for this function:
![]()
Construct from the parent dictionary and Istream, reading entries. until lastEntry or EOF Definition at line 88 of file dictionaryIO.C.
Construct top-level dictionary from Istream, reading entries. until EOF Definition at line 100 of file dictionaryIO.C. References dictionary::read().
Here is the call graph for this function:
![]()
Construct top-level dictionary as copy from pointer to dictionary. A null pointer is treated like an empty dictionary. Definition at line 155 of file dictionary.C.
Construct by transferring parameter contents given parent dictionary.
Definition at line 169 of file dictionary.C.
Construct top-level dictionary by transferring parameter contents.
Definition at line 181 of file dictionary.C. References dictionary::transfer().
Here is the call graph for this function:
![]()
Definition at line 199 of file dictionary.C. References dictionary::dictionary().
Here is the call graph for this function:
![]()
Member Function Documentation
Read dictionary from Istream.
Definition at line 25 of file dictionaryIO.C. References IOstream::bad(), token::BEGIN_BLOCK, IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, IOstream::good(), Foam::Info, dictionary::name(), dictionary::New(), and Istream::putBack(). Referenced by dictionary::dictionary(), and includeIfPresentEntry::execute().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Substitute the given keyword prepended by '$' with the. corresponding sub-dictionary entries Definition at line 61 of file dictionaryIO.C.
Construct and return clone.
Definition at line 191 of file dictionary.C. References dictionary::transfer(). Referenced by dictionary::operator+=(), and dictionary::operator<<=().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Construct top-level dictionary on freestore from Istream.
Definition at line 112 of file dictionaryIO.C. References inputModeEntry::clear(). Referenced by dictionary::read().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Return the dictionary name.
Reimplemented in timeActivatedExplicitSource, fvMesh, dictionaryEntry, IOOutputFilter< OutputFilter >, and IOdictionary. Definition at line 198 of file dictionary.H. Referenced by dictionary::read().
Here is the caller graph for this function:
![]()
Return the dictionary name.
Reimplemented in dictionaryEntry. Definition at line 204 of file dictionary.H.
Return line number of first token in dictionary.
Reimplemented in dictionaryEntry. Definition at line 207 of file dictionary.C.
Return line number of last token in dictionary.
Reimplemented in dictionaryEntry. Definition at line 220 of file dictionary.C.
Search dictionary for given keyword. If recursive, search parent dictionaries Definition at line 247 of file dictionary.C. Referenced by autoHexMeshDriver::autoHexMeshDriver(), dlLibraryTable::open(), dictionary::operator<<=(), Foam::preservePatchTypes(), Time::readDict(), refinementSurfaces::refinementSurfaces(), searchableSurfaces::searchableSurfaces(), Foam::setRefCell(), and tolerances::solverTolerance().
Here is the caller graph for this function:
![]()
Find and return an entry data stream pointer if present. otherwise return NULL. If recursive, search parent dictionaries. If patternMatch, use regular expressions Definition at line 282 of file dictionary.C. Referenced by dictionary::lookupOrDefault().
Here is the caller graph for this function:
![]()
Find and return an entry data stream pointer for manipulation. if present otherwise return NULL. If recursive, search parent dictionaries. If patternMatch, use regular expressions. Definition at line 321 of file dictionary.C.
Find and return an entry data stream if present otherwise error. If recursive, search parent dictionaries. If patternMatch, use regular expressions. Definition at line 365 of file dictionary.C. Referenced by dictionary::isDict().
Here is the caller graph for this function:
![]()
Find and return an entry data stream. If recursive, search parent dictionaries. If patternMatch, use regular expressions. Definition at line 389 of file dictionary.C. Referenced by activeBaffleVelocityFvPatchVectorField::activeBaffleVelocityFvPatchVectorField(), autoHexMeshDriver::autoHexMeshDriver(), cubeRootVolDelta::correct(), IDDESDelta::correct(), dictionaryEntry::dict(), Foam::dimensionedConstant(), staticPressure::execute(), FreeStream< CloudType >::FreeStream(), ignition::ignition(), liquidMixture::liquidMixture(), fieldMinMax::makeFile(), multivariateSelectionScheme< Type >::multivariateSelectionScheme(), viscosityModel::New(), hReactionThermo::New(), hhuCombustionThermo::New(), hCombustionThermo::New(), scatterModel::New(), absorptionEmissionModel::New(), radiationModel::New(), pdf::New(), laminarFlameSpeed::New(), rhoChemistryModel::New(), psiChemistryModel::New(), basicRhoThermo::New(), basicPsiThermo::New(), barotropicCompressibilityModel::New(), pointZone::New(), faceZone::New(), cellZone::New(), tetherPotential::New(), pairPotential::New(), energyScalingFunction::New(), HeatTransferModel< CloudType >::New(), SurfaceReactionModel< CloudType >::New(), DevolatilisationModel< CloudType >::New(), PhaseChangeModel< CloudType >::New(), CompositionModel< CloudType >::New(), PostProcessingModel< CloudType >::New(), PatchInteractionModel< CloudType >::New(), InjectionModel< CloudType >::New(), DragModel< CloudType >::New(), DispersionModel< CloudType >::New(), DataEntry< Type >::New(), IntegrationScheme< Type >::New(), WallInteractionModel< CloudType >::New(), InflowBoundaryModel< CloudType >::New(), BinaryCollisionModel< CloudType >::New(), wallModel::New(), injectorModel::New(), heatTransferModel::New(), evaporationModel::New(), dragModel::New(), dispersionModel::New(), collisionModel::New(), breakupModel::New(), atomizationModel::New(), SRFModel::New(), engineMesh::New(), polyMeshModifier::New(), solidBodyMotionFunction::New(), dynamicFvMesh::New(), dlLibraryTable::open(), laplaceFilter::operator()(), anisotropicFilter::operator()(), dictionary::operator=(), phaseProperties::phaseProperties(), pointSourceProperties::pointSourceProperties(), Foam::preservePatchTypes(), Time::readDict(), DimensionedField< Type, GeoMesh >::readField(), IOobject::readHeader(), refinementSurfaces::refinementSurfaces(), searchableSurfaces::searchableSurfaces(), Foam::setRefCell(), tolerances::solverRelativeTolerance(), tolerances::solverRelativeTolerances(), fvMotionSolverEngineMesh::~fvMotionSolverEngineMesh(), laminarFlameSpeed::~laminarFlameSpeed(), and layeredEngineMesh::~layeredEngineMesh().
Find and return a T,. if not found return the given default value If recursive, search parent dictionaries. If patternMatch, use regular expressions. Definition at line 25 of file dictionaryTemplates.C. References dictionary::lookupEntryPtr(), and entry::stream(). Referenced by dimensioned< Type >::lookupOrAddToDict(), fieldMinMax::makeFile(), GAMGPreconditioner::precondition(), solver::read(), and smoothSolver::solve().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Find and return a T, if not found return the given. default value, and add to dictionary. If recursive, search parent dictionaries. If patternMatch, use regular expressions. Definition at line 47 of file dictionaryTemplates.C. Referenced by Foam::debug::infoSwitch(), Foam::debug::optimisationSwitch(), and Switch::readIfPresent().
Here is the caller graph for this function:
![]()
Find an entry if present, and assign to T. Returns true if the entry was found. If recursive, search parent dictionaries. If patternMatch, use regular expressions. Definition at line 70 of file dictionaryTemplates.C. References dictionary::add(). Referenced by staticPressure::execute(), chemistryReader< ThermoType >::New(), coordinateSystem::New(), dimensioned< Type >::operator[](), patchIdentifier::patchIdentifier(), Foam::preservePatchTypes(), Time::readDict(), boundaryRegion::readDict(), IOobject::readHeader(), searchableSurfaces::searchableSurfaces(), surfZoneIdentifier::surfZoneIdentifier(), and sampledSurface::~sampledSurface().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Check if entry is a sub-dictionary.
Definition at line 399 of file dictionary.C. References dictionary::lookupEntry(), and entry::stream(). Referenced by searchableSurfaces::searchableSurfaces().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Find and return a sub-dictionary pointer if present. otherwise return NULL. Definition at line 415 of file dictionary.C. Referenced by liquidMixture::liquidMixture().
Here is the caller graph for this function:
![]()
Find and return a sub-dictionary.
Definition at line 430 of file dictionary.C. Referenced by smoothDelta::correct(), cubeRootVolDelta::correct(), IDDESDelta::correct(), laplaceFilter::operator()(), anisotropicFilter::operator()(), Foam::preservePatchTypes(), and searchableSurfaces::searchableSurfaces().
Here is the caller graph for this function:
![]()
Return the table of contents.
Definition at line 466 of file dictionary.C. Referenced by FreeStream< CloudType >::FreeStream().
Here is the caller graph for this function:
![]()
Add a new entry. With the merge option, dictionaries are interwoven and primitive entries are overwritten Definition at line 498 of file dictionary.C. Referenced by dictionary::add(), autoHexMeshDriver::autoHexMeshDriver(), Foam::dimensionedConstant(), dictionary::operator+=(), dictionary::operator<<=(), Foam::preservePatchTypes(), dictionary::readIfPresent(), and dictionary::set().
Here is the caller graph for this function:
![]()
Add an entry. With the merge option, dictionaries are interwoven and primitive entries are overwritten Definition at line 579 of file dictionary.C. optionally overwrite an existing entry Definition at line 585 of file dictionary.C. optionally overwrite an existing entry Definition at line 592 of file dictionary.C. References dictionary::add().
Here is the call graph for this function:
![]() optionally overwrite an existing entry Definition at line 602 of file dictionary.C. References dictionary::add().
Here is the call graph for this function:
![]() optionally overwrite an existing entry Definition at line 608 of file dictionary.C.
Add a dictionary entry. optionally merge with an existing sub-dictionary Definition at line 615 of file dictionary.C. References dictionary::add().
Here is the call graph for this function:
![]()
Add a T entry. optionally overwrite an existing entry Definition at line 92 of file dictionaryTemplates.C.
Assign a new entry, overwrite any existing entry.
Definition at line 625 of file dictionary.C. References dictionary::add().
Here is the call graph for this function:
![]()
Assign a new entry, overwrite any existing entry.
Definition at line 638 of file dictionary.C. References dictionary::clear(), and entry::dict().
Here is the call graph for this function:
![]()
Assign a dictionary entry, overwrite any existing entry.
Definition at line 644 of file dictionary.C.
Assign a T entry, overwrite any existing entry.
Definition at line 99 of file dictionaryTemplates.C. References dictionary::add().
Here is the call graph for this function:
![]()
Remove an entry specified by keyword.
Definition at line 650 of file dictionary.C. Referenced by autoHexMeshDriver::autoHexMeshDriver().
Here is the caller graph for this function:
![]()
Change the keyword for an entry,. optionally forcing overwrite of an existing entry Definition at line 683 of file dictionary.C.
Merge entries from the given dictionary. Also merge sub-dictionaries as required. Definition at line 774 of file dictionary.C.
Clear the dictionary.
Reimplemented from ILList< DLListBase, entry >. Definition at line 819 of file dictionary.C. Referenced by dictionary::set(), and dictionary::transfer().
Here is the caller graph for this function:
![]()
Transfer the contents of the argument and annull the argument.
Definition at line 828 of file dictionary.C. References LList< LListBase, T >::clear(), HashTable< T, Key, Hash >::clear(), and dictionary::clear(). Referenced by dictionary::clone(), and dictionary::dictionary().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Definition at line 134 of file dictionaryIO.C.
Find and return entry.
Definition at line 849 of file dictionary.C. References Foam::xferMove().
Here is the call graph for this function:
![]()
Definition at line 855 of file dictionary.C. References dictionary::lookup().
Here is the call graph for this function:
![]()
Include entries from the given dictionary. Warn, but do not overwrite existing entries. Definition at line 878 of file dictionary.C. References dictionary::add(), and dictionary::clone().
Here is the call graph for this function:
![]()
Conditionally include entries from the given dictionary. Do not overwrite existing entries. Definition at line 895 of file dictionary.C.
Unconditionally include entries from the given dictionary. Overwrite existing entries. Definition at line 915 of file dictionary.C. References dictionary::add(), dictionary::clone(), and dictionary::found().
Here is the call graph for this function:
![]()
Friends And Related Function Documentation
Read dictionary from Istream.
Write dictionary to Ostream.
Member Data Documentation
Null dictionary.
Definition at line 141 of file dictionary.H. Referenced by cellModel::cellModel(), basicThermo::Cv(), basicThermo::e(), fieldAverageItem::fieldAverageItem(), basicThermo::h(), basicThermo::mu(), entry::operator=(), phaseProperties::phaseProperties(), pointSourceProperties::pointSourceProperties(), primitiveEntry::primitiveEntry(), and primitiveEntry::write().
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||