Go to the documentation of this file.
62 if (
dict.digest() != digests_[dictI])
68 IOobject::writeDivider(
Info);
75 IOobject::writeDivider(
Info);
77 digests_[dictI] =
dict.digest();
94 const bool loadFromFiles
120 dictNames_ = uniqueNames.
toc();
124 Info<<
type() <<
" " << name_ <<
": monitoring dictionaries:" <<
nl;
125 if (dictNames_.size())
129 Info<<
" " << dictNames_[i] <<
endl;
142 bool firstDict =
true;
145 if (obr_.foundObject<
dictionary>(dictNames_[i]))
170 bool processed = tryDirectory(i, obr_.time().timeName(), firstDict);
174 processed = tryDirectory(i, obr_.time().constant(), firstDict);
179 processed = tryDirectory(i, obr_.time().system(), firstDict);
184 Info<<
" Unable to locate dictionary " << dictNames_[i]
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const word dictName() const
Return the local dictionary name (final part of scoped name)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual void read(const dictionary &)
Read the writeDictionary data.
A class for handling words, derived from string.
List< Key > toc() const
Return the table of contents.
#define forAll(list, i)
Loop across all elements in list.
bool read(const char *, int32_t &)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A HashTable with keys but without contents.
writeDictionary(const writeDictionary &)
Disallow default bitwise copy construct.
Registry of regIOobjects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void end()
Execute at the final time-loop, currently does nothing.
virtual void timeSet()
Called when time was set at the end of the Time::operator++.
virtual void execute()
Execute, currently does nothing.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void write()
Write the writeDictionary.
static Stream & writeDivider(Stream &os)
Write the standard file section divider.
void setSize(const label)
Reset size of List.
bool tryDirectory(const label dictI, const word &location, bool &firstDict)
Helper function to write the dictionary if found at location.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual ~writeDictionary()
Destructor.
SHA1Digest digest() const
Return the SHA1 digest of the dictionary contents.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
defineTypeNameAndDebug(combustionModel, 0)
IOobject dictIO(dictName, runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE)
word name(const complex &)
Return a string representation of a complex.