BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::MuteWholeCandidateItr< CandidateClass > Class Template Reference

#include <MuteWholeCandidateItr.h>

Public Types

typedef const LabeledCandidate< 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< CandidateClass > * pointer
 
typedef const LabeledCandidate< CandidateClass > & reference
 
typedef const LabeledCandidate< 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< CandidateClass > * pointer
 
typedef const LabeledCandidate< CandidateClass > & reference
 

Public Member Functions

 MuteWholeCandidateItr (const MuteWholeCandidateItr< CandidateClass > &aOtherItr)
 
virtual ~MuteWholeCandidateItr ()
 
const MuteWholeCandidateItr< CandidateClass > & operator= (const MuteWholeCandidateItr< CandidateClass > &aOtherItr)
 
MuteWholeCandidateItr< CandidateClass > & operator++ ()
 
MuteWholeCandidateItr< CandidateClass > operator++ (int)
 
MuteWholeCandidateItr< CandidateClass > & operator-- ()
 
MuteWholeCandidateItr< CandidateClass > operator-- (int)
 
MuteWholeCandidateItr< CandidateClass > & operator+= (difference_type n)
 
MuteWholeCandidateItr< CandidateClass > operator+ (difference_type n)
 
MuteWholeCandidateItr< CandidateClass > & operator-= (difference_type n)
 
MuteWholeCandidateItr< CandidateClass > operator- (difference_type n)
 
LabeledCandidate< CandidateClass > & operator* () const
 
LabeledCandidate< CandidateClass > & operator[] (size_type n) const
 
