Go to the documentation of this file.
33 return ownedByRegistry_;
39 ownedByRegistry_ =
true;
49 <<
"Object deallocated\n"
53 p->regIOobject::ownedByRegistry_ =
true;
62 return store(aptr.
ptr());
69 return store(aptr.ptr());
75 ownedByRegistry_ =
false;
102 return watchIndices_;
void release(const bool unregister=false)
Release ownership of this object from its registry.
const labelList & watchIndices() const
Return file-monitoring handles.
label eventNo() const
Event number at last update.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool ownedByRegistry() const
Is this object owned by the registry?
errorManip< error > abort(error &err)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void store()
Transfer ownership of this object to its registry.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.