Go to the documentation of this file.
141 virtual const std::ostream&
stdStream()
const;
154 extern OFstream
Snull;
A class for handling file names.
constexpr IOstreamOption(streamFormat fmt=streamFormat::ASCII, compressionType comp=compressionType::UNCOMPRESSED) noexcept
A std::ostream with the ability to handle compressed files.
ClassName("OFstream")
Declare type-name (with debug switch)
OFstream(const fileName &pathname, IOstreamOption streamOpt=IOstreamOption(), const bool append=false)
Construct from pathname.
static const versionNumber currentVersion
The current version number (2.0)
~OFstream()=default
Destructor.
OFstreamAllocator(const fileName &pathname, IOstream::compressionType comp=IOstream::UNCOMPRESSED, const bool append=false)
Construct from pathname.
void print(Ostream &os) const
Print stream description to Ostream.
Representation of a major/minor version number.
virtual const fileName & name() const
Return 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)
Output to file stream, using an OSstream.
virtual std::ostream & stdStream()
Access to underlying std::ostream.
std::unique_ptr< std::ostream > allocatedPtr_
The allocated stream pointer (ofstream or ogzstream).
compressionType
Compression treatment (UNCOMPRESSED | COMPRESSED)
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".
An Ostream is an abstract base class for all output systems (streams, files, token lists,...