Reference counter for various OpenFOAM components.
void operator++()
Increment the reference count.
void operator=(const refCount &)=delete
Disallow bitwise assignment.
int count() const
Return the current reference count.
bool unique() const
Return true if the reference count is zero.
refCount()
Construct null initialising count to 0.
void operator--()
Decrement the reference count.