CandRefCounted Class Reference

#include <CandRefCounted.h>

Inheritance diagram for CandRefCounted:
CandBase CandCalDetPID CandCalDetSI CandChopList CandCluster CandClusterList CandDataQuality CandDeadChip CandDigit CandDigitList CandEventList CandReco CandRecoList CandRmMu CandRmMuList CandShieldPlank CandShieldPlankList CandSlice CandSliceList CandStrip CandStripList FarDetDataQuality FarDetDeadChip FarDetShieldPlank FarDetShieldPlankList

List of all members.

Public Member Functions

virtual CandBaseDup () const =0

Protected Member Functions

 CandRefCounted ()
virtual ~CandRefCounted ()
Int_t AddLink ()
Int_t DropLink ()
Int_t GetNLinks () const

Private Attributes

Int_t fNLinks

Detailed Description

Definition at line 29 of file CandRefCounted.h.


Constructor & Destructor Documentation

CandRefCounted::CandRefCounted (  )  [protected]

Definition at line 25 of file CandRefCounted.cxx.

00025                                :
00026   fNLinks(0)
00027 {
00028 }

CandRefCounted::~CandRefCounted (  )  [protected, virtual]

Definition at line 31 of file CandRefCounted.cxx.

00032 {
00033 }


Member Function Documentation

Int_t CandRefCounted::AddLink (  )  [inline, protected]

Definition at line 46 of file CandRefCounted.h.

References fNLinks.

Referenced by CandRefer::IncNRefer().

00046 {return ++fNLinks;}     // Includes LocalHandle link

Int_t CandRefCounted::DropLink (  )  [inline, protected]

Definition at line 47 of file CandRefCounted.h.

References fNLinks.

Referenced by CandRefer::DecNRefer().

00047 {return --fNLinks;}     // Includes LocalHandle link

virtual CandBase* CandRefCounted::Dup (  )  const [pure virtual]
Int_t CandRefCounted::GetNLinks (  )  const [inline, protected]

Definition at line 50 of file CandRefCounted.h.

References fNLinks.

Referenced by CandCalDetSI::CandCalDetSI(), CandChopList::CandChopList(), CandCluster::CandCluster(), CandClusterList::CandClusterList(), CandDeMuxDigit::CandDeMuxDigit(), CandDeMuxDigitList::CandDeMuxDigitList(), CandDigit::CandDigit(), CandDigitList::CandDigitList(), CandEventList::CandEventList(), CandFitShowerEM::CandFitShowerEM(), CandFitShowerEMList::CandFitShowerEMList(), CandFitTrack::CandFitTrack(), CandFitTrackList::CandFitTrackList(), CandFitTrackMS::CandFitTrackMS(), CandFitTrackMSList::CandFitTrackMSList(), CandFitTrackSRList::CandFitTrackSRList(), CandReco::CandReco(), CandRecoList::CandRecoList(), CandRmMu::CandRmMu(), CandRmMuList::CandRmMuList(), CandShower::CandShower(), CandShowerEM::CandShowerEM(), CandShowerEMList::CandShowerEMList(), CandShowerList::CandShowerList(), CandShowerSR::CandShowerSR(), CandShowerSRList::CandShowerSRList(), CandSlice::CandSlice(), CandSliceList::CandSliceList(), CandStripList::CandStripList(), CandSubShowerSR::CandSubShowerSR(), CandSubShowerSRList::CandSubShowerSRList(), CandTrack::CandTrack(), CandTrackList::CandTrackList(), CandTrackSR::CandTrackSR(), CandTrackSRList::CandTrackSRList(), FarDetEventList::FarDetEventList(), CandBase::FormatToOStream(), CandRefer::GetNRefers(), CandBase::Trace(), CandChopList::~CandChopList(), CandCluster::~CandCluster(), CandClusterList::~CandClusterList(), CandDeMuxDigit::~CandDeMuxDigit(), CandDeMuxDigitList::~CandDeMuxDigitList(), CandDigit::~CandDigit(), CandDigitList::~CandDigitList(), CandEventList::~CandEventList(), CandFitShowerEM::~CandFitShowerEM(), CandFitShowerEMList::~CandFitShowerEMList(), CandFitTrack::~CandFitTrack(), CandFitTrackList::~CandFitTrackList(), CandFitTrackMS::~CandFitTrackMS(), CandFitTrackMSList::~CandFitTrackMSList(), CandFitTrackSRList::~CandFitTrackSRList(), CandReco::~CandReco(), CandRecoList::~CandRecoList(), CandRmMu::~CandRmMu(), CandRmMuList::~CandRmMuList(), CandShower::~CandShower(), CandShowerEM::~CandShowerEM(), CandShowerEMList::~CandShowerEMList(), CandShowerList::~CandShowerList(), CandShowerSR::~CandShowerSR(), CandShowerSRList::~CandShowerSRList(), CandSlice::~CandSlice(), CandSliceList::~CandSliceList(), CandStripList::~CandStripList(), CandSubShowerSR::~CandSubShowerSR(), CandSubShowerSRList::~CandSubShowerSRList(), CandTrack::~CandTrack(), CandTrackList::~CandTrackList(), CandTrackSR::~CandTrackSR(), CandTrackSRList::~CandTrackSRList(), and FarDetEventList::~FarDetEventList().

00050 {return fNLinks;} // Includes LocalHandle ref


Member Data Documentation

Int_t CandRefCounted::fNLinks [private]

Definition at line 53 of file CandRefCounted.h.

Referenced by AddLink(), DropLink(), and GetNLinks().


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

Generated on 21 Oct 2017 for loon by  doxygen 1.6.1