1#ifndef DCHAIN_DCFILLABLECHARGEDLIST_H
2#define DCHAIN_DCFILLABLECHARGEDLIST_H
61template <
class Charged >
71 template <
class WitnessIterator>
73 bool ( * pFunction )( Charged& ) = 0 ) :
81 template<
class WitnessIterator>
93 ,
bool ( * pFunction )( Charged& ) = 0 ) ;
102 template<
class Witness>
105 fill(aWitnessList.begin(), aWitnessList.end());
110 template<
class WitnessIterator>
111 void fill(WitnessIterator first, WitnessIterator last) {
132 typename Charged::CandidateClass >& aList ) {
134 typename Charged::CandidateClass >
::fill( aList ) ;
150template<
class Charged,
class WitnessIterator>
153 WitnessIterator first,
154 WitnessIterator last)
156 aFillableList.
fill(first,last);
void dc_fill(DCFillableChargedList< Charged > &aFillableList, WitnessIterator first, WitnessIterator last)
void fill(const dchain::LabeledParticleList< Charged, CandidateClass > &aList)
DCFillableChargedList(bool(*pFunction)(Charged &)=0)
virtual ~DCFillableChargedList()
DCFillableChargedList(WitnessIterator first, WitnessIterator last, bool(*pFunction)(Charged &)=0)
const DCFillableChargedList< Charged > & operator=(const Witness &aWitnessList)
void fill(WitnessIterator first, WitnessIterator last)
const DCFillableChargedList< Charged > & operator=(const DCFillableChargedList< Charged > &aOtherList)
DCFillableChargedList(WitnessIterator first, WitnessIterator last, DCSelectionFunction< Charged > &aFunctionalObject)