Base class to read table data for tables. More...
Public Member Functions | |
TypeName ("TableReader") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, TableReader, dictionary,(const dictionary &dict),(dict)) | |
TableReader (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual autoPtr< TableReader< Type > > | clone () const =0 |
Construct and return a clone. More... | |
virtual | ~TableReader () |
Destructor. More... | |
template<class TableType > | |
void | operator() (const fileName &, TableType &) const |
Read a table. More... | |
virtual void | write (Ostream &os) const |
Write additional information. More... | |
Static Public Member Functions | |
static autoPtr< TableReader< Type > > | New (const word &readerType, const dictionary &dict) |
Base class to read table data for tables.
Definition at line 52 of file TableReader.H.
TableReader | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 58 of file TableReader.C.
|
virtual |
Destructor.
Definition at line 65 of file TableReader.C.
TypeName | ( | "TableReader< Type >" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
TableReader< Type > | , | ||
dictionary | , | ||
(const dictionary &dict) | , | ||
(dict) | |||
) |
|
pure virtual |
Construct and return a clone.
Implemented in Csv< Type >, and Foam< Type >.
|
static |
Definition at line 33 of file TableReader.C.
void operator() | ( | const fileName & | fName, |
TableType & | data | ||
) | const |
Read a table.
Definition at line 81 of file TableReader.C.
|
virtual |
Write additional information.
Reimplemented in Csv< Type >.
Definition at line 72 of file TableReader.C.
Referenced by Csv< Type >::write().