1#ifndef DCHAIN_FILLABLENEUTRALNCLIST_H
2#define DCHAIN_FILLABLENEUTRALNCLIST_H
61template <
class NeutralNC >
71 template <
class WitnessIterator>
73 bool ( * pFunction )( NeutralNC& ) = 0 ) :
81 template<
class WitnessIterator>
93 ,
bool ( * pFunction )( NeutralNC& ) = 0 ) ;
102 template<
class Witness>
105 fill(aWitnessList.begin(), aWitnessList.end());
128 typename NeutralNC::CandidateClass >& aList ) {
130 typename NeutralNC::CandidateClass >::fill( aList ) ;
132 template<
class WitnessIterator>
133 void fill(WitnessIterator first, WitnessIterator last) {
151template<
class NeutralNC,
class WitnessIterator>
154 WitnessIterator first,
155 WitnessIterator last)
157 aFillableList.fill(first,last);
void dc_fill(DCFillableNeutralNCList< NeutralNC > &aFillableList, WitnessIterator first, WitnessIterator last)
DCFillableNeutralNCList(WitnessIterator first, WitnessIterator last, bool(*pFunction)(NeutralNC &)=0)
virtual ~DCFillableNeutralNCList()
const DCFillableNeutralNCList< NeutralNC > & operator=(const Witness &aWitnessList)
const DCFillableNeutralNCList< NeutralNC > & operator=(const DCFillableNeutralNCList< NeutralNC > &aOtherList)
DCFillableNeutralNCList(WitnessIterator first, WitnessIterator last, DCSelectionFunction< NeutralNC > &aFunctionalObject)
void fill(const dchain::LabeledParticleList< NeutralNC, CandidateClass > &aList)