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);
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
A class for handling file names.
Ostream & endl(Ostream &os)
rAUs append(new volScalarField(IOobject::groupName("rAU", phase1.name()), 1.0/(U1Eqn.A()+byDt(max(phase1.residualAlpha() - alpha1, scalar(0)) *rho1))))
void setOpened() noexcept
bool good() const noexcept
std::ostream * get() noexcept
void print(Ostream &os) const
void reopen(const std::string &pathname)
The IOstreamOption is a simple container for options an IOstream can normally have.
bool opened() const noexcept
InfoProxy< IOstream > info() const
Generic output stream using a standard (STL) stream.
void setClosed() noexcept
void reopen_gz(const std::string &pathname_gz)
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)
Output to file stream, using an OSstream.
void setState(std::ios_base::iostate state) noexcept
virtual std::ostream & stdStream()
#define FatalErrorInFunction
@ COMPRESSED
compression = true
A wrapped std::ofstream with possible compression handling (ogzstream) that behaves much like a std::...
virtual void print(Ostream &os) const
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
word name(const expressions::valueTypeCode typeCode)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
compressionType compression() const noexcept
defineTypeNameAndDebug(combustionModel, 0)
IOstreamOption::compressionType whichCompression() const