47 #ifndef EmbeddedTableReader_H
48 #define EmbeddedTableReader_H
56 namespace TableReaders
63 template<
class Coordinate,
class Value>
109 const word& valuesKeyword=
"values"
125 const word& valuesKeyword=
"values"
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base class to read table data for tables.
Reads an interpolation table from the values entry in OpenFOAM-format.
Embedded()
Default construct.
virtual autoPtr< TableReader< Coordinate, Value > > clone() const
Construct and return a copy.
virtual List< Tuple2< Coordinate, Value > > read(const Function1s::unitSets &units, const dictionary &dict, const word &valuesKeyword="values") const
Read values.
TypeName("embedded")
Runtime type information.
virtual ~Embedded()
Destructor.
virtual void write(Ostream &os, const Function1s::unitSets &units, const List< Tuple2< Coordinate, Value >> &table, const word &valuesKeyword="values") const
Write settings and values.
A 2-tuple for storing two objects of different types.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
const HashTable< dimensionSet > table
Table of dimensions.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Struct containing two unitSets for use in converting both the argument and the value of a Function1.