35 ro == IOobject::MUST_READ
36 || ro == IOobject::MUST_READ_IF_MODIFIED
37 || (ro == IOobject::READ_IF_PRESENT && headerOk())
42 this->dimensions().read(
dict.lookup(
"dimensions"));
44 this->value() =
dict.lookup<Type>(
"value", this->dimensions());
106 this->storeOldTimes();
175 return this->value();
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
readOption
Enumeration defining the read options.
readOption readOpt() const
bool good() const
Return true if next operation might succeed.
Class to add into field types to provide old-time storage and retrieval.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Generic dimensioned Type class.
const Type & value() const
Return const reference to value.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
const dimensionSet dimless
bool read(const char *, int32_t &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Ostream & writeKeyword(Foam::Ostream &os, const keyType &kw)
Write the keyword to the Ostream with the current level of indentation.
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.