void operator=(const refCount &)
Dissallow bitwise assignment.
Reference counter for various OpenFOAM components.
void resetRefCount()
Reset the reference count to zero.
bool okToDelete() const
Return true if the reference count is zero.
refCount()
Construct null with zero count.
void operator--()
Decrement the reference count.
void operator++(int)
Increment the reference count.
void operator++()
Increment the reference count.
int count() const
Return the reference count.
void operator--(int)
Decrement the reference count.