CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 103 of file SiStripSpyEventMatcher.h.

Constructor & Destructor Documentation

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

Definition at line 432 of file SiStripSpyEventMatcher.cc.

433  : pConst(theCounters),
434  p(NULL),
435  deleteP(false)
436  {
437  }
#define NULL
Definition: scimark2.h:8
sistrip::SpyEventMatcher::CountersWrapper::CountersWrapper ( Counters theCounters,
const bool  takeOwnership 
)

Definition at line 439 of file SiStripSpyEventMatcher.cc.

440  : pConst(theCounters),
441  p(theCounters),
442  deleteP(takeOwnership)
443  {
444 
445  }
sistrip::SpyEventMatcher::CountersWrapper::~CountersWrapper ( )

Member Function Documentation

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

Definition at line 110 of file SiStripSpyEventMatcher.h.

References pConst.

110 { return pConst->at(i); };
int i
Definition: DBlmapReader.cc:9
Counters::const_iterator sistrip::SpyEventMatcher::CountersWrapper::begin ( void  ) const
inline

Definition at line 111 of file SiStripSpyEventMatcher.h.

References pConst.

111 { return pConst->begin(); }
Counters::const_iterator sistrip::SpyEventMatcher::CountersWrapper::end ( void  ) const
inline

Definition at line 112 of file SiStripSpyEventMatcher.h.

References pConst.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

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

Definition at line 109 of file SiStripSpyEventMatcher.h.

References i, and pConst.

109 { return (*pConst)[i]; };
int i
Definition: DBlmapReader.cc:9

Member Data Documentation

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

Definition at line 116 of file SiStripSpyEventMatcher.h.

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

Definition at line 114 of file SiStripSpyEventMatcher.h.

Referenced by at(), begin(), end(), and operator[]().