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 414 of file SiStripSpyEventMatcher.cc.

sistrip::SpyEventMatcher::CountersWrapper::CountersWrapper ( Counters theCounters,
const bool  takeOwnership 
)

Definition at line 421 of file SiStripSpyEventMatcher.cc.

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

Definition at line 429 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.