|
|
|
dictionary Class ReferenceInheritance 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 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 68 of file dictionary.H.
Constructor & Destructor Documentation
Construct top-level dictionary null.
Definition at line 30 of file dictionary.C. Referenced by Foam::operator>>(), and 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 92 of file dictionaryIO.C.
Construct top-level dictionary from Istream, reading entries. until EOF Definition at line 104 of file dictionaryIO.C. References dictionary::read(). Here is the call graph for this function: ![]()
Definition at line 87 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 24 of file dictionaryIO.C. References IOstream::bad(), token::BEGIN_BLOCK, IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, IOstream::good(), Foam::Info, dictionary::name(), entry::New(), Istream::putBack(), and dictionary::remove(). Referenced by dictionary::dictionary(). 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 60 of file dictionaryIO.C.
Construct and return clone.
Definition at line 79 of file dictionary.C. Referenced by Foam::operator+(), dictionary::operator<<=(), and dictionary::operator|=(). Here is the caller graph for this function: ![]()
Construct top-level dictionary on freestore from Istream.
Definition at line 116 of file dictionaryIO.C. References inputModeEntry::clear(). Here is the call graph for this function: ![]()
Return the dictionary name.
Reimplemented in fvMesh, dictionaryEntry, IOdictionary, and IOOutputFilter. Definition at line 152 of file dictionary.H. Referenced by dictionary::read(), and IOobject::readHeader(). Here is the caller graph for this function: ![]()
Return the dictionary name.
Reimplemented in dictionaryEntry. Definition at line 158 of file dictionary.H.
Search dictionary for given keyword. If recursive search parent dictionaries Definition at line 121 of file dictionary.C. Referenced by angularOscillatingDisplacementPointPatchVectorField::angularOscillatingDisplacementPointPatchVectorField(), angularOscillatingVelocityPointPatchVectorField::angularOscillatingVelocityPointPatchVectorField(), autoHexMeshDriver::autoHexMeshDriver(), dlLibraryTable::open(), dictionary::operator<<=(), oscillatingVelocityPointPatchVectorField::oscillatingVelocityPointPatchVectorField(), patchIdentifier::patchIdentifier(), Foam::preservePatchTypes(), Time::readDict(), refinementSurfaces::refinementSurfaces(), searchableSurfaces::searchableSurfaces(), 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 Definition at line 139 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 Definition at line 163 of file dictionary.C.
Find and return an entry data stream if present otherwise error. If recursive search parent dictionaries Definition at line 191 of file dictionary.C.
Find and return an entry data stream. If recursive search parent dictionaries Definition at line 214 of file dictionary.C. Referenced by angularOscillatingDisplacementPointPatchVectorField::angularOscillatingDisplacementPointPatchVectorField(), angularOscillatingVelocityPointPatchVectorField::angularOscillatingVelocityPointPatchVectorField(), autoHexMeshDriver::autoHexMeshDriver(), cubeRootVolDelta::correct(), LESModel::correct(), dictionaryEntry::dict(), Foam::dimensionedConstant(), flowRateInletVelocityFvPatchVectorField::flowRateInletVelocityFvPatchVectorField(), fluxCorrectedVelocityFvPatchVectorField::fluxCorrectedVelocityFvPatchVectorField(), lduMatrix::H(), ignition::ignition(), liquidMixture::liquidMixture(), multivariateSelectionScheme::multivariateSelectionScheme(), LESfilter::New(), LESdelta::New(), viscosityModel::New(), scatterModel::New(), absorptionEmissionModel::New(), pdf::New(), laminarFlameSpeed::New(), chemistrySolver::New(), barotropicCompressibilityModel::New(), pointZone::New(), faceZone::New(), cellZone::New(), tetherPotential::New(), pairPotential::New(), energyScalingFunction::New(), HeatTransferModel::New(), SurfaceReactionModel::New(), MassTransferModel::New(), CompositionModel::New(), WallInteractionModel::New(), InjectionModel::New(), DragModel::New(), DispersionModel::New(), DataEntry::New(), IntegrationScheme::New(), wallModel::New(), injectorModel::New(), heatTransferModel::New(), evaporationModel::New(), dragModel::New(), dispersionModel::New(), collisionModel::New(), breakupModel::New(), atomizationModel::New(), engineMesh::New(), polyMeshModifier::New(), solidBodyMotionFunction::New(), dynamicFvMesh::New(), dlLibraryTable::open(), laplaceFilter::operator()(), anisotropicFilter::operator()(), dictionary::operator=(), oscillatingVelocityPointPatchVectorField::oscillatingVelocityPointPatchVectorField(), patchIdentifier::patchIdentifier(), pressureInletVelocityFvPatchVectorField::pressureInletVelocityFvPatchVectorField(), Time::readDict(), DimensionedField::readField(), refinementSurfaces::refinementSurfaces(), searchableSurfaces::searchableSurfaces(), Foam::setRefCell(), tolerances::solverRelativeTolerance(), tolerances::solverRelativeTolerances(), fvMotionSolverEngineMesh::~fvMotionSolverEngineMesh(), laminarFlameSpeed::~laminarFlameSpeed(), layeredEngineMesh::~layeredEngineMesh(), and sampledSurface::~sampledSurface(). Here is the caller graph for this function: ![]()
Find and return a T,. if not found return the given default value If recursive search parent dictionaries Definition at line 25 of file dictionaryTemplates.C. References dictionary::lookupEntryPtr(). Referenced by sampledPatch::~sampledPatch(). 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 Definition at line 46 of file dictionaryTemplates.C. References entry::stream(). Referenced by Switch::lookupOrAddToDict(). Here is the call graph for this function: ![]() Here is the caller graph for this function: ![]()
Find an entry if present, and assign to T. Returns true if the entry was found Definition at line 68 of file dictionaryTemplates.C. Referenced by dimensioned::operator[](). Here is the caller graph for this function: ![]()
Check if entry is a sub-dictionary.
Definition at line 223 of file dictionary.C. Referenced by searchableSurfaces::searchableSurfaces(). Here is the caller graph for this function: ![]()
Find and return a sub-dictionary pointer if present. otherwise return NULL. Definition at line 238 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 253 of file dictionary.C. Referenced by smoothDelta::correct(), cubeRootVolDelta::correct(), anisotropicFilter::operator()(), laplaceFilter::operator()(), Foam::preservePatchTypes(), and searchableSurfaces::searchableSurfaces(). 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 306 of file dictionary.C. Referenced by dictionary::add(), autoHexMeshDriver::autoHexMeshDriver(), Foam::dimensionedConstant(), dictionary::operator<<=(), dictionary::operator|=(), Foam::preservePatchTypes(), 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 365 of file dictionary.C. Add a word entry. optionally overwrite an existing entry Definition at line 370 of file dictionary.C. Add a string entry. optionally overwrite an existing entry Definition at line 375 of file dictionary.C. References dictionary::add(). Here is the call graph for this function: ![]()
Add a label entry. optionally overwrite an existing entry Definition at line 380 of file dictionary.C. References dictionary::add(). Here is the call graph for this function: ![]()
Add a scalar entry. optionally overwrite an existing entry Definition at line 385 of file dictionary.C. References dictionary::add(). Here is the call graph for this function: ![]()
Add a dictionary entry. optionally merge with an existing sub-dictionary Definition at line 390 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 89 of file dictionaryTemplates.C.
Assign a new entry, overwrite any existing entry.
Definition at line 396 of file dictionary.C. Referenced by Foam::operator+(). Here is the caller graph for this function: ![]()
Assign a dictionary entry, overwrite any existing entry.
Definition at line 414 of file dictionary.C.
Assign a T entry, overwrite any existing entry.
Definition at line 96 of file dictionaryTemplates.C. References dictionary::add(). Here is the call graph for this function: ![]()
Remove an entry specified by keyword.
Definition at line 420 of file dictionary.C. Referenced by autoHexMeshDriver::autoHexMeshDriver(), and dictionary::read(). Here is the caller graph for this function: ![]()
Change the keyword for an entry,. optionally forcing overwrite of an existing entry Definition at line 440 of file dictionary.C.
Merge entries from the given dictionary. Also merge sub-dictionaries as required. Definition at line 491 of file dictionary.C.
Definition at line 139 of file dictionaryIO.C. Referenced by Foam::operator<<(). Here is the caller graph for this function: ![]()
Definition at line 558 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 595 of file dictionary.C.
Conditionally include entries from the given dictionary. Do not overwrite existing entries. Definition at line 617 of file dictionary.C. References dictionary::add(), and dictionary::clone(). Here is the call graph for this function: ![]()
Unconditionally include entries from the given dictionary. Overwrite existing entries. Definition at line 642 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
Member Data Documentation
Null dictionary.
Definition at line 107 of file dictionary.H. Referenced by cellModel::cellModel(), fieldAverageItem::fieldAverageItem(), entry::operator=(), primitiveEntry::primitiveEntry(), and primitiveEntry::write().
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||