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