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