Go to the documentation of this file.
86 <<
"Cannot open empty file name"
93 <<
"Could not open file " << pathname
109 <<
"No stream allocated\n"
124 <<
"No stream allocated\n"
159 stdStream().rdbuf()->pubseekpos(0, std::ios_base::out);
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.
void reopen(const std::string &pathname)
General 'rewind' method (non-compressed)
The IOstreamOption is a simple container for options an IOstream can normally have.
Generic output stream using a standard (STL) stream.
void reopen_gz(const std::string &pathname_gz)
Special 'rewind' method for compressed stream.
OBJstream os(runTime.globalPath()/outputName)
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.
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
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)
IOstreamOption::compressionType whichCompression() const
Which compression type?