Base class to read table data for the interpolationTable. More...
#include <OpenFOAM/tableReader.H>
Base class to read table data for the interpolationTable.
Definition at line 58 of file tableReader.H.
Public Member Functions | |
TypeName ("tableReader") | |
Runtime type information.
| |
declareRunTimeSelectionTable (autoPtr, tableReader, dictionary,(const dictionary &dict),(dict)) | |
tableReader (const dictionary &dict) | |
Construct from dictionary.
| |
virtual autoPtr< tableReader < Type > > | clone () const =0 |
Construct and return a clone.
| |
virtual | ~tableReader () |
Destructor.
| |
virtual void | operator() (const fileName &, List< Tuple2< scalar, Type > > &)=0 |
Read the table.
| |
virtual void | write (Ostream &os) const |
Write additional information.
| |
Static Public Member Functions | |
static autoPtr< tableReader > | New (const dictionary &spec) |
Return a reference to the selected tableReader.
|
tableReader | ( | const dictionary & | dict ) |
Construct from dictionary.
Definition at line 65 of file tableReader.C.
~tableReader | ( | ) | [virtual]
|
Destructor.
Definition at line 72 of file tableReader.C.
TypeName | ( | "tableReader< Type >" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
tableReader< Type > | , | ||
dictionary | , | ||
(const dictionary &dict) | , | ||
(dict) | |||
) |
virtual autoPtr<tableReader<Type> > clone | ( | ) | const [pure virtual]
|
Construct and return a clone.
Implemented in csvTableReader< Type >, and openFoamTableReader< Type >.
Foam::autoPtr< Foam::tableReader< Type > > New | ( | const dictionary & | spec ) | [static]
|
Return a reference to the selected tableReader.
Definition at line 32 of file tableReader.C.
References Foam::exit(), Foam::FatalError, FatalErrorIn, dictionary::lookupOrDefault(), and Foam::nl.
Read the table.
Implemented in csvTableReader< Type >, and openFoamTableReader< Type >.
void write | ( | Ostream & | os ) | const [virtual]
|
Write additional information.
Reimplemented in csvTableReader< Type >.
Definition at line 79 of file tableReader.C.
References Foam::nl, Foam::type(), and Ostream::writeKeyword().
Referenced by csvTableReader< Type >::write().