REveRefBackPtr reference-count with back pointers.
Definition at line 132 of file REveUtil.hxx.
Public Member Functions | |
| REveRefBackPtr ()=default | |
| ~REveRefBackPtr () override | |
| Destructor. Noop, should complain if back-ref list is not empty. | |
| void | DecRefCount () |
| virtual void | DecRefCount (REveElement *re) |
| Decrease reference count and remove re from the list of back-references. | |
| void | IncRefCount () |
| virtual void | IncRefCount (REveElement *re) |
| Increase reference count and add re to the list of back-references. | |
| virtual void | OnZeroRefCount ()=0 |
| virtual void | StampBackPtrElements (UChar_t stamps) |
| Add given stamps to elements in the list of reverse references. | |
Protected Types | |
| typedef std::map< REveElement *, Int_t > | RefMap_t |
Protected Attributes | |
| RefMap_t | fBackRefs |
| Int_t | fRefCount {0} |
Private Member Functions | |
| REveRefBackPtr (const REveRefBackPtr &)=delete | |
| REveRefBackPtr & | operator= (const REveRefBackPtr &)=delete |
#include <ROOT/REveUtil.hxx>
|
protected |
Definition at line 138 of file REveUtil.hxx.
|
privatedelete |
|
default |
|
override |
Destructor. Noop, should complain if back-ref list is not empty.
Definition at line 409 of file REveUtil.cxx.
|
inline |
Definition at line 118 of file REveUtil.hxx.
|
virtual |
Decrease reference count and remove re from the list of back-references.
Definition at line 426 of file REveUtil.cxx.
|
inline |
Definition at line 117 of file REveUtil.hxx.
|
virtual |
Increase reference count and add re to the list of back-references.
Definition at line 417 of file REveUtil.cxx.
|
pure virtualinherited |
|
privatedelete |
|
virtual |
Add given stamps to elements in the list of reverse references.
Definition at line 441 of file REveUtil.cxx.
|
protected |
Definition at line 140 of file REveUtil.hxx.
|
protectedinherited |
Definition at line 111 of file REveUtil.hxx.