CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Attributes
edm::RefVectorIterator< C, T, F > Class Template Reference

#include <EDProductfwd.h>

Inheritance diagram for edm::RefVectorIterator< C, T, F >:

Classes

class  RefProxy
 

Public Types

typedef const Ref< C, T, Fconst_reference
 
typedef std::ptrdiff_t difference
 
typedef RefVectorIterator< C, T, Fiterator
 
typedef value_type::key_type key_type
 
typedef std::vector< key_type >::const_iterator keyIter
 
typedef std::vector< void const * >::const_iterator MemberIter
 
typedef const_reference reference
 
typedef Ref< C, T, Fvalue_type
 

Public Member Functions

key_type key () const
 
bool operator!= (iterator const &rhs) const
 
reference operator* () const
 
iterator operator+ (difference n) const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator+= (difference n)
 
iterator operator- (difference n) const
 
difference operator- (iterator const &rhs) const
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
iteratoroperator-= (difference n)
 
RefProxy operator-> () const
 
bool operator< (iterator const &rhs) const
 
bool operator<= (iterator const &rhs) const
 
bool operator== (iterator const &rhs) const
 
bool operator> (iterator const &rhs) const
 
bool operator>= (iterator const &rhs) const
 
reference operator[] (difference n) const
 
 RefVectorIterator ()
 
 RefVectorIterator (RefVector< C, T, F > const *refVector, typename RefVector< C, T, F >::size_type iter)
 
 RefVectorIterator (RefVector< RefVector< C, T, F >, T, typename refhelper::FindTrait< RefVector< C, T, F >, T >::value > const *refVector, typename RefVector< C, T, F >::size_type iter)
 

Private Attributes

RefVector< C, T, F >::size_type iter_
 
RefVector< RefVector< C, T, F >, T, typename refhelper::FindTrait< RefVector< C, T, F >, T >::value > const * nestedRefVector_
 
RefVector< C, T, F > const * refVector_
 

Detailed Description

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
class edm::RefVectorIterator< C, T, F >

Definition at line 33 of file EDProductfwd.h.

Member Typedef Documentation

◆ const_reference

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
typedef const Ref<C, T, F> edm::RefVectorIterator< C, T, F >::const_reference

Definition at line 23 of file RefVectorIterator.h.

◆ difference

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
typedef std::ptrdiff_t edm::RefVectorIterator< C, T, F >::difference

Definition at line 29 of file RefVectorIterator.h.

◆ iterator

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
typedef RefVectorIterator<C, T, F> edm::RefVectorIterator< C, T, F >::iterator

Definition at line 28 of file RefVectorIterator.h.

◆ key_type

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
typedef value_type::key_type edm::RefVectorIterator< C, T, F >::key_type

Definition at line 26 of file RefVectorIterator.h.

◆ keyIter

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
typedef std::vector<key_type>::const_iterator edm::RefVectorIterator< C, T, F >::keyIter

Definition at line 30 of file RefVectorIterator.h.

◆ MemberIter

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
typedef std::vector<void const*>::const_iterator edm::RefVectorIterator< C, T, F >::MemberIter

Definition at line 31 of file RefVectorIterator.h.

◆ reference

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
typedef const_reference edm::RefVectorIterator< C, T, F >::reference

Definition at line 24 of file RefVectorIterator.h.

◆ value_type

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
typedef Ref<C, T, F> edm::RefVectorIterator< C, T, F >::value_type

Definition at line 22 of file RefVectorIterator.h.

Constructor & Destructor Documentation

◆ RefVectorIterator() [1/3]

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
edm::RefVectorIterator< C, T, F >::RefVectorIterator ( )
inline

Definition at line 33 of file RefVectorIterator.h.

33 : refVector_(nullptr), nestedRefVector_(nullptr), iter_(0) {}

◆ RefVectorIterator() [2/3]

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
edm::RefVectorIterator< C, T, F >::RefVectorIterator ( RefVector< C, T, F > const *  refVector,
typename RefVector< C, T, F >::size_type  iter 
)
inlineexplicit

Definition at line 35 of file RefVectorIterator.h.

36  : refVector_(refVector), nestedRefVector_(nullptr), iter_(iter) {}

◆ RefVectorIterator() [3/3]

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
edm::RefVectorIterator< C, T, F >::RefVectorIterator ( RefVector< RefVector< C, T, F >, T, typename refhelper::FindTrait< RefVector< C, T, F >, T >::value > const *  refVector,
typename RefVector< C, T, F >::size_type  iter 
)
inlineexplicit

Definition at line 38 of file RefVectorIterator.h.

41  : refVector_(nullptr), nestedRefVector_(refVector), iter_(iter) {}

Member Function Documentation

◆ key()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
key_type edm::RefVectorIterator< C, T, F >::key ( ) const
inline

◆ operator!=()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
bool edm::RefVectorIterator< C, T, F >::operator!= ( iterator const &  rhs) const
inline

Definition at line 110 of file RefVectorIterator.h.

110 { return this->iter_ != rhs.iter_; }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator*()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
reference edm::RefVectorIterator< C, T, F >::operator* ( ) const
inline

◆ operator+()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
iterator edm::RefVectorIterator< C, T, F >::operator+ ( difference  n) const
inline

Definition at line 96 of file RefVectorIterator.h.

