REveRefBackPtr reference-count with back pointers.
Definition at line 130 of file REveUtil.hxx.
Public Member Functions | |
REveRefBackPtr () | |
Default constructor. More... | |
REveRefBackPtr (const REveRefBackPtr &) | |
Copy constructor. More... | |
virtual | ~REveRefBackPtr () |
Destructor. Noop, should complain if back-ref list is not empty. More... | |
void | DecRefCount () |
virtual void | DecRefCount (REveElement *re) |
Decrease reference count and remove re from the list of back-references. More... | |
void | IncRefCount () |
virtual void | IncRefCount (REveElement *re) |
Increase reference count and add re to the list of back-references. More... | |
REveRefBackPtr & | operator= (const REveRefBackPtr &) |
Assignment operator. More... | |
virtual void | StampBackPtrElements (UChar_t stamps) |
Add given stamps to elements in the list of reverse references. More... | |
Public Member Functions inherited from ROOT::Experimental::REveRefCnt | |
REveRefCnt ()=default | |
REveRefCnt (const REveRefCnt &) | |
virtual | ~REveRefCnt () |
void | DecRefCount () |
void | IncRefCount () |
virtual void | OnZeroRefCount () |
REveRefCnt & | operator= (const REveRefCnt &) |
Protected Types | |
typedef std::map< REveElement *, Int_t > | RefMap_t |
Protected Attributes | |
RefMap_t | fBackRefs |
Protected Attributes inherited from ROOT::Experimental::REveRefCnt | |
Int_t | fRefCount {0} |
#include <ROOT/REveUtil.hxx>
|
protected |
Definition at line 133 of file REveUtil.hxx.
REveRefBackPtr::REveRefBackPtr | ( | ) |
Default constructor.
Definition at line 393 of file REveUtil.cxx.
|
virtual |
Destructor. Noop, should complain if back-ref list is not empty.
Definition at line 402 of file REveUtil.cxx.
REveRefBackPtr::REveRefBackPtr | ( | const REveRefBackPtr & | ) |
Copy constructor.
New copy starts with zero reference count and empty back-reference list.
Definition at line 411 of file REveUtil.cxx.
|
inline |
Definition at line 116 of file REveUtil.hxx.
|
virtual |
Decrease reference count and remove re from the list of back-references.
Definition at line 439 of file REveUtil.cxx.
|
inline |
Definition at line 115 of file REveUtil.hxx.
|
virtual |
Increase reference count and add re to the list of back-references.
Definition at line 430 of file REveUtil.cxx.
REveRefBackPtr & REveRefBackPtr::operator= | ( | const REveRefBackPtr & | ) |
Assignment operator.
Reference count and back-reference information is not assigned as these object hold pointers to a specific object.
Definition at line 422 of file REveUtil.cxx.
Add given stamps to elements in the list of reverse references.
Definition at line 454 of file REveUtil.cxx.
|
protected |
Definition at line 135 of file REveUtil.hxx.