CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
HcalDcsMap::const_iterator Class Reference

#include <HcalDcsMap.h>

Public Member Functions

 const_iterator ()
 
HcalDcsDetId getHcalDcsDetId (void)
 
HcalDetId getHcalDetId (void)
 
void next (void)
 
bool operator!= (const const_iterator &other)
 
const_iterator operator++ ()
 
const_iterator operator++ (int)
 
 ~const_iterator ()
 

Private Attributes

std::vector< const Item * >::const_iterator fIter
 

Friends

class HcalDcsMap
 

Detailed Description

Definition at line 85 of file HcalDcsMap.h.

Constructor & Destructor Documentation

◆ const_iterator()

HcalDcsMap::const_iterator::const_iterator ( )
inline

Definition at line 88 of file HcalDcsMap.h.

88 {}

◆ ~const_iterator()

HcalDcsMap::const_iterator::~const_iterator ( )
inline

Definition at line 89 of file HcalDcsMap.h.

89 {}

Member Function Documentation

◆ getHcalDcsDetId()

HcalDcsDetId HcalDcsMap::const_iterator::getHcalDcsDetId ( void  )

Definition at line 86 of file HcalDcsMap.cc.

86 { return (*fIter)->mDcsId; }

◆ getHcalDetId()

HcalDetId HcalDcsMap::const_iterator::getHcalDetId ( void  )

Definition at line 88 of file HcalDcsMap.cc.

88 { return (*fIter)->mId; }

◆ next()

void HcalDcsMap::const_iterator::next ( void  )

Definition at line 84 of file HcalDcsMap.cc.

84 { ++fIter; }

◆ operator!=()

bool HcalDcsMap::const_iterator::operator!= ( const const_iterator other)

Definition at line 66 of file HcalDcsMap.cc.

66  {
67  if (fIter != other.fIter)
68  return true;
69  else
70  return false;
71 }

References fIter, and trackingPlots::other.

◆ operator++() [1/2]

HcalDcsMap::const_iterator HcalDcsMap::const_iterator::operator++ ( )

Definition at line 73 of file HcalDcsMap.cc.

73  {
74  ++fIter;
75  return *this;
76 }

◆ operator++() [2/2]

HcalDcsMap::const_iterator HcalDcsMap::const_iterator::operator++ ( int  )

Definition at line 78 of file HcalDcsMap.cc.

78  {
79  const_iterator i = *this;
80  ++fIter;
81  return i;
82 }

References mps_fire::i.

Friends And Related Function Documentation

◆ HcalDcsMap

friend class HcalDcsMap
friend

Definition at line 87 of file HcalDcsMap.h.

Member Data Documentation

◆ fIter

std::vector<const Item*>::const_iterator HcalDcsMap::const_iterator::fIter
private
mps_fire.i
i
Definition: mps_fire.py:428
trackingPlots.other
other
Definition: trackingPlots.py:1464
HcalDcsMap::const_iterator::fIter
std::vector< const Item * >::const_iterator fIter
Definition: HcalDcsMap.h:98
HcalDcsMap::const_iterator::const_iterator
const_iterator()
Definition: HcalDcsMap.h:88