Go to the documentation of this file.
109 virtual const std::ostream&
stdStream()
const;
126 extern OFstream
Snull;
A class for handling file names.
constexpr IOstreamOption(streamFormat fmt=streamFormat::ASCII, compressionType comp=compressionType::UNCOMPRESSED) noexcept
OFstream(std::nullptr_t)
Construct a null output file stream.
ClassName("OFstream")
Declare type-name (with debug switch)
static const versionNumber currentVersion
The current version number (2.0)
~OFstream()=default
Destructor.
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
void print(Ostream &os) const
Print stream description.
Representation of a major/minor version number.
virtual const fileName & name() const
Get the name of the stream.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
The IOstreamOption is a simple container for options an IOstream can normally have.
Generic output stream using a standard (STL) stream.
streamFormat
Data format (ascii | binary)
OBJstream os(runTime.globalPath()/outputName)
Output to file stream, using an OSstream.
virtual std::ostream & stdStream()
Access to underlying std::ostream.
A wrapped std::ofstream with possible compression handling (ogzstream) that behaves much like a std::...
compressionType
Compression treatment (UNCOMPRESSED | COMPRESSED)
OFstream Snull
Global predefined null output stream "/dev/null".
An Ostream is an abstract base class for all output systems (streams, files, token lists,...