Go to the documentation of this file.
45 <<
"bad object " <<
name()
51 if (instance().empty())
54 <<
"instance undefined for object " <<
name()
63 bool isGlobal =
false;
72 instance() != time().
system()
73 && instance() != time().caseSystem()
75 && instance() != time().caseConstant()
89 Pout<<
"regIOobject::write() : "
90 <<
"writing (global) file " << objectPath();
94 Pout<<
"regIOobject::write() : "
95 <<
"writing (local) file " << objectPath();
107 regIOobject::fileModificationChecking == timeStampMaster
108 || regIOobject::fileModificationChecking == inotifyMaster
112 if (Pstream::master() || !masterOnly)
156 if (watchIndices_.size())
int debug
Static debugging option.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
const fileName & instance() const
int system(const std::string &command, const bool bg=false)
Execute the specified command via the shell.
const fileOperation & fileHandler()
Get current file handler.
Ostream & endl(Ostream &os)
Add newline and flush stream.
prefixOSstream Pout
An Ostream wrapper for parallel output to std::cout.
const Time & time() const
Return time.
Representation of a major/minor version number.
virtual bool write(const bool valid=true) const
Write using setting from DB.
word name(const complex &c)
Return string representation of complex.
The IOstreamOption is a simple container for options an IOstream can normally have.
#define SeriousErrorInFunction
Report an error message using Foam::SeriousError.
virtual bool writeObject(const regIOobject &io, IOstreamOption streamOpt=IOstreamOption(), const bool valid=true) const
Writes a regIOobject (so header, contents and divider).
streamFormat
Data format (ascii | binary)
virtual bool writeObject(IOstreamOption streamOpt, const bool valid) const
Write using stream options.
virtual void setUnmodified(const label) const
Set current state of file (using handle) to unmodified.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
compressionType
Compression treatment (UNCOMPRESSED | COMPRESSED)
constant condensation/saturation model.