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

#include <PartialItr.h>

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

Public Member Functions

 PartialItr (const PartialItr< T > &aOtherItr)
 
const PartialItr< T > & operator= (const PartialItr< T > &aOtherItr)
 
PartialItr< T > & operator++ ()
 
PartialItr< T > operator++ (int)
 
PartialItr< T > & operator-- ()
 
PartialItr< T > operator-- (int)
 
const LabeledParticle< T > & operator* () const
 
- Public Member Functions inherited from dchain::PartialCandidateItr< T::CandidateClass >
 PartialCandidateItr ()
 
 PartialCandidateItr (const PartialCandidateItr< CandidateClass > &aOtherItr)
 
virtual ~PartialCandidateItr ()
 
const PartialCandidateItr< CandidateClass > & operator= (const PartialCandidateItr< CandidateClass > &aOtherItr)
 
PartialCandidateItr< CandidateClass > & operator++ ()
 
PartialCandidateItr< CandidateClass > operator++ (int)
 
PartialCandidateItr< CandidateClass > & operator-- ()
 
PartialCandidateItr< CandidateClass > operator-- (int)
 
const LabeledCandidate< CandidateClass > & operator* () const
 
bool operator== (const PartialCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator!= (const PartialCandidateItr< CandidateClass > &aOtherItr) const
 

Protected Member Functions

 PartialItr (const IndexedLabeledParticles< T, typename T::CandidateClass > *aList, const typename candidateitr::size_type aIndex, const typename conjugation::Label aLabel)
 
- Protected Member Functions inherited from dchain::PartialCandidateItr< T::CandidateClass >
 PartialCandidateItr (const IndexedLabeledCandidates< CandidateClass > *aList, const size_type aIndex, const conjugation::Label aLabel)
 
IndexedLabeledCandidates< CandidateClass > * indexedCandidates () const
 
size_type index () const
 
conjugation::Label label () const
 

Friends

class LabeledParticleList< T, typename T::CandidateClass >
 

Additional Inherited Members

- Public Types inherited from dchain::PartialCandidateItr< T::CandidateClass >
typedef LabeledCandidate< CandidateClass > value_type
 
typedef dchain::candidateitr::difference_type difference_type
 
typedef dchain::candidateitr::size_type size_type
 
typedef value_typereference
 
typedef value_typepointer
 
typedef std::bidirectional_iterator_tag iterator_category
 

Detailed Description

template<class DecayClass>
class dchain::PartialItr< DecayClass >

Definition at line 90 of file NeutralVisibleList.h.

Constructor & Destructor Documentation

◆ PartialItr() [1/2]

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

◆ PartialItr() [2/2]

template<class DecayClass >
dchain::PartialItr< DecayClass >::PartialItr ( const IndexedLabeledParticles< T, typename T::CandidateClass > * aList,
const typename candidateitr::size_type aIndex,
const typename conjugation::Label aLabel )
inlineprotected

Definition at line 116 of file PartialItr.h.

118 :
120 aIndex ,
121 aLabel ) {}

Member Function Documentation

◆ operator*()

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

Definition at line 211 of file PartialItr.h.

212{
213 return ( ( *(IndexedLabeledParticles< T , typename T::CandidateClass >*)(this->indexedCandidates()) ).labeledParticleClass( this->index() ) ) ;
214}
IndexedLabeledCandidates< CandidateClass > * indexedCandidates() const

◆ operator++() [1/2]

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

Definition at line 173 of file PartialItr.h.

174{
176 return ( *this ) ;
177}
PartialCandidateItr< CandidateClass > & operator++()

◆ operator++() [2/2]

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

Definition at line 181 of file PartialItr.h.

182{
183 PartialItr< T > tmp( *this ) ;
185 return ( tmp ) ;
186}

◆ operator--() [1/2]

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

Definition at line 190 of file PartialItr.h.

191{
193 return ( *this ) ;
194}
PartialCandidateItr< CandidateClass > & operator--()

◆ operator--() [2/2]

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

Definition at line 198 of file PartialItr.h.

199{
200 PartialItr< T > tmp( *this ) ;
202 return ( tmp ) ;
203}

◆ operator=()

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

Definition at line 161 of file PartialItr.h.

162{
164 return ( *this ) ;
165}
const PartialCandidateItr< CandidateClass > & operator=(const PartialCandidateItr< CandidateClass > &aOtherItr)

Friends And Related Symbol Documentation

◆ LabeledParticleList< T, typename T::CandidateClass >

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

Definition at line 211 of file PartialItr.h.


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