Logo ROOT  
Reference Guide
ROOT::Experimental::REveRefBackPtr Class Reference

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...
 
REveRefBackPtroperator= (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 ()
 
REveRefCntoperator= (const REveRefCnt &)
 

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}
 

#include <ROOT/REveUtil.hxx>

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

Member Typedef Documentation

◆ RefMap_t

Definition at line 133 of file REveUtil.hxx.

Constructor & Destructor Documentation

◆ REveRefBackPtr() [1/2]

REveRefBackPtr::REveRefBackPtr ( )

Default constructor.

Definition at line 393 of file REveUtil.cxx.

◆ ~REveRefBackPtr()

REveRefBackPtr::~REveRefBackPtr ( )
virtual

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

Definition at line 402 of file REveUtil.cxx.

◆ REveRefBackPtr() [2/2]

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.

Member Function Documentation

◆ DecRefCount() [1/2]

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

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

◆ IncRefCount() [1/2]

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

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

◆ operator=()

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.

◆ StampBackPtrElements()

void REveRefBackPtr::StampBackPtrElements ( UChar_t  stamps)
virtual

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

Definition at line 454 of file REveUtil.cxx.

Member Data Documentation

◆ fBackRefs

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

Definition at line 135 of file REveUtil.hxx.

Libraries for ROOT::Experimental::REveRefBackPtr:
[legend]

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