CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
DigiContainerIterator< IndexType, DigiType > Class Template Reference

#include <MuonDigiCollection.h>

Public Types

typedef std::map< IndexType, std::vector< DigiType > > BaseContainer
 
typedef BaseContainer::const_iterator BaseIterator
 
typedef DigiRangeIterator::difference_type difference_type
 
typedef std::vector< DigiType >::const_iterator DigiRangeIterator
 
typedef DigiRangeIterator::iterator_category iterator_category
 
typedef void pointer
 
typedef value_type reference
 
typedef std::pair< IndexType, std::pair< DigiRangeIterator, DigiRangeIterator > > value_type
 

Public Member Functions

 DigiContainerIterator (BaseIterator i)
 
 DigiContainerIterator (void)
 
bool operator!= (const DigiContainerIterator &x) const
 
value_type operator* (void) const
 
DigiContainerIterator operator++ (int)
 
DigiContainerIteratoroperator++ (void)
 
bool operator== (const DigiContainerIterator &x) const
 

Private Attributes

BaseIterator base_
 

Detailed Description

template<typename IndexType, typename DigiType>
class DigiContainerIterator< IndexType, DigiType >

Definition at line 30 of file MuonDigiCollection.h.

Member Typedef Documentation

◆ BaseContainer

template<typename IndexType , typename DigiType >
typedef std::map<IndexType, std::vector<DigiType> > DigiContainerIterator< IndexType, DigiType >::BaseContainer

Definition at line 33 of file MuonDigiCollection.h.

◆ BaseIterator

template<typename IndexType , typename DigiType >
typedef BaseContainer::const_iterator DigiContainerIterator< IndexType, DigiType >::BaseIterator

Definition at line 34 of file MuonDigiCollection.h.

◆ difference_type

template<typename IndexType , typename DigiType >
typedef DigiRangeIterator::difference_type DigiContainerIterator< IndexType, DigiType >::difference_type

Definition at line 39 of file MuonDigiCollection.h.

◆ DigiRangeIterator

template<typename IndexType , typename DigiType >
typedef std::vector<DigiType>::const_iterator DigiContainerIterator< IndexType, DigiType >::DigiRangeIterator

Definition at line 32 of file MuonDigiCollection.h.

◆ iterator_category

template<typename IndexType , typename DigiType >
typedef DigiRangeIterator::iterator_category DigiContainerIterator< IndexType, DigiType >::iterator_category

Definition at line 40 of file MuonDigiCollection.h.

◆ pointer

template<typename IndexType , typename DigiType >
typedef void DigiContainerIterator< IndexType, DigiType >::pointer

Definition at line 38 of file MuonDigiCollection.h.

◆ reference

template<typename IndexType , typename DigiType >
typedef value_type DigiContainerIterator< IndexType, DigiType >::reference

Definition at line 37 of file MuonDigiCollection.h.

◆ value_type

template<typename IndexType , typename DigiType >
typedef std::pair<IndexType, std::pair<DigiRangeIterator, DigiRangeIterator> > DigiContainerIterator< IndexType, DigiType >::value_type

Definition at line 36 of file MuonDigiCollection.h.

Constructor & Destructor Documentation

◆ DigiContainerIterator() [1/2]

template<typename IndexType , typename DigiType >
DigiContainerIterator< IndexType, DigiType >::DigiContainerIterator ( void  )
inline

Definition at line 42 of file MuonDigiCollection.h.

42 {}

Referenced by DigiContainerIterator< IndexType, DigiType >::operator++().

◆ DigiContainerIterator() [2/2]

template<typename IndexType , typename DigiType >
DigiContainerIterator< IndexType, DigiType >::DigiContainerIterator ( BaseIterator  i)
inline

Definition at line 43 of file MuonDigiCollection.h.

43 : base_(i) {}

Member Function Documentation

◆ operator!=()

template<typename IndexType , typename DigiType >
bool DigiContainerIterator< IndexType, DigiType >::operator!= ( const DigiContainerIterator< IndexType, DigiType > &  x) const
inline

Definition at line 57 of file MuonDigiCollection.h.

57 { return x.base_ != base_; }

References DigiContainerIterator< IndexType, DigiType >::base_, and x.

◆ operator*()

template<typename IndexType , typename DigiType >
value_type DigiContainerIterator< IndexType, DigiType >::operator* ( void  ) const
inline

Definition at line 59 of file MuonDigiCollection.h.

59  {
60  return std::make_pair(base_->first, std::make_pair(base_->second.begin(), base_->second.end()));
61  }

References DigiContainerIterator< IndexType, DigiType >::base_.

◆ operator++() [1/2]

template<typename IndexType , typename DigiType >
DigiContainerIterator DigiContainerIterator< IndexType, DigiType >::operator++ ( int  )
inline

◆ operator++() [2/2]

template<typename IndexType , typename DigiType >
DigiContainerIterator& DigiContainerIterator< IndexType, DigiType >::operator++ ( void  )
inline

Definition at line 50 of file MuonDigiCollection.h.

50  {
51  ++base_;
52  return *this;
53  }

References DigiContainerIterator< IndexType, DigiType >::base_.

◆ operator==()

template<typename IndexType , typename DigiType >
bool DigiContainerIterator< IndexType, DigiType >::operator== ( const DigiContainerIterator< IndexType, DigiType > &  x) const
inline

Definition at line 55 of file MuonDigiCollection.h.

55 { return x.base_ == base_; }

References DigiContainerIterator< IndexType, DigiType >::base_, and x.

Member Data Documentation

◆ base_

template<typename IndexType , typename DigiType >
BaseIterator DigiContainerIterator< IndexType, DigiType >::base_
private
mps_fire.i
i
Definition: mps_fire.py:428
DigiContainerIterator::base_
BaseIterator base_
Definition: MuonDigiCollection.h:64
DigiContainerIterator::DigiContainerIterator
DigiContainerIterator(void)
Definition: MuonDigiCollection.h:42
DDAxes::x