59 const word& wantedType,
102 index = files_.find(
f);
106 index = files_.size();
118 fileName
f = filePath();
129 <<
"Object " << objectPath() <<
" of type " <<
type()
130 <<
" already watched" <<
nl 136 const bool masterOnly
unwatchedIOdictionary is like IOdictionary but stores dependencies as files instead of fileMonitor wa...
A class for handling file names.
baseIOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO function...
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
constexpr char nl
The newline '\n' character (0x0a)
bool empty() const noexcept
True if List is empty (ie, size() is zero)
static bool & parRun() noexcept
Test if this a parallel run.
static void broadcast(Type &value, const int communicator=UPstream::worldComm)
Broadcast content (contiguous or non-contiguous) to all communicator ranks. Does nothing in non-paral...
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static bool fileModificationChecking_masterOnly() noexcept
Test fileModificationChecking for master-only.
void operator=(const dictionary &rhs)
Copy assignment.
A class for handling words, derived from Foam::string.
virtual void addWatch()
Add file watch on object (READ_IF_MODIFIED)
errorManip< error > abort(error &err)
Defines the attributes of an object for which implicit objectRegistry management is supported...
bool readHeaderOk(const IOstreamOption::streamFormat fmt, const word &typeName)
Helper: check readOpt flags and read if necessary.
unwatchedIOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.