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

#include <PartialItr.h>

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

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< T::CandidateClass > &aOtherItr)
 
virtual ~PartialCandidateItr ()
 
const PartialCandidateItr< T::CandidateClass > & operator= (const PartialCandidateItr< T::CandidateClass > &aOtherItr)
 
PartialCandidateItr< T::CandidateClass > & operator++ ()
 
PartialCandidateItr< T::CandidateClass > operator++ (int)
 
PartialCandidateItr< T::CandidateClass > & operator-- ()
 
PartialCandidateItr< T::CandidateClass > operator-- (int)
 
const LabeledCandidate< T::CandidateClass > & operator* () const
 
bool operator== (const PartialCandidateItr< T::CandidateClass > &aOtherItr) const
 
bool operator!= (const PartialCandidateItr< T::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< T::CandidateClass > *aList, const size_type aIndex, const conjugation::Label aLabel)
 
IndexedLabeledCandidates< T::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< T::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 T>
class dchain::PartialItr< T >

Definition at line 88 of file PartialItr.h.

Constructor & Destructor Documentation

◆ PartialItr() [1/2]

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

Definition at line 150 of file PartialItr.h.

150 :
151 PartialCandidateItr< typename T::CandidateClass >( aOtherItr )
152{
153}

◆ PartialItr() [2/2]

template<class T >
dchain::PartialItr< T >::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 :
119 PartialCandidateItr< typename T::CandidateClass >( aList ,
120 aIndex ,
121 aLabel ) {}

Member Function Documentation

◆ operator*()

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

Definition at line 211 of file PartialItr.h.

212{
213 return ( ( *(IndexedLabeledParticles< T , typename T::CandidateClass >*)(this->indexedCandidates()) ).labeledParticleClass( this->index() ) ) ;
214}
IndexedLabeledCandidates< T::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 Function Documentation

◆ LabeledParticleList< T, typename T::CandidateClass >

template<class T >
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 file: