47 <<
"bad object " <<
name()
84 if (watchIndices_.
size())
99 time().writeCompression(),
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
void updateInstance() const
If the instance is a time directory update to the current time.
static fileCheckTypes fileModificationChecking
Type of file modification checking.
const word & name() const
Return name.
static const versionNumber currentVersion
Current version number.
streamFormat
Enumeration for the format of data in the stream.
compressionType
Enumeration for the format of data in the stream.
void size(const label)
Override size to be inconsistent with allocated storage.
T & last()
Return the last element of the list.
static bool master(const label communicator=0)
Am I the master process.
virtual bool writeObject(const regIOobject &, IOstream::streamFormat format=IOstream::ASCII, IOstream::versionNumber version=IOstream::currentVersion, IOstream::compressionType compression=IOstream::UNCOMPRESSED, const bool write=true) const
Writes a regIOobject (so header, contents and divider).
virtual void setUnmodified(const label) const
Set current state of file (using handle) to unmodified.
virtual bool writeObject(IOstream::streamFormat, IOstream::versionNumber, IOstream::compressionType, const bool write) const
Write using given format, version and compression.
virtual bool write(const bool write=true) const
Write using setting from DB.
virtual bool globalFile() const
Return true if object is global, i.e. same for all processors.
#define SeriousErrorInFunction
Report an error message using Foam::SeriousError.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
const fileOperation & fileHandler()
Get current file handler.
Ostream & endl(Ostream &os)
Add newline and flush stream.
prefixOSstream Pout(cout, "Pout")