Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::REveRefBackPtr Class Reference

REveRefBackPtr reference-count with back pointers.

Definition at line 129 of file REveUtil.hxx.

Public Member Functions

 REveRefBackPtr ()=default
 
virtual ~REveRefBackPtr ()
 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 StampBackPtrElements (UChar_t stamps)
 Add given stamps to elements in the list of reverse references.
 
- Public Member Functions inherited from ROOT::Experimental::REveRefCnt
 REveRefCnt ()=default
 
virtual ~REveRefCnt ()
 
void DecRefCount ()
 
void IncRefCount ()
 
virtual void OnZeroRefCount ()=0
 

Protected Types

typedef std::map< REveElement *, Int_tRefMap_t
 

Protected Attributes

RefMap_t fBackRefs
 
- Protected Attributes inherited from ROOT::Experimental::REveRefCnt
Int_t fRefCount {0}
 

Private Member Functions

 REveRefBackPtr (const REveRefBackPtr &)=delete
 
REveRefBackPtroperator= (const REveRefBackPtr &)=delete
 

#include <ROOT/REveUtil.hxx>

Inheritance diagram for ROOT::Experimental::REveRefBackPtr:
[legend]

Member Typedef Documentation

◆ RefMap_t

Definition at line 135 of file REveUtil.hxx.

Constructor & Destructor Documentation

◆ REveRefBackPtr() [1/2]

ROOT::Experimental::REveRefBackPtr::REveRefBackPtr ( const REveRefBackPtr )
privatedelete

◆ REveRefBackPtr() [2/2]

ROOT::Experimental::REveRefBackPtr::REveRefBackPtr ( )
default

◆ ~REveRefBackPtr()

REveRefBackPtr::~REveRefBackPtr ( )
virtual

Destructor. Noop, should complain if back-ref list is not empty.

Definition at line 389 of file REveUtil.cxx.

Member Function Documentation

◆ DecRefCount() [1/2]

void ROOT::Experimental::REveRefCnt::DecRefCount ( )
inline

Definition at line 115 of file REveUtil.hxx.

◆ DecRefCount() [2/2]

void REveRefBackPtr::DecRefCount ( REveElement re)
virtual

Decrease reference count and remove re from the list of back-references.

Definition at line 406 of file REveUtil.cxx.

◆ IncRefCount() [1/2]

void ROOT::Experimental::REveRefCnt::IncRefCount ( )
inline

Definition at line 114 of file REveUtil.hxx.

◆ IncRefCount() [2/2]

void REveRefBackPtr::IncRefCount ( REveElement re)
virtual

Increase reference count and add re to the list of back-references.

Definition at line 397 of file REveUtil.cxx.

◆ operator=()

REveRefBackPtr & ROOT::Experimental::REveRefBackPtr::operator= ( const REveRefBackPtr )
privatedelete

◆ StampBackPtrElements()

void REveRefBackPtr::StampBackPtrElements ( UChar_t  stamps)
virtual

Add given stamps to elements in the list of reverse references.

Definition at line 421 of file REveUtil.cxx.

Member Data Documentation

◆ fBackRefs

RefMap_t ROOT::Experimental::REveRefBackPtr::fBackRefs
protected

Definition at line 137 of file REveUtil.hxx.

Libraries for ROOT::Experimental::REveRefBackPtr:

The documentation for this class was generated from the following files: