39 #ifndef functionObjects_writeFile_H 40 #define functionObjects_writeFile_H 50 namespace functionObjects
147 const string& property,
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.
Specialization of Foam::functionObject for a region and providing a reference to the region Foam::obj...
void writeHeader(Ostream &os, const string &str) const
Write a commented header to stream.
virtual void initStream(Ostream &os) const
Initialise the output stream for writing.
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.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void writeHeaderValue(Ostream &os, const string &property, const Type &value) const
Write a (commented) header property and value pair.
virtual fileName baseTimeDir() const
Return the base directory for the current time value.
static label addChars
Additional characters for writing.
label charWidth() const
Return width of character stream output.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual fileName baseFileDir() const
Return the base directory for output.
virtual void writeFileHeader(const label i=0)
File header information.
const word & name() const
Return the name of this functionObject.
void writeTime(Ostream &os) const
Write the current time to stream.
static const word outputPrefix
Directory prefix.
A class for handling words, derived from string.
writeFile(const writeFile &)
Disallow default bitwise copy construct.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Istream and Ostream manipulators taking arguments.
virtual Omanip< int > valueWidth(const label offset=0) const
Return the value width when writing to stream with optional offset.
void operator=(const writeFile &)
Disallow default bitwise assignment.
const word prefix_
Prefix.
virtual ~writeFile()
Destructor.
void writeCommented(Ostream &os, const string &str) const
Write a commented string to stream.
Registry of regIOobjects.
functionObject base class for writing single files