CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
DCFillableNeutralList< Neutral > Class Template Reference

#include <DCFillableNeutralList.h>

+ Inheritance diagram for DCFillableNeutralList< Neutral >:

Public Member Functions

 DCFillableNeutralList (bool(*pFunction)(Neutral &)=0)
 
template<class WitnessIterator >
 DCFillableNeutralList (WitnessIterator first, WitnessIterator last, bool(*pFunction)(Neutral &)=0)
 
template<class WitnessIterator >
 DCFillableNeutralList (WitnessIterator first, WitnessIterator last, DCSelectionFunction< Neutral > &aFunctionalObject)
 
 DCFillableNeutralList (const DCFillableNeutralList< Neutral > &aOtherList, bool(*pFunction)(Neutral &)=0)
 
 DCFillableNeutralList (DCSelectionFunction< Neutral > &aFunctionalObject)
 
 DCFillableNeutralList (const DCFillableNeutralList< Neutral > &aOtherList, DCSelectionFunction< Neutral > &aFunctionalObject)
 
 DCFillableNeutralList (const std::vector< Neutral > &aVector)
 
virtual ~DCFillableNeutralList ()
 
const DCFillableNeutralList< Neutral > & operator= (const DCFillableNeutralList< Neutral > &aOtherList)
 
template<class WitnessIterator >
void fill (WitnessIterator first, WitnessIterator last)
 
template<class Witness >
const DCFillableNeutralList< Neutral > & operator= (const Witness &aWitnessList)
 
- Public Member Functions inherited from DCNeutralVisibleList< Neutral, Neutral::CandidateClass >
 DCNeutralVisibleList (bool(*pFunction)(Neutral &)=0)
 
 DCNeutralVisibleList (const DCNeutralVisibleList< Neutral, Neutral::CandidateClass > &aOtherList, bool(*pFunction)(Neutral &)=0)
 
 DCNeutralVisibleList (DCSelectionFunction< Neutral > &aFunctionalObject)
 
 DCNeutralVisibleList (const DCNeutralVisibleList< Neutral, Neutral::CandidateClass > &aOtherList, DCSelectionFunction< Neutral > &aFunctionalObject)
 
virtual ~DCNeutralVisibleList ()
 
const DCNeutralVisibleList< Neutral, Neutral::CandidateClass > & operator= (const DCNeutralVisibleList< Neutral, Neutral::CandidateClass > &aOtherList)
 
- Public Member Functions inherited from dchain::NeutralVisibleList< Neutral, CandidateClass >
 NeutralVisibleList ()
 
 NeutralVisibleList (const self_type &aOtherList)
 
template<class TSelector >
 NeutralVisibleList (const self_type &aOtherList, const TSelector &aSel)
 
template<class WitnessIterator >
 NeutralVisibleList (WitnessIterator first, WitnessIterator last)
 
template<class WitnessIterator , class TSelector >
 NeutralVisibleList (WitnessIterator first, WitnessIterator last, const TSelector &aFunctionalObject)
 
virtual ~NeutralVisibleList ()
 
const self_typeoperator= (const self_type &aOtherList)
 
template<class Witness >
const self_typeoperator= (const Witness &aWitnessList)
 
template<class TSelector >
FillListWithSelection< self_type, TSelector > operator[] (const TSelector &iSel)
 
iterator particle_begin ()
 
iterator particle_end ()
 
const_iterator particle_begin () const
 
const_iterator particle_end () const
 
template<class TAnalyze >
void iterate (const TAnalyze &analyze) const
 
template<class TAnalyze >
void iterate (TAnalyze &analyze) const
 
template<class TSelect >
SelectiveInserter< self_type, TSelect > selectiveInserter (const TSelect &iSelect)
 creates an insert iterator that filters based on iSelect
 
template<class THolder , class TSelect >
bool attempt_insert (THolder &pPossible, const TSelect &aSelect)
 
template<class THolder >
void insert (THolder &pPossible)
 
void eraseContents ()
 
void erase ()
 
