59 const word& wantedType,
81 baseIOdictionary(
io, is)
102 index = files_.find(
f);
106 index = files_.size();
129 <<
"Object " << objectPath() <<
" of type " <<
type()
130 <<
" already watched" <<
nl
136 const bool masterOnly
readOption readOpt() const noexcept
Get the read option.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static bool fileModificationChecking_masterOnly() noexcept
Test fileModificationChecking for master-only.
fileName objectPath() const
The complete path + object name.
@ ASCII
"ascii" (normal default)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool empty() const noexcept
True if List is empty (ie, size() is zero).
static bool parRun(const bool on) noexcept
Set as parallel run on/off.
@ broadcast
broadcast [MPI]
baseIOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO function...
baseIOdictionary(const baseIOdictionary &)=default
Copy construct.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void operator=(const dictionary &rhs)
Copy assignment.
A class for handling file names.
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.
virtual bool global() const
The object is global.
virtual fileName filePath() const
Return complete path + object name if the file exists either in the case/processor or case otherwise ...
virtual void addWatch()
Add file watch on object (READ_IF_MODIFIED).
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
errorManip< error > abort(error &err)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
constexpr char nl
The newline '\n' character (0x0a).