CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::LabeledCandidateList< CandidateClass > Class Template Referenceabstract

#include <LabeledCandidateList.h>

+ Inheritance diagram for dchain::LabeledCandidateList< CandidateClass >:

Public Types

typedef MuteWholeCandidateItr< CandidateClass > iterator
 
typedef WholeCandidateItr< CandidateClass > const_iterator
 
typedef PartialCandidateItr< CandidateClass > const_partial_iterator
 
typedef LabeledCandidate< CandidateClass > value_type
 

Public Member Functions

 LabeledCandidateList ()
 
virtual ~LabeledCandidateList ()
 
LabeledCandidate< CandidateClass > & operator[] (const int aIndex)
 
iterator begin ()
 
iterator end ()
 
void erase (iterator aStart, iterator aFinish)
 
const LabeledCandidate< CandidateClass > & operator[] (const int aIndex) const
 
virtual bool empty () const =0
 
virtual bool empty (const conjugation::Label aLabel) const =0
 
virtual int size () const =0
 
virtual int size (const conjugation::Label aLabel) const =0
 
const_iterator begin () const
 
const_partial_iterator begin (const conjugation::Label aLabel) const
 
const_iterator end () const
 
const_partial_iterator end (const conjugation::Label aLabel) const
 
- Public Member Functions inherited from dchain::IndexedLabeledCandidates< CandidateClass >
 IndexedLabeledCandidates ()
 
virtual ~IndexedLabeledCandidates ()
 
- Public Member Functions inherited from dchain::ReferenceCount
 ReferenceCount ()
 
virtual ~ReferenceCount ()
 
void addLink () const
 
void dropLink () const
 

Protected Member Functions

virtual LabeledCandidate< CandidateClass > & labeledCandidateClass (const int aIndex)=0
 
virtual void erase_elements (int aStart, int aFinish)=0
 
virtual const LabeledCandidate< CandidateClass > & labeledCandidateClass (const int aIndex) const =0
 
- Protected Member Functions inherited from dchain::IndexedLabeledCandidates< CandidateClass >

Detailed Description

template<class CandidateClass>
class dchain::LabeledCandidateList< CandidateClass >

Definition at line 92 of file LabeledCandidateList.h.

Member Typedef Documentation

◆ const_iterator

template<class CandidateClass >
WholeCandidateItr< CandidateClass > dchain::LabeledCandidateList< CandidateClass >::const_iterator

Definition at line 100 of file LabeledCandidateList.h.

◆ const_partial_iterator

template<class CandidateClass >
PartialCandidateItr< CandidateClass > dchain::LabeledCandidateList< CandidateClass >::const_partial_iterator

Definition at line 101 of file LabeledCandidateList.h.

◆ iterator

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

Definition at line 99 of file LabeledCandidateList.h.

◆ value_type

template<class CandidateClass >
LabeledCandidate<CandidateClass> dchain::LabeledCandidateList< CandidateClass >::value_type

Definition at line 103 of file LabeledCandidateList.h.

Constructor & Destructor Documentation

◆ LabeledCandidateList()

template<class CandidateClass >
dchain::LabeledCandidateList< CandidateClass >::LabeledCandidateList ( )

Definition at line 84 of file LabeledCandidateList.cc.

85{
86}

◆ ~LabeledCandidateList()

template<class CandidateClass >
dchain::LabeledCandidateList< CandidateClass >::~LabeledCandidateList ( )
virtual

Definition at line 93 of file LabeledCandidateList.cc.

94{
95}

Member Function Documentation

◆ begin() [1/3]

template<class CandidateClass >
LabeledCandidateList< CandidateClass >::iterator dchain::LabeledCandidateList< CandidateClass >::begin ( )

Definition at line 119 of file LabeledCandidateList.cc.

120{
121 return ( iterator( this , 0 ) ) ;
122}
MuteWholeCandidateItr< CandidateClass > iterator

◆ begin() [2/3]

template<class CandidateClass >
LabeledCandidateList< CandidateClass >::const_iterator dchain::LabeledCandidateList< CandidateClass >::begin ( ) const

Definition at line 157 of file LabeledCandidateList.cc.

158{
159 return ( const_iterator( this , 0 ) ) ;
160}
WholeCandidateItr< CandidateClass > const_iterator

◆ begin() [3/3]

template<class CandidateClass >
LabeledCandidateList< CandidateClass >::const_partial_iterator dchain::LabeledCandidateList< CandidateClass >::begin ( const conjugation::Label aLabel) const

Definition at line 165 of file LabeledCandidateList.cc.

166{
167 return ( const_partial_iterator( this , 0 , aLabel ) ) ;
168}
PartialCandidateItr< CandidateClass > const_partial_iterator

◆ empty() [1/2]

◆ empty() [2/2]

◆ end() [1/3]

template<class CandidateClass >
LabeledCandidateList< CandidateClass >::iterator dchain::LabeledCandidateList< CandidateClass >::end ( )

Definition at line 127 of file LabeledCandidateList.cc.

128{
129 return ( iterator( this , size() ) ) ;
130}
virtual int size() const =0

◆ end() [2/3]

template<class CandidateClass >
LabeledCandidateList< CandidateClass >::const_iterator dchain::LabeledCandidateList< CandidateClass >::end ( ) const

Definition at line 173 of file LabeledCandidateList.cc.

174{
175 return ( const_iterator( this , size() ) ) ;
176}

◆ end() [3/3]

template<class CandidateClass >
LabeledCandidateList< CandidateClass >::const_partial_iterator dchain::LabeledCandidateList< CandidateClass >::end ( const conjugation::Label aLabel) const

Definition at line 181 of file LabeledCandidateList.cc.

182{
183 return ( const_partial_iterator( this , size() , aLabel ) ) ;
184}

◆ erase()

template<class CandidateClass >
void dchain::LabeledCandidateList< CandidateClass >::erase ( iterator aStart,
iterator aFinish )

◆ erase_elements()

◆ labeledCandidateClass() [1/2]

◆ labeledCandidateClass() [2/2]

◆ operator[]() [1/2]

template<class CandidateClass >
LabeledCandidate< CandidateClass > & dchain::LabeledCandidateList< CandidateClass >::operator[] ( const int aIndex)

Definition at line 111 of file LabeledCandidateList.cc.

112{
113 return ( labeledCandidateClass( aIndex ) ) ;
114}
virtual LabeledCandidate< CandidateClass > & labeledCandidateClass(const int aIndex)=0

◆ operator[]() [2/2]

template<class CandidateClass >
const LabeledCandidate< CandidateClass > & dchain::LabeledCandidateList< CandidateClass >::operator[] ( const int aIndex) const

Definition at line 149 of file LabeledCandidateList.cc.

150{
151 return ( labeledCandidateClass( aIndex ) ) ;
152}

◆ size() [1/2]

◆ size() [2/2]


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