#include <LabeledParticleList.h>
Inheritance diagram for dchain::LabeledParticleList< ParticleClass, CandidateClass >:
Public Types | |
typedef WholeItr< ParticleClass > | const_iterator |
typedef WholeItr< ParticleClass > | const_iterator |
typedef PartialItr< ParticleClass > | const_partial_iterator |
typedef PartialItr< ParticleClass > | const_partial_iterator |
typedef MuteWholeItr< ParticleClass > | iterator |
typedef MuteWholeItr< ParticleClass > | iterator |
typedef LabeledCandidate< CandidateClass > | value_type |
typedef LabeledCandidate< CandidateClass > | value_type |
Public Member Functions | |
void | addLink () const |
void | addLink () const |
const_partial_iterator | begin (const conjugation::Label aLabel) const |
const_partial_iterator | begin (const typename conjugation::Label aLabel) const |
const_iterator | begin () const |
iterator | begin () |
const_partial_iterator | begin (const typename conjugation::Label aLabel) const |
const_iterator | begin () const |
iterator | begin () |
void | dropLink () const |
void | dropLink () const |
virtual bool | empty (const conjugation::Label aLabel) const =0 |
virtual bool | empty (const typename conjugation::Label aLabel) const |
virtual bool | empty () const |
virtual bool | empty (const typename conjugation::Label aLabel) const |
virtual bool | empty () const |
const_partial_iterator | end (const conjugation::Label aLabel) const |
const_partial_iterator | end (const typename conjugation::Label aLabel) const |
const_iterator | end () const |
iterator | end () |
const_partial_iterator | end (const typename conjugation::Label aLabel) const |
const_iterator | end () const |
iterator | end () |
void | erase (iterator aStart, iterator aFinish) |
void | erase (iterator aStart, iterator aFinish) |
virtual void | erase_elements (int aStart, int aFinish) |
virtual void | erase_elements (int aStart, int aFinish) |
LabeledParticleList () | |
LabeledParticleList () | |
const LabeledParticle< ParticleClass > & | operator[] (const int aIndex) const |
LabeledParticle< ParticleClass > & | operator[] (const int aIndex) |
const LabeledParticle< ParticleClass > & | operator[] (const int aIndex) const |
LabeledParticle< ParticleClass > & | operator[] (const int aIndex) |
void | push_back (const LabeledParticle< ParticleClass > &aEntry) |
void | push_back (const LabeledParticle< ParticleClass > &aEntry) |
virtual int | size (const conjugation::Label aLabel) const =0 |
virtual int | size (const typename conjugation::Label aLabel) const |
virtual int | size () const |
virtual int | size (const typename conjugation::Label aLabel) const |
virtual int | size () const |
virtual | ~LabeledParticleList () |
virtual | ~LabeledParticleList () |
Protected Member Functions | |
virtual const LabeledCandidate< CandidateClass > & | labeledCandidateClass (const int aIndex) const |
virtual LabeledCandidate< CandidateClass > & | labeledCandidateClass (const int aIndex) |
virtual const LabeledCandidate< CandidateClass > & | labeledCandidateClass (const int aIndex) const |
virtual LabeledCandidate< CandidateClass > & | labeledCandidateClass (const int aIndex) |
virtual const LabeledParticle< ParticleClass > & | labeledParticleClass (const int aIndex) const |
virtual LabeledParticle< ParticleClass > & | labeledParticleClass (const int aIndex) |
virtual const LabeledParticle< ParticleClass > & | labeledParticleClass (const int aIndex) const |
virtual LabeledParticle< ParticleClass > & | labeledParticleClass (const int aIndex) |
Private Member Functions | |
LabeledParticleList (const LabeledParticleList< ParticleClass, CandidateClass > &) | |
LabeledParticleList (const LabeledParticleList< ParticleClass, CandidateClass > &) | |
const LabeledParticleList< ParticleClass, CandidateClass > & | operator= (const LabeledParticleList< ParticleClass, typename ParticleClass::CandidateClass > &) |
const LabeledParticleList< ParticleClass, CandidateClass > & | operator= (const LabeledParticleList< ParticleClass, typename ParticleClass::CandidateClass > &) |
Private Attributes | |
_labeledparticlelist_vector_ & | m_list |
_labeledparticlelist_vector_ & | m_list |
Friends | |
class | dchain::MuteWholeCandidateItr< CandidateClass > |
class | dchain::PartialCandidateItr< CandidateClass > |
class | dchain::WholeCandidateItr< CandidateClass > |
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
|
|
|
|
00106 : 00107 m_list( *(new _labeledparticlelist_vector_ ) ) 00108 { 00109 }
|
|
00118 {
00119 delete( &m_list ) ;
00120 }
|
|
|
|
|
|
|
|
|
|
|
|
00108 { 00109 //if (m_linkCount==0xFFFFFFFF) { 00110 // throw TooManyReferencesException(); 00111 //} 00112 ++m_linkCount ; 00113 }
|
|
00166 { 00167 return ( const_partial_iterator( this , 0 , aLabel ) ) ; 00168 }
|
|
|
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
|
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. 00265 { 00266 return ( const_iterator( this , 0 ) ) ; 00267 }
|
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. 00145 { 00146 return ( iterator( this , 0 ) ) ; 00147 }
|
|
|
|
00116 { 00117 --m_linkCount ; 00118 if ( 0 == m_linkCount ) { 00119 // It is necessary to throw away the 'const' so that the object 00120 // can be deleted 00121 delete const_cast<ReferenceCount*>(this) ; 00122 } 00123 }
|
|
|
|
|
|
Implements dchain::LabeledCandidateList< CandidateClass >. |
|
|
|
Implements dchain::LabeledCandidateList< CandidateClass >. 00207 { 00208 return ( m_list.empty() ) ; 00209 }
|
|
00182 { 00183 return ( const_partial_iterator( this , size() , aLabel ) ) ; 00184 }
|
|
|
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
|
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. 00281 { 00282 return ( const_iterator( this , m_list.size() ) ) ; 00283 }
|
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >.
|
|
|
|
00137 { 00138 erase_elements( aStart.index() , 00139 aFinish.index() ) ; 00140 }
|
|
Implements dchain::LabeledCandidateList< CandidateClass >. |
|
Implements dchain::LabeledCandidateList< CandidateClass >.
|
|
Implements dchain::LabeledCandidateList< CandidateClass >. |
|
Implements dchain::LabeledCandidateList< CandidateClass >. |
|
Implements dchain::LabeledCandidateList< CandidateClass >. 00297 { 00298 return ( labeledParticleClass( aIndex ) ) ; 00299 }
|
|
Implements dchain::LabeledCandidateList< CandidateClass >. 00179 { 00180 return ( labeledParticleClass( aIndex ) ) ; 00181 }
|
|
Implements dchain::IndexedLabeledParticles< ParticleClass, CandidateClass >. |
|
Implements dchain::IndexedLabeledParticles< ParticleClass, CandidateClass >. |
|
Implements dchain::IndexedLabeledParticles< ParticleClass, CandidateClass >. 00305 { 00306 return ( m_list[ aIndex ] ) ; 00307 }
|
|
Implements dchain::IndexedLabeledParticles< ParticleClass, CandidateClass >. 00187 { 00188 return ( m_list[ aIndex ] ) ; 00189 }
|
|
|
|
|
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. |
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. 00199 { 00200 return ( labeledParticleClass( aIndex ) ) ; 00201 }
|
|
Reimplemented from dchain::LabeledCandidateList< CandidateClass >. 00137 { 00138 return ( labeledParticleClass( aIndex ) ) ; 00139 }
|
|
|
|
00161 { 00162 m_list.push_back( aEntry ) ; 00163 }
|
|
|
|
|
|
Implements dchain::LabeledCandidateList< CandidateClass >. |
|
|
|
Implements dchain::LabeledCandidateList< CandidateClass >. 00228 { 00229 return ( m_list.size() ) ; 00230 }
|
|
|
|
|
|
|
|
|
|
|