Reads an interpolation table from a file - CSV-format. More...
#include <csvTableReader.H>


Public Member Functions | |
| TypeName ("csv") | |
| Declare type-name, virtual type (with debug switch). | |
| csvTableReader (const dictionary &dict) | |
| Construct from dictionary. | |
| virtual autoPtr< tableReader< Type > > | clone () const |
| Construct and return a copy. | |
| virtual | ~csvTableReader ()=default |
| Destructor. | |
| virtual void | operator() (const fileName &fName, List< Tuple2< scalar, Type > > &data) |
| Read 1D table. | |
| virtual void | operator() (const fileName &fName, List< Tuple2< scalar, List< Tuple2< scalar, Type > > > > &data) |
| Read 2D table - NotImplemented. | |
| virtual void | write (Ostream &os) const |
| Write the remaining parameters. | |
| Public Member Functions inherited from tableReader< Type > | |
| TypeName ("tableReader") | |
| Declare type-name, virtual type (with debug switch). | |
| declareRunTimeSelectionTable (autoPtr, tableReader, dictionary,(const dictionary &dict),(dict)) | |
| tableReader ()=default | |
| Default construct. | |
| tableReader (const dictionary &dict) | |
| Construct from dictionary. | |
| virtual | ~tableReader ()=default |
| Destructor. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from tableReader< Type > | |
| static autoPtr< tableReader > | New (const dictionary &spec) |
| Return a reference to the selected tableReader. | |
Reads an interpolation table from a file - CSV-format.
Definition at line 49 of file csvTableReader.H.
| csvTableReader | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 91 of file csvTableReader.C.
References dict, and tableReader< Type >::tableReader().
Referenced by clone().


|
virtualdefault |
| TypeName | ( | "csv" | ) |
Declare type-name, virtual type (with debug switch).
References dict.
|
inlinevirtual |
Construct and return a copy.
Implements tableReader< Type >.
Definition at line 112 of file csvTableReader.H.
References csvTableReader().

|
virtual |
Read 1D table.
Implements tableReader< Type >.
Definition at line 107 of file csvTableReader.C.
References DynamicList< T, SizeMin >::clear(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::fileHandler, Foam::findMax(), ISstream::getLine(), IOstream::good(), Foam::max(), n, Foam::nl, Foam::pos(), DynamicList< T, SizeMin >::push_back(), UList< T >::size(), and x.

|
virtual |
Read 2D table - NotImplemented.
Implements tableReader< Type >.
Definition at line 187 of file csvTableReader.C.
References NotImplemented.
|
virtual |
Write the remaining parameters.
Reimplemented from tableReader< Type >.
Definition at line 198 of file csvTableReader.C.
References IOstreamOption::ASCII, os(), and tableReader< Type >::write().
