38 #ifndef Foam_csvTableReader_H 39 #define Foam_csvTableReader_H 61 const bool headerLine_;
64 const label refColumn_;
70 const char separator_;
79 std::initializer_list<std::pair<const char*,int>> compat,
118 virtual void operator()
125 virtual void operator()
Reads an interpolation table from a file - CSV-format.
A class for handling file names.
virtual ~csvTableReader()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("csv")
Declare type-name, virtual type (with debug switch)
virtual autoPtr< tableReader< Type > > clone() const
Construct and return a copy.
Base class to read table data for the interpolationTable.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
csvTableReader(const dictionary &dict)
Construct from dictionary.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual void write(Ostream &os) const
Write the remaining parameters.