Go to the documentation of this file.
35 #ifndef csvTableReader_H
36 #define csvTableReader_H
107 virtual void operator()
const bool headerLine_
Does the file have a header line?
Type readValue(const List< string > &)
Read the next value from the splitted string.
A class for handling file names.
const char separator_
Separator character.
Base class to read table data for the interpolationTable.
csvTableReader(const dictionary &dict)
Construct from dictionary.
virtual void write(Ostream &os) const
Write the remaining parameters.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual ~csvTableReader()
Destructor.
const labelList componentColumns_
Labels of the components.
Reads an interpolation table from a file - CSV-format.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual void operator()(const fileName &, List< Tuple2< scalar, Type > > &)
Read the table.
virtual autoPtr< tableReader< Type > > clone() const
Construct and return a copy.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
TypeName("csv")
Runtime type information.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const label timeColumn_
Column of the time.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 2-tuple for storing two objects of different types.