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 104 of file SiStripSpyEventMatcher.h.

Constructor & Destructor Documentation

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

Definition at line 426 of file SiStripSpyEventMatcher.cc.

427  : pConst(theCounters),
428  p(NULL),
429  deleteP(false)
430  {
431  }
#define NULL
Definition: scimark2.h:8
sistrip::SpyEventMatcher::CountersWrapper::CountersWrapper ( Counters theCounters,
const bool  takeOwnership 
)

Definition at line 433 of file SiStripSpyEventMatcher.cc.

434  : pConst(theCounters),
435  p(theCounters),
436  deleteP(takeOwnership)
437  {
438 
439  }
sistrip::SpyEventMatcher::CountersWrapper::~CountersWrapper ( )

Member Function Documentation

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

Definition at line 111 of file SiStripSpyEventMatcher.h.

References pConst.

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

Definition at line 112 of file SiStripSpyEventMatcher.h.

References pConst.

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

Definition at line 113 of file SiStripSpyEventMatcher.h.

References pConst.

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

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

Definition at line 110 of file SiStripSpyEventMatcher.h.

References i, and pConst.

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

Member Data Documentation

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

Definition at line 117 of file SiStripSpyEventMatcher.h.

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

Definition at line 115 of file SiStripSpyEventMatcher.h.

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