BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::MuteWholeItr< T > Class Template Reference

#include <MuteWholeItr.h>

+ Inheritance diagram for dchain::MuteWholeItr< T >:

Public Types

typedef MuteWholeCandidateItr< typename T::CandidateClass > ParentType
 
typedef ParentType::difference_type difference_type
 
typedef ParentType::size_type size_type
 
- Public Types inherited from dchain::MuteWholeCandidateItr< T::CandidateClass >
typedef const LabeledCandidate< T::CandidateClass > value_type
 
typedef candidateitr::size_type distance_type
 
typedef candidateitr::size_type size_type
 
typedef candidateitr::difference_type difference_type
 
typedef std::random_access_iterator_tag iterator_category
 
typedef const LabeledCandidate< T::CandidateClass > * pointer
 
typedef const LabeledCandidate< T::CandidateClass > & reference
 

Public Member Functions

 MuteWholeItr (const MuteWholeItr< T > &aOtherItr)
 
const MuteWholeItr< T > & operator= (const MuteWholeItr< T > &aOtherItr)
 
MuteWholeItr< T > & operator++ ()
 
MuteWholeItr< T > operator++ (int)
 
MuteWholeItr< T > & operator-- ()
 
MuteWholeItr< T > operator-- (int)
 
MuteWholeItr< T > & operator+= (difference_type n)
 
MuteWholeItr< T > operator+ (difference_type n)
 
MuteWholeItr< T > & operator-= (difference_type n)
 
MuteWholeItr< T > operator- (difference_type n)
 
LabeledParticle< T > & operator* () const
 
LabeledParticle< T > & operator[] (size_type n) const
 
difference_type operator- (const MuteWholeItr< T > &aOtherItr) const
 
- Public Member Functions inherited from dchain::MuteWholeCandidateItr< T::CandidateClass >
 MuteWholeCandidateItr (const MuteWholeCandidateItr< T::CandidateClass > &aOtherItr)
 
virtual ~MuteWholeCandidateItr ()
 
const MuteWholeCandidateItr< T::CandidateClass > & operator= (const MuteWholeCandidateItr< T::CandidateClass > &aOtherItr)
 
MuteWholeCandidateItr< T::CandidateClass > & operator++ ()
 
MuteWholeCandidateItr< T::CandidateClass > operator++ (int)
 
MuteWholeCandidateItr< T::CandidateClass > & operator-- ()
 
MuteWholeCandidateItr< T::CandidateClass > operator-- (int)
 
MuteWholeCandidateItr< T::CandidateClass > & operator+= (difference_type n)
 
MuteWholeCandidateItr< T::CandidateClass > operator+ (difference_type n)
 
MuteWholeCandidateItr< T::CandidateClass > & operator-= (difference_type n)
 
MuteWholeCandidateItr< T::CandidateClass > operator- (difference_type n)
 