difference_type operator- (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator== (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator!= (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator< (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator> (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator>= (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator<= (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
 MuteWholeCandidateItr (const MuteWholeCandidateItr< CandidateClass > &aOtherItr)
 
virtual ~MuteWholeCandidateItr ()
 
const MuteWholeCandidateItr< CandidateClass > & operator= (const MuteWholeCandidateItr< CandidateClass > &aOtherItr)
 
MuteWholeCandidateItr< CandidateClass > & operator++ ()
 
MuteWholeCandidateItr< CandidateClass > operator++ (int)
 
MuteWholeCandidateItr< CandidateClass > & operator-- ()
 
MuteWholeCandidateItr< CandidateClass > operator-- (int)
 
MuteWholeCandidateItr< CandidateClass > & operator+= (difference_type n)
 
MuteWholeCandidateItr< CandidateClass > operator+ (difference_type n)
 
MuteWholeCandidateItr< CandidateClass > & operator-= (difference_type n)
 
MuteWholeCandidateItr< CandidateClass > operator- (difference_type n)
 
LabeledCandidate< CandidateClass > & operator* () const
 
LabeledCandidate< CandidateClass > & operator[] (size_type n) const
 
difference_type operator- (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator== (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator!= (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator< (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator> (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator>= (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 
bool operator<= (const MuteWholeCandidateItr< CandidateClass > &aOtherItr) const
 

Protected Member Functions

 MuteWholeCandidateItr (IndexedLabeledCandidates< CandidateClass > *aList, const size_type aIndex)
 
IndexedLabeledCandidates< CandidateClass > * indexedCandidates () const
 
size_type index () const
 
 MuteWholeCandidateItr (IndexedLabeledCandidates< CandidateClass > *aList, const size_type aIndex)
 
IndexedLabeledCandidates< CandidateClass > * indexedCandidates () const
 
size_type index () const
 

Friends

class LabeledCandidateList< CandidateClass >
 

Detailed Description

template<class CandidateClass>
class dchain::MuteWholeCandidateItr< CandidateClass >

Definition at line 43 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

Member Typedef Documentation

◆ difference_type [1/2]

template<class CandidateClass >
typedef candidateitr::difference_type dchain::MuteWholeCandidateItr< CandidateClass >::difference_type

◆ difference_type [2/2]

template<class CandidateClass >
typedef candidateitr::difference_type dchain::MuteWholeCandidateItr< CandidateClass >::difference_type

◆ distance_type [1/2]

template<class CandidateClass >
typedef candidateitr::size_type dchain::MuteWholeCandidateItr< CandidateClass >::distance_type

◆ distance_type [2/2]

template<class CandidateClass >
typedef candidateitr::size_type dchain::MuteWholeCandidateItr< CandidateClass >::distance_type

◆ iterator_category [1/2]

template<class CandidateClass >
typedef std::random_access_iterator_tag dchain::MuteWholeCandidateItr< CandidateClass >::iterator_category

◆ iterator_category [2/2]

template<class CandidateClass >
typedef std::random_access_iterator_tag dchain::MuteWholeCandidateItr< CandidateClass >::iterator_category

◆ pointer [1/2]

template<class CandidateClass >
typedef const LabeledCandidate<CandidateClass>* dchain::MuteWholeCandidateItr< CandidateClass >::pointer

◆ pointer [2/2]

template<class CandidateClass >
typedef const LabeledCandidate<CandidateClass>* dchain::MuteWholeCandidateItr< CandidateClass >::pointer

◆ reference [1/2]

template<class CandidateClass >
typedef const LabeledCandidate<CandidateClass>& dchain::MuteWholeCandidateItr< CandidateClass >::reference

◆ reference [2/2]

template<class CandidateClass >
typedef const LabeledCandidate<CandidateClass>& dchain::MuteWholeCandidateItr< CandidateClass >::reference

◆ size_type [1/2]

template<class CandidateClass >
typedef candidateitr::size_type dchain::MuteWholeCandidateItr< CandidateClass >::size_type

◆ size_type [2/2]

template<class CandidateClass >
typedef candidateitr::size_type dchain::MuteWholeCandidateItr< CandidateClass >::size_type

◆ value_type [1/2]

template<class CandidateClass >
typedef const LabeledCandidate<CandidateClass> dchain::MuteWholeCandidateItr< CandidateClass >::value_type

◆ value_type [2/2]

template<class CandidateClass >
typedef const LabeledCandidate<CandidateClass> dchain::MuteWholeCandidateItr< CandidateClass >::value_type

Constructor & Destructor Documentation

◆ MuteWholeCandidateItr() [1/4]

template<class CandidateClass >
dchain::MuteWholeCandidateItr< CandidateClass >::MuteWholeCandidateItr ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr)
inline

Definition at line 146 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

146 :
147 m_indexedCandidates( aOtherItr.indexedCandidates() ) ,
148 m_index( aOtherItr.index() )
149{
150}

◆ ~MuteWholeCandidateItr() [1/2]

template<class CandidateClass >
virtual dchain::MuteWholeCandidateItr< CandidateClass >::~MuteWholeCandidateItr ( )
inlinevirtual

◆ MuteWholeCandidateItr() [2/4]

template<class CandidateClass >
dchain::MuteWholeCandidateItr< CandidateClass >::MuteWholeCandidateItr ( IndexedLabeledCandidates< CandidateClass > *  aList,
const size_type  aIndex 
)
inlineprotected

◆ MuteWholeCandidateItr() [3/4]

template<class CandidateClass >
dchain::MuteWholeCandidateItr< CandidateClass >::MuteWholeCandidateItr ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr)

◆ ~MuteWholeCandidateItr() [2/2]

template<class CandidateClass >
virtual dchain::MuteWholeCandidateItr< CandidateClass >::~MuteWholeCandidateItr ( )
inlinevirtual

◆ MuteWholeCandidateItr() [4/4]

template<class CandidateClass >
dchain::MuteWholeCandidateItr< CandidateClass >::MuteWholeCandidateItr ( IndexedLabeledCandidates< CandidateClass > *  aList,
const size_type  aIndex 
)
protected

Member Function Documentation

◆ index() [1/2]

◆ index() [2/2]

template<class CandidateClass >
size_type dchain::MuteWholeCandidateItr< CandidateClass >::index ( ) const
protected

◆ indexedCandidates() [1/2]

◆ indexedCandidates() [2/2]

template<class CandidateClass >
IndexedLabeledCandidates< CandidateClass > * dchain::MuteWholeCandidateItr< CandidateClass >::indexedCandidates ( ) const
protected

◆ operator!=() [1/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator!= ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const
inline

Definition at line 279 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

280{
281 return ( ( m_index != aOtherItr.index() ) ||
282 ( m_indexedCandidates != aOtherItr.indexedCandidates() ) ) ;
283}

◆ operator!=() [2/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator!= ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const

◆ operator*() [1/2]

template<class CandidateClass >
LabeledCandidate< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator*
inline

Definition at line 250 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

251{
252 return ( (*m_indexedCandidates).labeledCandidateClass( m_index ) ) ;
253}

◆ operator*() [2/2]

template<class CandidateClass >
LabeledCandidate< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator* ( ) const

◆ operator+() [1/2]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > dchain::MuteWholeCandidateItr< CandidateClass >::operator+ ( difference_type  n)
inline

Definition at line 222 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

223{
224 MuteWholeCandidateItr tmp( *this ) ;
225 return ( tmp += n ) ;
226}
const Int_t n

◆ operator+() [2/2]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > dchain::MuteWholeCandidateItr< CandidateClass >::operator+ ( difference_type  n)

◆ operator++() [1/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator++
inline

Definition at line 180 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

181{
182 ++m_index ;
183 return ( *this ) ;
184}

Referenced by dchain::MuteWholeItr< T >::operator++().

◆ operator++() [2/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator++ ( )

◆ operator++() [3/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > dchain::MuteWholeCandidateItr< CandidateClass >::operator++ ( int  )
inline

Definition at line 188 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

189{
190 MuteWholeCandidateItr tmp( *this ) ;
191 ++m_index ;
192 return ( tmp ) ;
193}

◆ operator++() [4/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > dchain::MuteWholeCandidateItr< CandidateClass >::operator++ ( int  )

◆ operator+=() [1/2]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator+= ( difference_type  n)
inline

Definition at line 214 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

215{
216 m_index += n ;
217 return( *this ) ;
218}

◆ operator+=() [2/2]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator+= ( difference_type  n)

◆ operator-() [1/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass >::difference_type dchain::MuteWholeCandidateItr< CandidateClass >::operator- ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const
inline

Definition at line 264 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

265{
266 return ( m_index - aOtherItr.index() ) ;
267}

◆ operator-() [2/4]

template<class CandidateClass >
difference_type dchain::MuteWholeCandidateItr< CandidateClass >::operator- ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const

◆ operator-() [3/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > dchain::MuteWholeCandidateItr< CandidateClass >::operator- ( difference_type  n)
inline

Definition at line 238 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

239{
240 MuteWholeCandidateItr tmp( *this ) ;
241 return ( tmp -= n ) ;
242}

◆ operator-() [4/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > dchain::MuteWholeCandidateItr< CandidateClass >::operator- ( difference_type  n)

◆ operator--() [1/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator--
inline

Definition at line 197 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

198{
199 --m_index ;
200 return ( *this ) ;
201}

Referenced by dchain::MuteWholeItr< T >::operator--().

◆ operator--() [2/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator-- ( )

◆ operator--() [3/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > dchain::MuteWholeCandidateItr< CandidateClass >::operator-- ( int  )
inline

Definition at line 205 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

206{
207 MuteWholeCandidateItr tmp( *this ) ;
208 --m_index ;
209 return ( tmp ) ;
210}

◆ operator--() [4/4]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > dchain::MuteWholeCandidateItr< CandidateClass >::operator-- ( int  )

◆ operator-=() [1/2]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator-= ( difference_type  n)
inline

Definition at line 230 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

231{
232 m_index -= n ;
233 return( *this ) ;
234}

Referenced by dchain::MuteWholeItr< T >::operator-=().

◆ operator-=() [2/2]

template<class CandidateClass >
MuteWholeCandidateItr< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator-= ( difference_type  n)

◆ operator<() [1/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator< ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const
inline

Definition at line 287 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

288{
289 return ( ( m_index < aOtherItr.index() ) &&
290 ( m_indexedCandidates == aOtherItr.indexedCandidates() ) ) ;
291}

◆ operator<() [2/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator< ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const

◆ operator<=() [1/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator<= ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const
inline

Definition at line 311 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

312{
313 return ( ( m_index <= aOtherItr.index() ) &&
314 ( m_indexedCandidates == aOtherItr.indexedCandidates() ) ) ;
315}

◆ operator<=() [2/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator<= ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const

◆ operator=() [1/2]

template<class CandidateClass >
const MuteWholeCandidateItr< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator= ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr)
inline

Definition at line 167 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

168{
169 m_indexedCandidates = aOtherItr.indexedCandidates() ;
170 m_index = aOtherItr.index() ;
171 return ( *this ) ;
172}

Referenced by dchain::MuteWholeItr< T >::operator=().

◆ operator=() [2/2]

template<class CandidateClass >
const MuteWholeCandidateItr< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator= ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr)

◆ operator==() [1/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator== ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const
inline

Definition at line 271 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

272{
273 return ( ( m_index == aOtherItr.index() ) &&
274 ( m_indexedCandidates == aOtherItr.indexedCandidates() ) ) ;
275}

◆ operator==() [2/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator== ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const

◆ operator>() [1/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator> ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const
inline

Definition at line 295 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

296{
297 return ( ( m_index > aOtherItr.index() ) &&
298 ( m_indexedCandidates == aOtherItr.indexedCandidates() ) ) ;
299}

◆ operator>() [2/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator> ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const

◆ operator>=() [1/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator>= ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const
inline

Definition at line 303 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

304{
305 return ( ( m_index >= aOtherItr.index() ) &&
306 ( m_indexedCandidates == aOtherItr.indexedCandidates() ) ) ;
307}

◆ operator>=() [2/2]

template<class CandidateClass >
bool dchain::MuteWholeCandidateItr< CandidateClass >::operator>= ( const MuteWholeCandidateItr< CandidateClass > &  aOtherItr) const

◆ operator[]() [1/2]

template<class CandidateClass >
LabeledCandidate< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator[] ( size_type  n) const
inline

Definition at line 257 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Iterator/MuteWholeCandidateItr.h.

258{
259 return ( (*m_indexedCandidates).labeledCandidateClass( m_index + n ) ) ;
260}

◆ operator[]() [2/2]

template<class CandidateClass >
LabeledCandidate< CandidateClass > & dchain::MuteWholeCandidateItr< CandidateClass >::operator[] ( size_type  n) const

Friends And Related Function Documentation

◆ LabeledCandidateList< CandidateClass >

template<class CandidateClass >
LabeledCandidateList< CandidateClass >
friend

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