CMS 3D CMS Logo

DigiContainerIterator< IndexType, DigiType > Class Template Reference

#include <DataFormats/MuonData/interface/MuonDigiCollection.h>

List of all members.

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)
value_type operator * (void) const
bool operator!= (const DigiContainerIterator &x)
DigiContainerIteratoroperator++ (void)
DigiContainerIterator operator++ (int)
bool operator== (const DigiContainerIterator &x)

Private Attributes

BaseIterator base_


Detailed Description

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

Definition at line 32 of file MuonDigiCollection.h.


Member Typedef Documentation

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

Definition at line 35 of file MuonDigiCollection.h.

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

Definition at line 36 of file MuonDigiCollection.h.

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

Definition at line 43 of file MuonDigiCollection.h.

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

Definition at line 34 of file MuonDigiCollection.h.

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

Definition at line 44 of file MuonDigiCollection.h.

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

Definition at line 42 of file MuonDigiCollection.h.

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

Definition at line 41 of file MuonDigiCollection.h.

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

Definition at line 40 of file MuonDigiCollection.h.


Constructor & Destructor Documentation

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

Definition at line 46 of file MuonDigiCollection.h.

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

00046 {}

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

Definition at line 47 of file MuonDigiCollection.h.

00047 : base_ (i) {}


Member Function Documentation

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

Definition at line 64 of file MuonDigiCollection.h.

References DigiContainerIterator< IndexType, DigiType >::base_.

00065     {
00066       return std::make_pair(base_->first,
00067                             std::make_pair(base_->second.begin(), 
00068                                            base_->second.end()));
00069     }

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

Definition at line 61 of file MuonDigiCollection.h.

References DigiContainerIterator< IndexType, DigiType >::base_.

00062     { return x.base_ != base_; }

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

Definition at line 55 of file MuonDigiCollection.h.

References DigiContainerIterator< IndexType, DigiType >::base_.

00056     { ++base_; return *this; }

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

Definition at line 52 of file MuonDigiCollection.h.

References DigiContainerIterator< IndexType, DigiType >::base_, and DigiContainerIterator< IndexType, DigiType >::DigiContainerIterator().

00053     { return DigiContainerIterator (base_++); }

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

Definition at line 58 of file MuonDigiCollection.h.

References DigiContainerIterator< IndexType, DigiType >::base_.

00059     { return x.base_ == base_; }


Member Data Documentation

template<typename IndexType, typename DigiType>
BaseIterator DigiContainerIterator< IndexType, DigiType >::base_ [private]

Definition at line 72 of file MuonDigiCollection.h.

Referenced by DigiContainerIterator< IndexType, DigiType >::operator *(), DigiContainerIterator< IndexType, DigiType >::operator!=(), DigiContainerIterator< IndexType, DigiType >::operator++(), and DigiContainerIterator< IndexType, DigiType >::operator==().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:18:25 2009 for CMSSW by  doxygen 1.5.4