33 const word& entryName,
39 if (!dict.
found(entryName))
41 dict.
lookup(
"values") >> this->table_;
49 dict.
lookup(
"values") >> this->table_;
66 const word& interpolationScheme,
101 os <<
indent <<
"values" << this->table_
102 << token::END_STATEMENT <<
endl;
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 2-tuple for storing two objects of different types.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void writeEntries(Ostream &os) const
Write entries only in dictionary format.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
Templated table container function.
Table(const word &entryName, const dictionary &dict)
Construct from entry name and Istream.
A class for handling words, derived from string.
virtual ~Table()
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
boundsHandling
Enumeration for handling out-of-bound values.
word name(const complex &)
Return a string representation of a complex.
Base class for table with bounds handling, interpolation and integration.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.