difference_type operator- (const MuteWholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
LabeledCandidate< T::CandidateClass > & operator* () const
 
LabeledCandidate< T::CandidateClass > & operator[] (size_type n) const
 
bool operator== (const MuteWholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator!= (const MuteWholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator< (const MuteWholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator> (const MuteWholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator>= (const MuteWholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator<= (const MuteWholeCandidateItr< T::CandidateClass > &aOtherItr) const
 

Protected Member Functions

 MuteWholeItr (IndexedLabeledParticles< T, typename T::CandidateClass > *aList, const size_type aIndex)
 
- Protected Member Functions inherited from dchain::MuteWholeCandidateItr< T::CandidateClass >
 MuteWholeCandidateItr (IndexedLabeledCandidates< T::CandidateClass > *aList, const size_type aIndex)
 
IndexedLabeledCandidates< T::CandidateClass > * indexedCandidates () const
 
size_type index () const
 

Friends

class LabeledParticleList< T, typename T::CandidateClass >
 

Detailed Description

template<class T>
class dchain::MuteWholeItr< T >

Definition at line 50 of file MuteWholeItr.h.

Member Typedef Documentation

◆ difference_type

template<class T >
typedef ParentType::difference_type dchain::MuteWholeItr< T >::difference_type

Definition at line 58 of file MuteWholeItr.h.

◆ ParentType

template<class T >
typedef MuteWholeCandidateItr<typename T::CandidateClass> dchain::MuteWholeItr< T >::ParentType

Definition at line 57 of file MuteWholeItr.h.

◆ size_type

template<class T >
typedef ParentType::size_type dchain::MuteWholeItr< T >::size_type

Definition at line 59 of file MuteWholeItr.h.

Constructor & Destructor Documentation

◆ MuteWholeItr() [1/2]

template<class T >
dchain::MuteWholeItr< T >::MuteWholeItr ( const MuteWholeItr< T > &  aOtherItr)
inline

Definition at line 140 of file MuteWholeItr.h.

140 :
141 MuteWholeCandidateItr< typename T::CandidateClass >( aOtherItr )
142{
143}

◆ MuteWholeItr() [2/2]

template<class T >
dchain::MuteWholeItr< T >::MuteWholeItr ( IndexedLabeledParticles< T, typename T::CandidateClass > *  aList,
const size_type  aIndex 
)
inlineprotected

Definition at line 109 of file MuteWholeItr.h.

110 :
111 MuteWholeCandidateItr< typename T::CandidateClass >( aList ,
112 aIndex ) {}

Member Function Documentation

◆ operator*()

template<class T >
LabeledParticle< T > & dchain::MuteWholeItr< T >::operator*
inline

Definition at line 201 of file MuteWholeItr.h.

202{
203 return ( ( *(IndexedLabeledParticles< T , typename T::CandidateClass >*)(this->indexedCandidates()) ).labeledParticleClass( this->index() ) ) ;
204}
IndexedLabeledCandidates< T::CandidateClass > * indexedCandidates() const

◆ operator+()

template<class T >
MuteWholeItr< T > dchain::MuteWholeItr< T >::operator+ ( difference_type  n)
inline

Definition at line 78 of file MuteWholeItr.h.

79{
80 MuteWholeItr< T > tmp( *this ) ;
81 return ( tmp += n ) ;
82}
const Int_t n

◆ operator++() [1/2]

template<class T >
MuteWholeItr< T > & dchain::MuteWholeItr< T >::operator++
inline

Definition at line 163 of file MuteWholeItr.h.

164{
166 return ( *this ) ;
167}
MuteWholeCandidateItr< CandidateClass > & operator++()

◆ operator++() [2/2]

template<class T >
MuteWholeItr< T > dchain::MuteWholeItr< T >::operator++ ( int  )
inline

Definition at line 171 of file MuteWholeItr.h.

172{
173 MuteWholeItr< T > tmp( *this ) ;
175 return ( tmp ) ;
176}

◆ operator+=()

template<class T >
MuteWholeItr< T > & dchain::MuteWholeItr< T >::operator+= ( difference_type  n)
inline

Definition at line 73 of file MuteWholeItr.h.

74{
76 return( *this ) ;
77}
MuteWholeCandidateItr< CandidateClass > & operator+=(difference_type n)

◆ operator-() [1/2]

template<class T >
difference_type dchain::MuteWholeItr< T >::operator- ( const MuteWholeItr< T > &  aOtherItr) const
inline

Definition at line 100 of file MuteWholeItr.h.

101{
102 return ( this->index() - aOtherItr.index() ) ;
103}

◆ operator-() [2/2]

template<class T >
MuteWholeItr< T > dchain::MuteWholeItr< T >::operator- ( difference_type  n)
inline

Definition at line 88 of file MuteWholeItr.h.

89{
90 MuteWholeItr< T > tmp( *this ) ;
91 return ( tmp -= n ) ;
92}

◆ operator--() [1/2]

template<class T >
MuteWholeItr< T > & dchain::MuteWholeItr< T >::operator--
inline

Definition at line 180 of file MuteWholeItr.h.

181{
183 return ( *this ) ;
184}
MuteWholeCandidateItr< CandidateClass > & operator--()

◆ operator--() [2/2]

template<class T >
MuteWholeItr< T > dchain::MuteWholeItr< T >::operator-- ( int  )
inline

Definition at line 188 of file MuteWholeItr.h.

189{
190 MuteWholeItr< T > tmp( *this ) ;
192 return ( tmp ) ;
193}

◆ operator-=()

template<class T >
MuteWholeItr< T > & dchain::MuteWholeItr< T >::operator-= ( difference_type  n)
inline

Definition at line 83 of file MuteWholeItr.h.

84{
86 return( *this ) ;
87}
MuteWholeCandidateItr< CandidateClass > & operator-=(difference_type n)

◆ operator=()

template<class T >
const MuteWholeItr< T > & dchain::MuteWholeItr< T >::operator= ( const MuteWholeItr< T > &  aOtherItr)
inline

Definition at line 151 of file MuteWholeItr.h.

152{
154 return ( *this ) ;
155}
const MuteWholeCandidateItr< CandidateClass > & operator=(const MuteWholeCandidateItr< CandidateClass > &aOtherItr)

◆ operator[]()

template<class T >
LabeledParticle< T > & dchain::MuteWholeItr< T >::operator[] ( size_type  n) const
inline

Definition at line 96 of file MuteWholeItr.h.

97{
98 return ( ( *(IndexedLabeledParticles< T , typename T::CandidateClass >*)(this->indexedCandidates()) ).labeledParticleClass( this->index() + n ) ) ;
99}

Friends And Related Function Documentation

◆ LabeledParticleList< T, typename T::CandidateClass >

template<class T >
friend class LabeledParticleList< T, typename T::CandidateClass >
friend

Definition at line 201 of file MuteWholeItr.h.


The documentation for this class was generated from the following file: