#include <LabeledCandidate.h>
Inheritance diagram for dchain::LabeledCandidate< CandidateClass >:
Public Member Functions | |
LabeledCandidate () | |
LabeledCandidate (const LabeledCandidate< CandidateClass > &aOtherLabeled) | |
virtual | ~LabeledCandidate () |
const LabeledCandidate & | operator= (const LabeledCandidate< CandidateClass > &aOtherLabeled) |
const CandidateClass & | operator() () const |
const CandidateClass & | labeledClass () const |
conjugation::Label | label () const |
bool | operator== (const conjugation::Label &aLabel) const |
bool | operator!= (const conjugation::Label &aLabel) const |
Protected Member Functions | |
template<class THolder> | |
LabeledCandidate (THolder aCandidateClass, const conjugation::Label aLabel) | |
CandidateClass * | pointer () |
const CandidateClass * | pointer () const |
Private Attributes | |
ReferenceHolder< CandidateClass > | m_pointer |
conjugation::Label | m_label |
Definition at line 37 of file LabeledCandidate.h.
dchain::LabeledCandidate< CandidateClass >::LabeledCandidate | ( | ) | [inline] |
dchain::LabeledCandidate< CandidateClass >::LabeledCandidate | ( | const LabeledCandidate< CandidateClass > & | aOtherLabeled | ) | [inline] |
Definition at line 46 of file LabeledCandidate.h.
00046 : 00047 m_pointer( aOtherLabeled.m_pointer ) , 00048 m_label( aOtherLabeled.m_label ) 00049 {} virtual ~LabeledCandidate() {}
virtual dchain::LabeledCandidate< CandidateClass >::~LabeledCandidate | ( | ) | [inline, virtual] |
dchain::LabeledCandidate< CandidateClass >::LabeledCandidate | ( | THolder | aCandidateClass, | |
const conjugation::Label | aLabel | |||
) | [inline, protected] |
conjugation::Label dchain::LabeledCandidate< CandidateClass >::label | ( | ) | const [inline] |
const CandidateClass& dchain::LabeledCandidate< CandidateClass >::labeledClass | ( | ) | const [inline] |
bool dchain::LabeledCandidate< CandidateClass >::operator!= | ( | const conjugation::Label & | aLabel | ) | const [inline] |
Definition at line 83 of file LabeledCandidate.h.
00083 { 00084 return ( aLabel != m_label ) ; 00085 }
const CandidateClass& dchain::LabeledCandidate< CandidateClass >::operator() | ( | void | ) | const [inline] |
Reimplemented in LabeledDecay< DecayClass >, and dchain::LabeledParticle< T >.
Definition at line 66 of file LabeledCandidate.h.
00066 { 00067 return ( *m_pointer ) ; 00068 }
const LabeledCandidate& dchain::LabeledCandidate< CandidateClass >::operator= | ( | const LabeledCandidate< CandidateClass > & | aOtherLabeled | ) | [inline] |
Definition at line 53 of file LabeledCandidate.h.
00054 { 00055 m_pointer = aOtherLabeled.m_pointer ; 00056 m_label = aOtherLabeled.m_label ; 00057 return ( *this ) ; 00058 }
bool dchain::LabeledCandidate< CandidateClass >::operator== | ( | const conjugation::Label & | aLabel | ) | const [inline] |
Definition at line 79 of file LabeledCandidate.h.
00079 { 00080 return ( aLabel == m_label ) ; 00081 }
const CandidateClass* dchain::LabeledCandidate< CandidateClass >::pointer | ( | ) | const [inline, protected] |
Definition at line 104 of file LabeledCandidate.h.
00104 { 00105 return ( m_pointer.pointer() ) ; 00106 }
CandidateClass* dchain::LabeledCandidate< CandidateClass >::pointer | ( | ) | [inline, protected] |
Definition at line 99 of file LabeledCandidate.h.
Referenced by dchain::LabeledParticle< T >::operator()(), and dchain::LabeledParticle< T >::particle().
00099 { 00100 return m_pointer.pointer(); 00101 }
conjugation::Label dchain::LabeledCandidate< CandidateClass >::m_label [private] |
Definition at line 118 of file LabeledCandidate.h.
Referenced by dchain::LabeledCandidate< dchain::ParticleTraits< T >::CandidateType >::label(), dchain::LabeledCandidate< dchain::ParticleTraits< T >::CandidateType >::operator!=(), dchain::LabeledCandidate< dchain::ParticleTraits< T >::CandidateType >::operator=(), and dchain::LabeledCandidate< dchain::ParticleTraits< T >::CandidateType >::operator==().
ReferenceHolder<CandidateClass> dchain::LabeledCandidate< CandidateClass >::m_pointer [private] |
Definition at line 117 of file LabeledCandidate.h.
Referenced by dchain::LabeledCandidate< dchain::ParticleTraits< T >::CandidateType >::labeledClass(), dchain::LabeledCandidate< dchain::ParticleTraits< T >::CandidateType >::operator()(), dchain::LabeledCandidate< dchain::ParticleTraits< T >::CandidateType >::operator=(), and dchain::LabeledCandidate< dchain::ParticleTraits< T >::CandidateType >::pointer().