CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
sistrip::SpyEventMatcher::CountersWrapper Class Reference

Public Member Functions

const Counters::value_type at (const size_t i) const
 
Counters::const_iterator begin () const
 
 CountersWrapper (const Counters *theCounters)
 
 CountersWrapper (Counters *theCounters, const bool takeOwnership)
 
Counters::const_iterator end () const
 
const Counters::value_type operator[] (const size_t i) const
 
 ~CountersWrapper ()
 

Private Attributes

bool deleteP
 
Countersp
 
const CounterspConst
 

Detailed Description

Definition at line 102 of file SiStripSpyEventMatcher.h.

Constructor & Destructor Documentation

sistrip::SpyEventMatcher::CountersWrapper::CountersWrapper ( const Counters theCounters)

Definition at line 413 of file SiStripSpyEventMatcher.cc.

414  : pConst(theCounters),
415  p(NULL),
416  deleteP(false)
417  {
418  }
#define NULL
Definition: scimark2.h:8
sistrip::SpyEventMatcher::CountersWrapper::CountersWrapper ( Counters theCounters,
const bool  takeOwnership 
)

Definition at line 420 of file SiStripSpyEventMatcher.cc.

421  : pConst(theCounters),
422  p(theCounters),
423  deleteP(takeOwnership)
424  {
425 
426  }
sistrip::SpyEventMatcher::CountersWrapper::~CountersWrapper ( )

Definition at line 428 of file SiStripSpyEventMatcher.cc.

References deleteP, and p.

Member Function Documentation

const Counters::value_type sistrip::SpyEventMatcher::CountersWrapper::at ( const size_t  i) const
inline

Definition at line 109 of file SiStripSpyEventMatcher.h.

109 { return pConst->at(i); };
Counters::const_iterator sistrip::SpyEventMatcher::CountersWrapper::begin ( void  ) const
inline

Definition at line 110 of file SiStripSpyEventMatcher.h.

110 { return pConst->begin(); }
Counters::const_iterator sistrip::SpyEventMatcher::CountersWrapper::end ( void  ) const
inline
const Counters::value_type sistrip::SpyEventMatcher::CountersWrapper::operator[] ( const size_t  i) const
inline

Definition at line 108 of file SiStripSpyEventMatcher.h.

References mps_fire::i.

108 { return (*pConst)[i]; };

Member Data Documentation

bool sistrip::SpyEventMatcher::CountersWrapper::deleteP
private

Definition at line 115 of file SiStripSpyEventMatcher.h.

Referenced by ~CountersWrapper().

Counters* sistrip::SpyEventMatcher::CountersWrapper::p
private
const Counters* sistrip::SpyEventMatcher::CountersWrapper::pConst
private

Definition at line 113 of file SiStripSpyEventMatcher.h.