template<class TMaker , class TSelector >
void fill (const LabeledParticleList< Neutral, CandidateClass > &aList, const TMaker &aMaker, const TSelector &aSel)
 
template<class Iterator , class TMaker , class TSelector >
void fill (Iterator first, Iterator last, const TMaker &aMaker, const TSelector &aSel=SelectAll< Neutral >())
 
- Public Member Functions inherited from dchain::ConjugateList< CandidateClass >
 ConjugateList (const conjugation::Label aLabel)
 
virtual ~ConjugateList ()
 
virtual bool isSelfConjugate () const
 
bool isConjugateOf (const ConjugateList< CandidateClass > &aList) const
 
int partial_size () const
 
virtual const_partial_iterator partial_begin () const
 
virtual const_partial_iterator partial_end () const
 
template<class TAnalyzer >
void conjugation_iterate (const TAnalyzer &analyzer) const
 
template<class TAnalyzer >
void partial_iterate (const TAnalyzer &analyze) const
 
const_partial_iterator conjugate_partial_begin () const
 
const_partial_iterator conjugate_partial_end () const
 
virtual conjugation::Label label () const
 
- Public Member Functions inherited from dchain::CandidateList< CandidateClass >
 CandidateList ()
 
virtual ~CandidateList ()
 
virtual iterator begin ()
 
virtual iterator end ()
 
virtual bool empty () const
 
virtual int size () const
 
virtual const_iterator begin () const
 
virtual const_iterator end () const
 
template<class TAnalyzer >
void iterate (const TAnalyzer &analyze) const
 

Additional Inherited Members

- Public Types inherited from DCNeutralVisibleList< Neutral, Neutral::CandidateClass >
typedef Neutral value_type
 
- Public Types inherited from dchain::NeutralVisibleList< Neutral, CandidateClass >
typedef dchain::MuteWholeItr< Neutral > iterator
 
typedef dchain::WholeItr< Neutral > const_iterator
 
typedef Neutral value_type
 
typedef NeutralVisibleList< Neutral, CandidateClass > self_type
 
- Public Types inherited from dchain::ConjugateList< CandidateClass >
typedef dchain::MuteWholeCandidateItr< CandidateClass > iterator
 
typedef dchain::WholeCandidateItr< CandidateClass > const_iterator
 
typedef dchain::PartialCandidateItr< CandidateClass > const_partial_iterator
 
- Public Types inherited from dchain::CandidateList< CandidateClass >
typedef dchain::MuteWholeCandidateItr< CandidateClass > iterator
 
typedef dchain::WholeCandidateItr< CandidateClass > const_iterator
 
typedef dchain::PartialCandidateItr< CandidateClass > const_partial_iterator
 
typedef dchain::LabeledCandidate< CandidateClass > value_type
 
- Protected Member Functions inherited from DCNeutralVisibleList< Neutral, Neutral::CandidateClass >
void fill (const dchain::LabeledParticleList< Neutral, Neutral::CandidateClass > &aList)
 
void fill (Iterator first, Iterator last)
 
- Protected Member Functions inherited from dchain::NeutralVisibleList< Neutral, CandidateClass >
virtual dchain::LabeledParticleList< Neutral, CandidateClass > & labeledCandidateList ()
 
virtual const dchain::LabeledParticleList< Neutral, CandidateClass > & labeledCandidateList () const
 
- Protected Member Functions inherited from dchain::ConjugateList< CandidateClass >
void setLabel (const conjugation::Label aLabel)
 
virtual dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList ()=0
 
virtual const dchain::LabeledCandidateList< CandidateClass > & labeledCandidateList () const =0
 

Detailed Description

template<class Neutral>
class DCFillableNeutralList< Neutral >

Definition at line 62 of file DCFillableNeutralList.h.

Constructor & Destructor Documentation

◆ DCFillableNeutralList() [1/7]

template<class Neutral >
DCFillableNeutralList< Neutral >::DCFillableNeutralList ( bool(*)(Neutral &)  pFunction = 0)

◆ DCFillableNeutralList() [2/7]

