114 #define defineTableReader(Type) \ 116 defineNamedTemplateTypeNameAndDebug(TableReader<Type>, 0); \ 118 defineTemplateRunTimeSelectionTable(TableReader<Type>, dictionary); 121 #define makeTableReader(SS, Type) \ 123 defineNamedTemplateTypeNameAndDebug(TableReaders::SS<Type>, 0); \ 125 TableReader<Type>::adddictionaryConstructorToTable<TableReaders::SS<Type>> \ 126 add##SS##Type##ConstructorToTable_; 128 #define makeTableReaders(Type) \ 129 defineTableReader(Type); \ 130 makeTableReader(Embedded, Type); \ 131 makeTableReader(Foam, Type); \ 132 makeTableReader(Csv, Type) Base class to read table data for tables.
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...
declareRunTimeSelectionTable(autoPtr, TableReader, dictionary,(const word &name, const dictionary &dict, List< Tuple2< scalar, Type >> &table),(name, dict, table))
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
word name(const complex &)
Return a string representation of a complex.
TableReader(const dictionary &dict)
Construct from dictionary.
virtual autoPtr< TableReader< Type > > clone() const =0
Construct and return a clone.
TypeName("TableReader")
Runtime type information.
virtual ~TableReader()
Destructor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< TableReader< Type > > New(const word &name, const dictionary &dict, List< Tuple2< scalar, Type >> &table)
virtual void write(Ostream &os, const List< Tuple2< scalar, Type >> &table) const
Write additional information.