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