96  {
97  iterator it(*this);
98  it.iter_ += n;
99  return it;
100  }

References edm::RefVectorIterator< C, T, F >::iter_, and dqmiodumpmetadata::n.

◆ operator++() [1/2]

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
iterator& edm::RefVectorIterator< C, T, F >::operator++ ( )
inline

Definition at line 69 of file RefVectorIterator.h.

69  {
70  ++iter_;
71  return *this;
72  }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator++() [2/2]

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
iterator edm::RefVectorIterator< C, T, F >::operator++ ( int  )
inline

Definition at line 86 of file RefVectorIterator.h.

86  {
87  iterator it(*this);
88  ++iter_;
89  return it;
90  }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator+=()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
iterator& edm::RefVectorIterator< C, T, F >::operator+= ( difference  n)
inline

Definition at line 77 of file RefVectorIterator.h.

77  {
78  iter_ += n;
79  return *this;
80  }

References edm::RefVectorIterator< C, T, F >::iter_, and dqmiodumpmetadata::n.

◆ operator-() [1/2]

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
iterator edm::RefVectorIterator< C, T, F >::operator- ( difference  n) const
inline

Definition at line 101 of file RefVectorIterator.h.

101  {
102  iterator it(*this);
103  it.iter_ -= n;
104  return it;
105  }

References edm::RefVectorIterator< C, T, F >::iter_, and dqmiodumpmetadata::n.

◆ operator-() [2/2]

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
difference edm::RefVectorIterator< C, T, F >::operator- ( iterator const &  rhs) const
inline

Definition at line 107 of file RefVectorIterator.h.

107 { return this->iter_ - rhs.iter_; }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator--() [1/2]

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
iterator& edm::RefVectorIterator< C, T, F >::operator-- ( )
inline

Definition at line 73 of file RefVectorIterator.h.

73  {
74  --iter_;
75  return *this;
76  }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator--() [2/2]

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
iterator edm::RefVectorIterator< C, T, F >::operator-- ( int  )
inline

Definition at line 91 of file RefVectorIterator.h.

91  {
92  iterator it(*this);
93  --iter_;
94  return it;
95  }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator-=()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
iterator& edm::RefVectorIterator< C, T, F >::operator-= ( difference  n)
inline

Definition at line 81 of file RefVectorIterator.h.

81  {
82  iter_ -= n;
83  return *this;
84  }

References edm::RefVectorIterator< C, T, F >::iter_, and dqmiodumpmetadata::n.

◆ operator->()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
RefProxy edm::RefVectorIterator< C, T, F >::operator-> ( ) const
inline

◆ operator<()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
bool edm::RefVectorIterator< C, T, F >::operator< ( iterator const &  rhs) const
inline

Definition at line 111 of file RefVectorIterator.h.

111 { return this->iter_ < rhs.iter_; }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator<=()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
bool edm::RefVectorIterator< C, T, F >::operator<= ( iterator const &  rhs) const
inline

Definition at line 113 of file RefVectorIterator.h.

113 { return this->iter_ <= rhs.iter_; }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator==()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
bool edm::RefVectorIterator< C, T, F >::operator== ( iterator const &  rhs) const
inline

Definition at line 109 of file RefVectorIterator.h.

109 { return this->iter_ == rhs.iter_; }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator>()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
bool edm::RefVectorIterator< C, T, F >::operator> ( iterator const &  rhs) const
inline

Definition at line 112 of file RefVectorIterator.h.

112 { return this->iter_ > rhs.iter_; }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator>=()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
bool edm::RefVectorIterator< C, T, F >::operator>= ( iterator const &  rhs) const
inline

Definition at line 114 of file RefVectorIterator.h.

114 { return this->iter_ >= rhs.iter_; }

References edm::RefVectorIterator< C, T, F >::iter_.

◆ operator[]()

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
reference edm::RefVectorIterator< C, T, F >::operator[] ( difference  n) const
inline

Member Data Documentation

◆ iter_

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
RefVector<C, T, F>::size_type edm::RefVectorIterator< C, T, F >::iter_
private

◆ nestedRefVector_

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
RefVector<RefVector<C, T, F>, T, typename refhelper::FindTrait<RefVector<C, T, F>, T>::value> const* edm::RefVectorIterator< C, T, F >::nestedRefVector_
private

◆ refVector_

template<typename C, typename T = typename Ref<C>::value_type, typename F = typename Ref<C>::finder_type>
RefVector<C, T, F> const* edm::RefVectorIterator< C, T, F >::refVector_
private
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
edm::RefVector::size_type
KeyVec::size_type size_type
Definition: RefVector.h:48
edm::RefVectorIterator::value_type
Ref< C, T, F > value_type
Definition: RefVectorIterator.h:22
edm::RefVectorIterator::nestedRefVector_
RefVector< RefVector< C, T, F >, T, typename refhelper::FindTrait< RefVector< C, T, F >, T >::value > const * nestedRefVector_
Definition: RefVectorIterator.h:125
edm::RefVectorIterator::iter_
RefVector< C, T, F >::size_type iter_
Definition: RefVectorIterator.h:126
edm::RefVectorIterator::refVector_
RefVector< C, T, F > const * refVector_
Definition: RefVectorIterator.h:123
edm::RefVectorIterator::iterator
RefVectorIterator< C, T, F > iterator
Definition: RefVectorIterator.h:28
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66