48 #ifndef CsvTableReader_H
49 #define CsvTableReader_H
58 namespace TableReaders
73 const label nHeaderLine_;
76 const label refColumn_;
82 const char separator_;
85 bool mergeSeparators_;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base class to read table data for tables.
Reads an interpolation table from a file in CSV-format. Entries govern the layout of the CSV file....
Csv(const word &name, const dictionary &dict, List< Tuple2< scalar, Type >> &table)
Construct from dictionary.
virtual void write(Ostream &os, const List< Tuple2< scalar, Type >> &table) const
Write the CSV parameters.
virtual ~Csv()
Destructor.
virtual autoPtr< TableReader< Type > > clone() const
Construct and return a copy.
TypeName("csv")
Runtime type information.
A 2-tuple for storing two objects of different types.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.