CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
TrackingRegionsSeedingLayerSets::const_iterator Class Reference

#include <TrackingRegionsSeedingLayerSets.h>

Public Types

using difference_type = internal_iterator_type::difference_type
 
using internal_iterator_type = std::vector< Element >::const_iterator
 
using value_type = RegionLayers
 

Public Member Functions

 const_iterator (internal_iterator_type iter, const SeedingLayerSetsHits *seedingLayerSetsHits)
 
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

internal_iterator_type iter_
 
const SeedingLayerSetsHitsseedingLayerSetsHits_
 

Detailed Description

Definition at line 29 of file TrackingRegionsSeedingLayerSets.h.

Member Typedef Documentation

◆ difference_type

using TrackingRegionsSeedingLayerSets::const_iterator::difference_type = internal_iterator_type::difference_type

Definition at line 33 of file TrackingRegionsSeedingLayerSets.h.

◆ internal_iterator_type

Definition at line 31 of file TrackingRegionsSeedingLayerSets.h.

◆ value_type

Definition at line 32 of file TrackingRegionsSeedingLayerSets.h.

Constructor & Destructor Documentation

◆ const_iterator()

TrackingRegionsSeedingLayerSets::const_iterator::const_iterator ( internal_iterator_type  iter,
const SeedingLayerSetsHits seedingLayerSetsHits 
)
inline

Member Function Documentation

◆ operator!=()

bool TrackingRegionsSeedingLayerSets::const_iterator::operator!= ( const const_iterator other) const
inline

Definition at line 50 of file TrackingRegionsSeedingLayerSets.h.

References operator==(), and trackingPlots::other.

50 { return !operator==(other); }

◆ operator*()

value_type TrackingRegionsSeedingLayerSets::const_iterator::operator* ( void  ) const
inline

Definition at line 38 of file TrackingRegionsSeedingLayerSets.h.

References iter_, and seedingLayerSetsHits_.

◆ operator++() [1/2]

const_iterator& TrackingRegionsSeedingLayerSets::const_iterator::operator++ ( void  )
inline

Definition at line 39 of file TrackingRegionsSeedingLayerSets.h.

References iter_.

39  {
40  ++iter_;
41  return *this;
42  }

◆ operator++() [2/2]

const_iterator TrackingRegionsSeedingLayerSets::const_iterator::operator++ ( int  )
inline

Definition at line 43 of file TrackingRegionsSeedingLayerSets.h.

References clone().

43  {
44  const_iterator clone(*this);
45  ++(*this);
46  return clone;
47  }
const_iterator(internal_iterator_type iter, const SeedingLayerSetsHits *seedingLayerSetsHits)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135

◆ operator==()

bool TrackingRegionsSeedingLayerSets::const_iterator::operator== ( const const_iterator other) const
inline

Definition at line 49 of file TrackingRegionsSeedingLayerSets.h.

References iter_, and trackingPlots::other.

Referenced by operator!=().

Member Data Documentation

◆ iter_

internal_iterator_type TrackingRegionsSeedingLayerSets::const_iterator::iter_
private

Definition at line 53 of file TrackingRegionsSeedingLayerSets.h.

Referenced by operator*(), operator++(), and operator==().

◆ seedingLayerSetsHits_

const SeedingLayerSetsHits* TrackingRegionsSeedingLayerSets::const_iterator::seedingLayerSetsHits_
private

Definition at line 54 of file TrackingRegionsSeedingLayerSets.h.

Referenced by operator*().