CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::WholeItr< T > Class Template Reference

#include <WholeItr.h>

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

Public Types

typedef WholeCandidateItr< typename T::CandidateClass > ParentType
 
typedef ParentType::difference_type difference_type
 
typedef ParentType::size_type size_type
 
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< T::CandidateClass > value_type
 
typedef const LabeledCandidate< T::CandidateClass > value_type
 
typedef dchain::candidateitr::size_type distance_type
 
typedef dchain::candidateitr::size_type distance_type
 
typedef dchain::candidateitr::size_type size_type
 
typedef dchain::candidateitr::size_type size_type
 
typedef dchain::candidateitr::difference_type difference_type
 
typedef dchain::candidateitr::difference_type difference_type
 
typedef std::random_access_iterator_tag iterator_category
 
typedef std::random_access_iterator_tag iterator_category
 
typedef const LabeledCandidate< T::CandidateClass > * pointer
 
typedef const LabeledCandidate< T::CandidateClass > * pointer
 
typedef const LabeledCandidate< T::CandidateClass > & reference
 
typedef const LabeledCandidate< T::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
 
 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< T::CandidateClass > &aOtherItr)
 
 WholeCandidateItr (const WholeCandidateItr< T::CandidateClass > &aOtherItr)
 
virtual ~WholeCandidateItr ()
 
virtual ~WholeCandidateItr ()
 
const WholeCandidateItroperator= (const WholeCandidateItr< T::CandidateClass > &aOtherItr)
 
const WholeCandidateItroperator= (const WholeCandidateItr< T::CandidateClass > &aOtherItr)
 
WholeCandidateItr< T::CandidateClass > & operator++ ()
 
WholeCandidateItr< T::CandidateClass > operator++ (int)
 
WholeCandidateItr< T::CandidateClass > & operator++ ()
 
WholeCandidateItr< T::CandidateClass > operator++ (int)
 
WholeCandidateItr< T::CandidateClass > & operator-- ()
 
WholeCandidateItr< T::CandidateClass > operator-- (int)
 
WholeCandidateItr< T::CandidateClass > & operator-- ()
 
WholeCandidateItr< T::CandidateClass > operator-- (int)
 
WholeCandidateItr< T::CandidateClass > & operator+= (difference_type n)
 
WholeCandidateItr< T::CandidateClass > & operator+= (difference_type n)
 
WholeCandidateItr< T::CandidateClass > operator+ (difference_type n)
 
WholeCandidateItr< T::CandidateClass > operator+ (difference_type n)
 
WholeCandidateItr< T::CandidateClass > & operator-= (difference_type n)
 
WholeCandidateItr< T::CandidateClass > & operator-= (difference_type n)
 
WholeCandidateItr< T::CandidateClass > operator- (difference_type n)
 
difference_type operator- (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
WholeCandidateItr< T::CandidateClass > operator- (difference_type n)
 
difference_type operator- (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
const LabeledCandidate< T::CandidateClass > & operator* () const
 
const LabeledCandidate< T::CandidateClass > & operator* () const
 
const LabeledCandidate< T::CandidateClass > & operator[] (size_type n) const
 
const LabeledCandidate< T::CandidateClass > & operator[] (size_type n) const
 
bool operator== (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator== (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator!= (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator!= (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator< (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator< (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator> (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator> (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator>= (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator>= (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator<= (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator<= (const WholeCandidateItr< T::CandidateClass > &aOtherItr) const
 

Protected Member Functions

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

Friends

class LabeledParticleList< T, typename T::CandidateClass >
 

Detailed Description

template<class T>
class dchain::WholeItr< T >

Definition at line 84 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

Member Typedef Documentation

◆ difference_type [1/2]

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

◆ difference_type [2/2]

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

◆ ParentType [1/2]

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

◆ ParentType [2/2]

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

◆ size_type [1/2]

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

◆ size_type [2/2]

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

Constructor & Destructor Documentation

◆ WholeItr() [1/4]

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

Definition at line 176 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

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

◆ WholeItr() [2/4]

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

Definition at line 143 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

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

◆ WholeItr() [3/4]

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

◆ WholeItr() [4/4]

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

Definition at line 143 of file InstallArea/include/DecayChain/DecayChain/Iterator/WholeItr.h.

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

Member Function Documentation

◆ operator*() [1/2]

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

Definition at line 237 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

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

◆ operator*() [2/2]

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

◆ operator+() [1/2]

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

Definition at line 112 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

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

◆ operator+() [2/2]

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

Definition at line 112 of file InstallArea/include/DecayChain/DecayChain/Iterator/WholeItr.h.

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

◆ operator++() [1/4]

◆ operator++() [2/4]

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

◆ operator++() [3/4]

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

Definition at line 207 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

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

◆ operator++() [4/4]

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

◆ operator+=() [1/2]

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

◆ operator+=() [2/2]

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

◆ operator-() [1/4]

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

Definition at line 134 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

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

◆ operator-() [2/4]

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

Definition at line 134 of file InstallArea/include/DecayChain/DecayChain/Iterator/WholeItr.h.

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

◆ operator-() [3/4]

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

Definition at line 122 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

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

◆ operator-() [4/4]

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

Definition at line 122 of file InstallArea/include/DecayChain/DecayChain/Iterator/WholeItr.h.

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

◆ operator--() [1/4]

◆ operator--() [2/4]

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

◆ operator--() [3/4]

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

Definition at line 224 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

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

◆ operator--() [4/4]

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

◆ operator-=() [1/2]

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

◆ operator-=() [2/2]

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

◆ operator=() [1/2]

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

Definition at line 187 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

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

◆ operator=() [2/2]

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

◆ operator[]() [1/2]

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

Definition at line 130 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/WholeItr.h.

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

◆ operator[]() [2/2]

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

Definition at line 130 of file InstallArea/include/DecayChain/DecayChain/Iterator/WholeItr.h.

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

Friends And Related Function Documentation

◆ LabeledParticleList< T, typename T::CandidateClass >

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

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