Go to the documentation of this file.
36 const word& entryName,
49 const word& entryName,
57 const entry* eptr =
dict.findEntry(entryName, keyType::LITERAL);
71 dict.checkITstream(is, entryName);
78 dict.readEntry(
"value", value_);
86 const word& entryName,
A keyword and a list of tokens is an 'entry'.
A class for handling words, derived from Foam::string.
virtual ITstream & stream() const =0
Return token stream, if entry is a primitive entry.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
virtual bool isStream() const noexcept
Return true if this entry is a stream.
virtual void writeData(Ostream &os) const
Write as primitive (inline) format.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
bool isWord() const noexcept
Token is word-variant (WORD, DIRECTIVE)
Registry of regIOobjects.
Templated function that returns a constant value.
An input stream of tokens.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual void writeData(Ostream &os) const
Write in dictionary format.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
void skip(label n=1)
Move tokenIndex relative to the current position.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Constant(const word &entryName, const Type &value, const objectRegistry *obrPtr=nullptr)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Type value(const scalar) const
Return constant value.
const token & peek() const
Failsafe peek at what the next read would return,.