Go to the documentation of this file.
48 OSstream(*(ofstreamPointer::get()),
"/dev/null")
50 setState(ofstreamPointer::get()->rdstate());
65 OSstream(*(ofstreamPointer::get()), pathname, streamOpt)
68 setState(ofstreamPointer::get()->rdstate());
86 <<
"Cannot open empty file name"
93 <<
"Could not open file " << pathname
109 <<
"No stream allocated\n"
124 <<
"No stream allocated\n"
int debug
Static debugging option.
#define InfoInFunction
Report an information message using Foam::Info.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
A class for handling file names.
OFstream(std::nullptr_t)
Construct a null output file stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
std::ostream * get() noexcept
The stream pointer (ofstream or ogzstream)
void print(Ostream &os) const
Print stream description.
The IOstreamOption is a simple container for options an IOstream can normally have.
Generic output stream using a standard (STL) stream.
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual std::ostream & stdStream()
Access to underlying std::ostream.
A wrapped std::ofstream with possible compression handling (ogzstream) that behaves much like a std::...
virtual void print(Ostream &os) const
Print stream description to Ostream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
compressionType compression() const noexcept
Get the stream compression.
defineTypeNameAndDebug(combustionModel, 0)