#include <CandidateList.h>
Inheritance diagram for dchain::CandidateList< CandidateClass >:
Public Types | |
typedef dchain::WholeCandidateItr< CandidateClass > | const_iterator |
typedef dchain::WholeCandidateItr< CandidateClass > | const_iterator |
typedef dchain::PartialCandidateItr< CandidateClass > | const_partial_iterator |
typedef dchain::PartialCandidateItr< CandidateClass > | const_partial_iterator |
typedef dchain::MuteWholeCandidateItr< CandidateClass > | iterator |
typedef dchain::MuteWholeCandidateItr< CandidateClass > | iterator |
typedef dchain::LabeledCandidate< CandidateClass > | value_type |
typedef dchain::LabeledCandidate< CandidateClass > | value_type |
Public Member Functions | |
virtual const_iterator | begin () const |
virtual iterator | begin () |
virtual const_iterator | begin () const |
virtual iterator | begin () |
CandidateList () | |
CandidateList () | |
virtual bool | empty () const |
virtual bool | empty () const |
virtual const_iterator | end () const |
virtual iterator | end () |
virtual const_iterator | end () const |
virtual iterator | end () |
template<class TAnalyzer> | |
void | iterate (const TAnalyzer &analyze) const |
template<class TAnalyzer> | |
void | iterate (const TAnalyzer &analyze) const |
virtual int | size () const |
virtual int | size () const |
virtual | ~CandidateList () |
virtual | ~CandidateList () |
Protected Member Functions | |
virtual const dchain::LabeledCandidateList< CandidateClass > & | labeledCandidateList () const =0 |
virtual dchain::LabeledCandidateList< CandidateClass > & | labeledCandidateList ()=0 |
virtual const dchain::LabeledCandidateList< CandidateClass > & | labeledCandidateList () const =0 |
virtual dchain::LabeledCandidateList< CandidateClass > & | labeledCandidateList ()=0 |
Private Member Functions | |
CandidateList (const CandidateList< CandidateClass > &) | |
CandidateList (const CandidateList< CandidateClass > &) | |
const CandidateList & | operator= (const CandidateList< CandidateClass > &) |
const CandidateList & | operator= (const CandidateList< CandidateClass > &) |
|
|
|
|
|
|
|
|
|
00089 { 00090 }
|
|
00098 { 00099 }
|
|
|
|
|
|
|
|
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00152 { 00153 // do this casting to make sure const 'begin' function is called 00154 return ( static_cast<const dchain::LabeledCandidateList< CandidateClass >*>(&labeledCandidateList())->begin() ); 00155 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00116 { 00117 return ( labeledCandidateList().begin() ) ; 00118 }
|
|
|
|
00136 { 00137 return ( labeledCandidateList().empty() ) ; 00138 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00161 { 00162 // do this casting to make sure const 'end' function is called 00163 return ( static_cast<const dchain::LabeledCandidateList< CandidateClass >*>(&labeledCandidateList())->end() ); 00164 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00124 { 00125 return ( labeledCandidateList().end() ) ; 00126 }
|
|
Reimplemented in dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, and dchain::ChosenConjugateList< NeutralNC, CandidateClass >. 00102 { 00103 const_iterator finished ( end() ); 00104 for ( const_iterator entry ( begin() ) ; 00105 entry != finished ; 00106 ++entry ) { 00107 analyze( (*entry)() ) ; 00108 } 00109 }
|
|
Reimplemented in dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenChargeList< Charged, CandidateClass >, dchain::ChosenConjugateList< Conjugate, CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenChargeList< Charged, Charged::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, NeutralNC::CandidateClass >, dchain::ChosenConjugateList< NeutralNC, CandidateClass >, and dchain::ChosenConjugateList< NeutralNC, CandidateClass >. 00102 { 00103 const_iterator finished ( end() ); 00104 for ( const_iterator entry ( begin() ) ; 00105 entry != finished ; 00106 ++entry ) { 00107 analyze( (*entry)() ) ; 00108 } 00109 }
|
|
|
|
|
|
|
|
|
|
|
|
00144 { 00145 return ( labeledCandidateList().size() ) ; 00146 }
|