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_;
#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?
bool registered() const
Is this object registered with 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.