71 separator_(dict.lookupOrDefault<
string>(
"separator",
string(
","))[0])
92 #undef TypeValueSetsConstArg
95 if (!
isDir(outputDir))
102 outputDir/setName +
".csv",
virtual ~csvSetWriter()
Destructor.
A class for handling file names.
#define TypeValueSetsParameter(Type, nullArg)
A list of keyword definitions, which are a keyword followed by any number of values (e...
void writeTableHeader(const coordSet &set, const wordList &valueSetNames, #define TypeValueSetsConstArg(Type, nullArg) Ostream &os, const bool align=false, const unsigned long alignPad=0) const
Write multi-column table header.
IOstream::compressionType writeCompression_
Write compression.
Base class for writing coordinate sets with data.
virtual void write(const fileName &outputDir, const fileName &setName, const coordSet &set, const wordList &valueSetNames #define TypeValueSetsConstArg(Type, nullArg)) const
Write a coordSet and associated data.
virtual void writeSegmentSeparator(Ostream &os) const
Write a segment separator.
Macros for easy insertion into run-time selection tables.
#define TypeValueSetsConstArg(Type, nullArg)
void writeTable(const coordSet &set, #define TypeValueSetsConstArg(Type, nullArg) Ostream &os, const bool align=false) const
Write multi-column table of data.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
Holds list of sampling positions.
Pre-declare SubField and related Field type.
bool isDir(const fileName &, const bool followLink=true)
Does the name exist as a directory in the file system?
streamFormat
Enumeration for the format of data in the stream.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
virtual void writeValueSeparator(Ostream &os) const
Write a value separator.
compressionType
Enumeration for the format of data in the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
bool mkDir(const fileName &, mode_t=0777)
Make a directory and return an error if it could not be created.
static const versionNumber currentVersion
Current version number.
csvSetWriter(const IOstream::streamFormat writeFormat, const IOstream::compressionType writeCompression)
Construct given write options.
FOR_ALL_FIELD_TYPES(DefineFvWallInfoType)
A class for handling character strings derived from std::string.