Go to the documentation of this file.
44 io.
readOpt() == IOobject::MUST_READ
45 || io.
readOpt() == IOobject::MUST_READ_IF_MODIFIED
47 || (io.
readOpt() == IOobject::READ_IF_PRESENT && headerOk())
52 this->dimensions().read(
dict.lookup(
"dimensions"), multiplier);
53 dict.lookup(
"value") >> this->value();
54 this->value() *= multiplier;
81 this->dimensions().read(
dict.lookup(
"dimensions"), multiplier);
82 dict.lookup(
"value") >> this->value();
83 this->value() *= multiplier;
101 this->dimensions().
write(os, multiplier) << token::END_STATEMENT
103 os.
writeKeyword(
"value") << this->value()/multiplier << token::END_STATEMENT
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
readOption readOpt() const
virtual Ostream & write(const token &)=0
Write next token to stream.
A list of keyword definitions, which are a keyword followed by any number of values (e....
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Traits class for primitives.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool good() const
Return true if next operation might succeed.
word name(const complex &)
Return a string representation of a complex.