56 const word& wantedType,
78 baseIOdictionary(
io, is)
102 const word& wantedType
111 localIOdictionary reader
114 (wantedType.empty() ?
typeName : wantedType)
@ NO_REGISTER
Do not request registration (bool: false).
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.
static dictionary readContents(const IOobject &io)
Read and return contents, testing for "dictionary" type. The IOobject will not be registered.
localIOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
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")