Go to the documentation of this file.
131 const word& entryName,
133 const word& ext =
"Coeffs"
161 friend Ostream& operator<< <Type>
virtual ~CSV()
Destructor.
char separator_
Separator character.
A class for handling words, derived from string.
A class for handling file names.
A class for managing temporary objects.
virtual tmp< DataEntry< Type > > clone() const
Construct and return a clone.
virtual void writeData(Ostream &os) const
Write in dictionary format.
label refColumn_
Column of the time.
CSV(const word &entryName, const dictionary &dict, const word &ext="Coeffs")
Construct from entry name and dictionary.
fileName fName_
File name for csv table.
Templated CSV container data entry. Reference column is always a scalar, e.g. time.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool mergeSeparators_
Merge separators flag, e.g. ',,,' becomes ','.
TypeName("csvFile")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e....
dictionary coeffs_
Coefficients dictionary (for convenience on reading)
virtual const fileName & fName() const
Return const access to the file name.
void operator=(const CSV< Type > &)
Disallow default bitwise assignment.
void read()
Read csv data table.
labelList componentColumns_
Labels of the components.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label nHeaderLine_
Number header lines.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Type readValue(const List< string > &)
Read the next value from the splitted string.
Base class for table with bounds handling, interpolation and integration.