33 const word& entryName,
45 const word& entryName,
52 if (!dict.
found(entryName))
54 dict.
lookup(
"value") >> value_;
62 dict.
lookup(
"value") >> value_;
75 const word& entryName,
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e...
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.
virtual void writeData(Ostream &os) const
Write in dictionary format.
A class for handling words, derived from string.
bool eof() const
Return true if end of input seen.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual ~Constant()
Destructor.
Templated function that returns a constant value.
Constant(const word &entryName, const Type &val)
Construct from entry name and value.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.