46 #ifndef D0_UTIL_REFCOUNT_H
47 #define D0_UTIL_REFCOUNT_H
139 #include "TopQuarkAnalysis/TopHitFit/interface/Refcount.i"
142 #endif // not D0_UTIL_REFCOUNT_H
void incref() const
Increment the reference count.
Simple reference-counted object.
Refcount()
Constructor, initialize the reference count to 0.
void nuke_refcount()
Reset the reference count to zero. This should only be used in the context of a destructor of a deriv...
bool unowned() const
Return true if incref() has never been called or if the object is being deleted. Otherwise return FAL...
virtual ~Refcount()
Destructor, it is an error to try to delete an object if the reference count is not 0...
void decref() const
Decrease the reference count.
bool decref_will_delete() const
Return true if calling decref() will delete the object. Otherwise return FALSE.