Go to the documentation of this file.
56 #ifndef Function1Types_CSV_H
57 #define Function1Types_CSV_H
68 namespace Function1Types
83 const label nHeaderLine_;
86 const label refColumn_;
92 const char separator_;
95 const bool mergeSeparators_;
117 void operator=(
const CSV<Type>&) =
delete;
148 virtual ~CSV() =
default;
166 label CSV<label>::readValue(
const List<string>& strings)
const;
169 scalar CSV<scalar>::readValue(
const List<string>& strings)
const;
A class for handling words, derived from Foam::string.
A class for handling file names.
A class for managing temporary objects.
void writeEntries(Ostream &os) const
Write coefficient entries in dictionary format.
const word const dictionary & dict
virtual ~CSV()=default
Destructor.
Registry of regIOobjects.
const word const dictionary const objectRegistry * obrPtr
TypeName("csvFile")
Declare type-name, virtual type (with debug switch)
virtual void writeData(Ostream &os) const
Write in dictionary format.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
static const fileName null
An empty fileName.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
CSV(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr, const fileName &fName=fileName::null)
Construct from entry name, dictionary and optional registry.
Base class for table with bounds handling, interpolation and integration.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual const fileName & fName() const
Return const access to the file name.