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