template<class Neutral >
template<class WitnessIterator >
DCFillableNeutralList< Neutral >::DCFillableNeutralList ( WitnessIterator  first,
WitnessIterator  last,
bool(*)(Neutral &)  pFunction = 0 
)
inline

Definition at line 74 of file DCFillableNeutralList.h.

75 :
77 fill(first, last); }
void fill(WitnessIterator first, WitnessIterator last)

◆ DCFillableNeutralList() [3/7]

template<class Neutral >
template<class WitnessIterator >
DCFillableNeutralList< Neutral >::DCFillableNeutralList ( WitnessIterator  first,
WitnessIterator  last,
DCSelectionFunction< Neutral > &  aFunctionalObject 
)
inline

Definition at line 88 of file DCFillableNeutralList.h.

89 :
91 fill(first, last); }

◆ DCFillableNeutralList() [4/7]

template<class Neutral >
DCFillableNeutralList< Neutral >::DCFillableNeutralList ( const DCFillableNeutralList< Neutral > &  aOtherList,
bool(*)(Neutral &)  pFunction = 0 
)

Definition at line 96 of file DCFillableNeutralList.cc.

98 :
99 DCNeutralVisibleList< Neutral ,
100 typename Neutral::CandidateClass >( aOtherList ,
101 pFunction )
102{
103}

◆ DCFillableNeutralList() [5/7]

template<class Neutral >
DCFillableNeutralList< Neutral >::DCFillableNeutralList ( DCSelectionFunction< Neutral > &  aFunctionalObject)

Definition at line 108 of file DCFillableNeutralList.cc.

109 :
110 DCNeutralVisibleList< Neutral ,
111 typename Neutral::CandidateClass >( aFunctionalObject )
112{
113}

◆ DCFillableNeutralList() [6/7]

template<class Neutral >
DCFillableNeutralList< Neutral >::DCFillableNeutralList ( const DCFillableNeutralList< Neutral > &  aOtherList,
DCSelectionFunction< Neutral > &  aFunctionalObject 
)

Definition at line 140 of file DCFillableNeutralList.cc.

142 :
143 DCNeutralVisibleList< Neutral ,
144 typename Neutral::CandidateClass >( aOtherList ,
145 aFunctionalObject )
146{
147}

◆ DCFillableNeutralList() [7/7]

template<class Neutral >
DCFillableNeutralList< Neutral >::DCFillableNeutralList ( const std::vector< Neutral > &  aVector)

◆ ~DCFillableNeutralList()

template<class Neutral >
DCFillableNeutralList< Neutral >::~DCFillableNeutralList
virtual

Definition at line 160 of file DCFillableNeutralList.cc.

162{
163}

Member Function Documentation

◆ fill()

template<class Neutral >
template<class WitnessIterator >
void DCFillableNeutralList< Neutral >::fill ( WitnessIterator  first,
WitnessIterator  last 
)
inline

Definition at line 109 of file DCFillableNeutralList.h.

109 {
111 }
void fill(const dchain::LabeledParticleList< Neutral, CandidateClass > &aList)

Referenced by dc_fill(), DCFillableNeutralList< Neutral >::DCFillableNeutralList(), and DCFillableNeutralList< Neutral >::operator=().

◆ operator=() [1/2]

template<class Neutral >
const DCFillableNeutralList< Neutral > & DCFillableNeutralList< Neutral >::operator= ( const DCFillableNeutralList< Neutral > &  aOtherList)

Definition at line 195 of file DCFillableNeutralList.cc.

197{
198 DCNeutralVisibleList< Neutral ,
199 typename Neutral::CandidateClass >::operator=(
200 aOtherList ) ;
201 return ( *this ) ;
202}

◆ operator=() [2/2]

template<class Neutral >
template<class Witness >
const DCFillableNeutralList< Neutral > & DCFillableNeutralList< Neutral >::operator= ( const Witness &  aWitnessList)
inline

Definition at line 114 of file DCFillableNeutralList.h.

114 {
115 this->eraseContents();
116 fill(aWitnessList.begin(), aWitnessList.end());
117 return ( *this ) ;
118 }

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