Go to the documentation of this file.
36 ownedByRegistry_ =
true;
46 <<
"object deallocated"
50 tPtr->regIOobject::ownedByRegistry_ =
true;
59 Type* tPtr = atPtr.
ptr();
64 <<
"object deallocated"
68 tPtr->regIOobject::ownedByRegistry_ =
true;
76 ownedByRegistry_ =
false;
T * ptr()
Return object pointer for reuse.
label watchIndex() const
Return file-monitoring handle.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label eventNo() const
Event number at last update.
bool ownedByRegistry() const
Is this object owned by the registry?
errorManip< error > abort(error &err)
bool ownedByRegistry_
Is this object owned by the registry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void store()
Transfer ownership of this object to its registry.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void release()
Release ownership of this object from its registry.