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

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 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 138 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 ( )
override

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

Definition at line 409 of file REveUtil.cxx.

Member Function Documentation

◆ DecRefCount() [1/2]

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

Definition at line 118 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 426 of file REveUtil.cxx.

◆ IncRefCount() [1/2]

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

Definition at line 117 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 417 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 441 of file REveUtil.cxx.

Member Data Documentation

◆ fBackRefs

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

Definition at line 140 of file REveUtil.hxx.

Libraries for ROOT::Experimental::REveRefBackPtr:

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