43#ifndef functionObjects_logFiles_H
44#define functionObjects_logFiles_H
93 logFiles(
const logFiles&) =
delete;
96 void operator=(
const logFiles&) =
delete;
137 virtual bool write();
Output to file stream as an OSstream, normally using std::ofstream for the actual output.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void resetNames(const wordList &names)
Reset the list of names from a wordList.
virtual void createFiles()
Create the output file.
PtrList< OFstream > filePtrs_
File pointer.
PtrList< OFstream > & files()
Return access to the files.
virtual void resetName(const word &name)
Reset the list of names to a single name entry.
wordList names_
File names.
virtual ~logFiles()=default
Destructor.
const wordList & names() const
Return const access to the names.
virtual bool write()
Write function.
writeFile(const objectRegistry &obr, const fileName &prefix, const word &name="undefined", const bool writeToFile=true, const string &ext=".dat")
Construct from objectRegistry, prefix, fileName.
Registry of regIOobjects.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< word > wordList
List of word.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.