Go to the documentation of this file.
37 #ifndef masterOFstream_H
38 #define masterOFstream_H
70 void checkWrite(
const fileName& fName,
const string&
str);
85 const bool valid =
true
masterOFstream(const fileName &pathname, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED, const bool append=false, const bool valid=true)
Construct and set stream status.
A class for handling file names.
streamFormat format() const noexcept
Get the current stream format.
static const versionNumber currentVersion
The current version number.
Input/output from string buffers.
~masterOFstream()
Destructor.
Representation of a major/minor version number.
versionNumber version() const noexcept
Get the stream version.
streamFormat
Data format (ascii | binary)
Foam::string str() const
Get the string - as Foam::string rather than std::string.
Output to string buffer, using a OSstream.
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))))
compressionType compression() const noexcept
Get the stream compression.
Master-only drop-in replacement for OFstream.