BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::WholeItr< DecayClass > Class Template Reference

#include <WholeItr.h>

+ Inheritance diagram for dchain::WholeItr< DecayClass >:

Public Types

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

Public Member Functions

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

Protected Member Functions

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

Friends

class LabeledParticleList< T, typename T::CandidateClass >
 

Detailed Description

template<class DecayClass>
class dchain::WholeItr< DecayClass >

Definition at line 89 of file NeutralVisibleList.h.

Member Typedef Documentation

◆ difference_type

template<class DecayClass >
ParentType::difference_type dchain::WholeItr< DecayClass >::difference_type

Definition at line 92 of file WholeItr.h.

◆ ParentType

template<class DecayClass >
WholeCandidateItr<typename T::CandidateClass> dchain::WholeItr< DecayClass >::ParentType

Definition at line 91 of file WholeItr.h.

◆ size_type

template<class DecayClass >
ParentType::size_type dchain::WholeItr< DecayClass >::size_type

Definition at line 93 of file WholeItr.h.

Constructor & Destructor Documentation

◆ WholeItr() [1/2]

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

Definition at line 176 of file WholeItr.h.

176 :
177 WholeCandidateItr< typename T::CandidateClass >( aOtherItr )
178{
179}

◆ WholeItr() [2/2]

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

Definition at line 143 of file WholeItr.h.

144 :
145 WholeCandidateItr< typename T::CandidateClass >( aList ,
146 aIndex ) {}

Member Function Documentation

◆ operator*()

template<class T >
const LabeledParticle< T > & dchain::WholeItr< T >::operator* ( ) const
inline

Definition at line 237 of file WholeItr.h.

238{
239 return ( ( *(IndexedLabeledParticles< T , typename T::CandidateClass >*)(this->indexedCandidates()) ).labeledParticleClass( this->index() ) ) ;
240}
IndexedLabeledCandidates< CandidateClass > * indexedCandidates() const

◆ operator+()

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

Definition at line 112 of file WholeItr.h.

113 {
114 WholeItr< T > tmp( *this ) ;
115 return ( tmp += n ) ;
116 }
const Int_t n

◆ operator++() [1/2]

template<class T >
WholeItr< T > & dchain::WholeItr< T >::operator++ ( )
inline

Definition at line 199 of file WholeItr.h.

200{
202 return ( *this ) ;
203}
WholeCandidateItr< CandidateClass > & operator++()

◆ operator++() [2/2]

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

Definition at line 207 of file WholeItr.h.

208{
209 WholeItr< T > tmp( *this ) ;
211 return ( tmp ) ;
212}

◆ operator+=()

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

Definition at line 107 of file WholeItr.h.

108 {
110 return( *this ) ;
111 }
WholeCandidateItr< CandidateClass > & operator+=(difference_type n)

◆ operator-() [1/2]

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

Definition at line 134 of file WholeItr.h.

135 {
136 return ( this->index() - aOtherItr.index() ) ;
137 }

◆ operator-() [2/2]

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

Definition at line 122 of file WholeItr.h.

123 {
124 WholeItr< T > tmp( *this ) ;
125 return ( tmp -= n ) ;
126 }

◆ operator--() [1/2]

template<class T >
WholeItr< T > & dchain::WholeItr< T >::operator-- ( )
inline

Definition at line 216 of file WholeItr.h.

217{
219 return ( *this ) ;
220}
WholeCandidateItr< CandidateClass > & operator--()

◆ operator--() [2/2]

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

Definition at line 224 of file WholeItr.h.

225{
226 WholeItr< T > tmp( *this ) ;
228 return ( tmp ) ;
229}

◆ operator-=()

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

Definition at line 117 of file WholeItr.h.

118 {
120 return( *this ) ;
121 }
WholeCandidateItr< CandidateClass > & operator-=(difference_type n)

◆ operator=()

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

Definition at line 187 of file WholeItr.h.

188{
190 return ( *this ) ;
191}
const WholeCandidateItr & operator=(const WholeCandidateItr< CandidateClass > &aOtherItr)

◆ operator[]()

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

Definition at line 130 of file WholeItr.h.

131 {
132 return ( ( *(IndexedLabeledParticles< T , typename T::CandidateClass >*)(this->indexedCandidates()) ).labeledParticleClass( this->index() + n ) ) ;
133 }

Friends And Related Symbol Documentation

◆ LabeledParticleList< T, typename T::CandidateClass >

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

Definition at line 237 of file WholeItr.h.


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