52 <<
"instance undefined for object " <<
name() <<
endl;
60 bool isGlobal =
false;
86 Pout<<
"regIOobject::write() : " 91 Pout<<
"regIOobject::write() : " 110 osGood =
fileHandler().writeObject(*
this, streamOpt, valid);
125 if (watchIndices_.
size())
void size(const label n)
Older name for setAddressableSize.
const word & name() const noexcept
Return the object name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
autoPtr< fileOperation > fileHandler(std::nullptr_t)
Delete current file handler.
A simple container for options an IOstream can normally have.
bool good() const noexcept
Did last readHeader() succeed?
fileName objectPath() const
The complete path + object name.
#define SeriousErrorInFunction
Report an error message using Foam::SeriousError.
static word timeName(const scalar t, const int precision=precision_)
Return time name of given scalar time formatted with the given precision.
int debug
Static debugging option.
static fileCheckTypes fileModificationChecking
Type of file modification checking.
T & last()
Access last element of the list, position [size()-1].
const fileName & instance() const noexcept
Read access to instance path component.
const Time & time() const
Return Time associated with the objectRegistry.
static bool master(const label communicator=worldComm)
Am I the master rank.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
int system(const std::string &command, const bool bg=false)
Execute the specified command via the shell.
virtual bool writeObject(IOstreamOption streamOpt, const bool valid) const
Write using stream options.
virtual bool write(const bool valid=true) const
Write using setting from DB.
prefixOSstream Pout
OSstream wrapped stdout (std::cout) with parallel prefix.