59 const word& wantedType,
81 baseIOdictionary(
io, is)
105 const word& wantedType
115 rio.globalObject(
true);
120 (wantedType.empty() ?
typeName : wantedType)
static dictionary readContents(const IOobject &io)
Read and return contents, testing for "dictionary" type. The IOobject will not be registered.
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
@ NO_REGISTER
Do not request registration (bool: false).
bool globalObject() const noexcept
True if object is treated the same for all processors.
readOption readOpt() const noexcept
Get the read option.
@ MUST_READ
Reading required.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
@ ASCII
"ascii" (normal default)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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.
virtual void addWatch()
Add file watch on object (if registered and READ_IF_MODIFIED).
bool readHeaderOk(const IOstreamOption::streamFormat fmt, const word &typeName)
Helper: check readOpt flags and read if necessary.
A class for handling words, derived from Foam::string.
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")