#include <ConjugateList.h>
Inheritance diagram for dchain::ConjugateList< 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 () |
const_partial_iterator | conjugate_partial_begin () const |
const_partial_iterator | conjugate_partial_begin () const |
const_partial_iterator | conjugate_partial_end () const |
const_partial_iterator | conjugate_partial_end () const |
ConjugateList (const conjugation::Label aLabel) | |
ConjugateList (const conjugation::Label aLabel) | |
template<class TAnalyzer> | |
void | conjugation_iterate (const TAnalyzer &analyzer) const |
template<class TAnalyzer> | |
void | conjugation_iterate (const TAnalyzer &analyzer) const |
virtual bool | empty () const |
virtual bool | empty () const |
virtual const_iterator | end () const |
virtual iterator | end () |
virtual const_iterator | end () const |
virtual iterator | end () |
bool | isConjugateOf (const ConjugateList< CandidateClass > &aList) const |
bool | isConjugateOf (const ConjugateList< CandidateClass > &aList) const |
virtual bool | isSelfConjugate () const |
virtual bool | isSelfConjugate () const |
template<class TAnalyzer> | |
void | iterate (const TAnalyzer &analyze) const |
template<class TAnalyzer> | |
void | iterate (const TAnalyzer &analyze) const |
virtual conjugation::Label | label () const |
virtual conjugation::Label | label () const |
virtual const_partial_iterator | partial_begin () const |
virtual const_partial_iterator | partial_begin () const |
virtual const_partial_iterator | partial_end () const |
virtual const_partial_iterator | partial_end () const |
template<class TAnalyzer> | |
void | partial_iterate (const TAnalyzer &analyze) const |
template<class TAnalyzer> | |
void | partial_iterate (const TAnalyzer &analyze) const |
int | partial_size () const |
int | partial_size () const |
virtual int | size () const |
virtual int | size () const |
virtual | ~ConjugateList () |
virtual | ~ConjugateList () |
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 |
void | setLabel (const conjugation::Label aLabel) |
void | setLabel (const conjugation::Label aLabel) |
Private Member Functions | |
ConjugateList (const ConjugateList &) | |
ConjugateList () | |
ConjugateList (const ConjugateList &) | |
ConjugateList () | |
const ConjugateList & | operator= (const ConjugateList &) |
const ConjugateList & | operator= (const ConjugateList &) |
Private Attributes | |
conjugation::Label | m_label |
Friends | |
class | DCCombinatoricQuery< CandidateClass > |
|
|
|
|
|
|
|
|
|
00085 : 00086 m_label( aLabel ) 00087 { 00088 }
|
|
00096 { 00097 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 }
|
|
|
|
00153 { 00154 return ( this->labeledCandidateList().begin( otherLabel( m_label ) ) ) ; 00155 }
|
|
|
|
00159 { 00160 return ( this->labeledCandidateList().end( otherLabel( m_label ) ) ) ; 00161 }
|
|
|
|
|
|
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 }
|
|
|
|
00128 { 00129 return ( ( &(this->labeledCandidateList()) == &(aList.labeledCandidateList()) ) && 00130 ( label() == otherLabel( aList.label() ) ) ) ; 00131 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00122 {
00123 return ( conjugation::kNone == m_label ) ;
00124 }
|
|
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 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00166 {
00167 return ( m_label ) ;
00168 }
|
|
|
|
|
|
|
|
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00141 { 00142 return ( this->labeledCandidateList().begin( m_label ) ) ; 00143 }
|
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. |
|
Reimplemented in dchain::CombinatoricList< CandidateClass >, and dchain::CombinatoricList< CandidateClass >. 00147 { 00148 return ( this->labeledCandidateList().end( m_label ) ) ; 00149 }
|
|
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 >. 00128 { 00129 const_partial_iterator finished ( partial_end() ) ; 00130 for ( const_partial_iterator entry ( partial_begin() ) ; 00131 entry != finished ; 00132 ++entry ) { 00133 analyze( (*entry)() ) ; 00134 } 00135 }
|
|
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 >. 00128 { 00129 const_partial_iterator finished ( partial_end() ) ; 00130 for ( const_partial_iterator entry ( partial_begin() ) ; 00131 entry != finished ; 00132 ++entry ) { 00133 analyze( (*entry)() ) ; 00134 } 00135 }
|
|
|
|
00135 { 00136 return ( this->labeledCandidateList().size( m_label ) ) ; 00137 }
|
|
Reimplemented in FillableCDDecayList. |
|
Reimplemented in FillableCDDecayList. 00112 { 00113 m_label = aLabel ; 00114 }
|
|
|
|
00144 { 00145 return ( labeledCandidateList().size() ) ; 00146 }
|
|
|
|
|