36 return ownedByRegistry_;
43 ownedByRegistry_ =
true;
53 <<
"object deallocated"
57 tPtr->regIOobject::checkIn();
58 tPtr->regIOobject::ownedByRegistry_ =
true;
67 Type* tPtr = atPtr.
ptr();
72 <<
"object deallocated"
76 tPtr->regIOobject::checkIn();
77 tPtr->regIOobject::ownedByRegistry_ =
true;
85 ownedByRegistry_ =
false;
102 return watchIndices_;
108 return watchIndices_;
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
T * ptr()
Return object pointer for reuse.
bool registered() const
Is this object registered with the registry?
bool ownedByRegistry() const
Is this object owned by the registry?
void release()
Release ownership of this object from its registry.
const labelList & watchIndices() const
Return file-monitoring handles.
label eventNo() const
Event number at last update.
void store()
Transfer ownership of this object to its registry.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)