CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator Class Reference

#include <SeedingLayerSetsLooper.h>

Public Types

using difference_type = typename internal_iterator_type::difference_type
 
using internal_iterator_type = std::vector< LayerSetIndex >::const_iterator
 
using value_type = LayerSet< T >
 

Public Member Functions

 const_iterator (const T *container, const SeedingLayerSetsLooper *info, internal_iterator_type iter)
 
bool operator!= (const const_iterator &other) const
 
value_type operator* () const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
bool operator== (const const_iterator &other) const
 

Private Attributes

const Tcontainer_ = nullptr
 
const SeedingLayerSetsLooperinfo_ = nullptr
 
internal_iterator_type iter_
 

Detailed Description

template<typename T>
class SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator

Definition at line 41 of file SeedingLayerSetsLooper.h.

Member Typedef Documentation

template<typename T>
using SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::difference_type = typename internal_iterator_type::difference_type

Definition at line 45 of file SeedingLayerSetsLooper.h.

Definition at line 43 of file SeedingLayerSetsLooper.h.

Definition at line 44 of file SeedingLayerSetsLooper.h.

Constructor & Destructor Documentation

template<typename T>
SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::const_iterator ( const T container,
const SeedingLayerSetsLooper info,
internal_iterator_type  iter 
)
inline

Member Function Documentation

template<typename T>
bool SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::operator!= ( const const_iterator other) const
inline

Definition at line 61 of file SeedingLayerSetsLooper.h.

References operator==().

61 { return !operator==(other); }
bool operator==(const const_iterator &other) const
template<typename T>
value_type SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::operator* ( void  ) const
inline
template<typename T>
const_iterator& SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::operator++ ( void  )
inline

Definition at line 53 of file SeedingLayerSetsLooper.h.

53 { std::advance(iter_, info_->nlayers_); return *this; }
unsigned short nlayers_
Number of layers in a SeedingLayerSet.
template<typename T>
const_iterator SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::operator++ ( int  )
inline

Definition at line 54 of file SeedingLayerSetsLooper.h.

References clone().

54  {
55  const_iterator clone(*this);
56  ++(*this);
57  return clone;
58  }
const_iterator(const T *container, const SeedingLayerSetsLooper *info, internal_iterator_type iter)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
template<typename T>
bool SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::operator== ( const const_iterator other) const
inline

Member Data Documentation

template<typename T>
const T* SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::container_ = nullptr
private

Definition at line 64 of file SeedingLayerSetsLooper.h.

template<typename T>
const SeedingLayerSetsLooper* SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::info_ = nullptr
private

Definition at line 65 of file SeedingLayerSetsLooper.h.

template<typename T>
internal_iterator_type SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::iter_
private