39 #ifndef functionObjects_writeFile_H 40 #define functionObjects_writeFile_H 49 namespace functionObjects
127 const string& property,
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
void writeHeader(Ostream &os, const string &str) const
Write a commented header to stream.
static label addChars
Additional characters for writing.
void writeCommented(Ostream &os, const string &str) const
Write a commented string to stream.
void initStream(Ostream &os) const
Initialise the output stream for writing.
static const word outputPrefix
Directory prefix.
A class for handling words, derived from string.
void operator=(const writeFile &)=delete
Disallow default bitwise assignment.
writeFile(const objectRegistry &obr, const word &prefix)
Construct from objectRegistry and prefix.
fileName baseTimeDir() const
Return the base directory for the current time value.
label charWidth() const
Return width of character stream output.
void writeHeaderValue(Ostream &os, const string &property, const Type &value) const
Write a (commented) header property and value pair.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Istream and Ostream manipulators taking arguments.
const word prefix_
Prefix.
fileName baseFileDir() const
Return the base directory for output.
void writeTime(Ostream &os) const
Write the current time to stream.
Omanip< int > valueWidth(const label offset=0) const
Return the value width when writing to stream with optional offset.
const objectRegistry & fileObr_
Reference to the region objectRegistry.
Registry of regIOobjects.
functionObject base class for writing single files
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.