BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
dchain::LabeledCandidate< CandidateClass > Class Template Reference

#include <LabeledCandidate.h>

Public Member Functions

 LabeledCandidate ()
 
 LabeledCandidate (const LabeledCandidate< CandidateClass > &aOtherLabeled)
 
virtual ~LabeledCandidate ()
 
const LabeledCandidateoperator= (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
 
 LabeledCandidate ()
 
 LabeledCandidate (const LabeledCandidate< CandidateClass > &aOtherLabeled)
 
virtual ~LabeledCandidate ()
 
const LabeledCandidateoperator= (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
 
template<class THolder >
 LabeledCandidate (THolder aCandidateClass, const conjugation::Label aLabel)
 
CandidateClass * pointer ()
 
const CandidateClass * pointer () const
 

Detailed Description

template<class CandidateClass>
class dchain::LabeledCandidate< CandidateClass >

Definition at line 37 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Element/LabeledCandidate.h.

Constructor & Destructor Documentation

◆ LabeledCandidate() [1/6]

template<class CandidateClass >
dchain::LabeledCandidate< CandidateClass >::LabeledCandidate ( )
inline

◆ LabeledCandidate() [2/6]

template<class CandidateClass >
dchain::LabeledCandidate< CandidateClass >::LabeledCandidate ( const LabeledCandidate< CandidateClass > &  aOtherLabeled)
inline

Definition at line 46 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Element/LabeledCandidate.h.

46 :
47 m_pointer( aOtherLabeled.m_pointer ) ,
48 m_label( aOtherLabeled.m_label )
49 {}

◆ ~LabeledCandidate() [1/2]

template<class CandidateClass >
virtual dchain::LabeledCandidate< CandidateClass >::~LabeledCandidate ( )
inlinevirtual

◆ LabeledCandidate() [3/6]

template<class CandidateClass >
template<class THolder >
dchain::LabeledCandidate< CandidateClass >::LabeledCandidate ( THolder  aCandidateClass,
const conjugation::Label  aLabel 
)
inlineprotected

Definition at line 93 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Element/LabeledCandidate.h.

94 :
95 m_pointer(aCandidateClass),
96 m_label(aLabel) {}

◆ LabeledCandidate() [4/6]

template<class CandidateClass >
dchain::LabeledCandidate< CandidateClass >::LabeledCandidate ( )
inline

◆ LabeledCandidate() [5/6]

template<class CandidateClass >
dchain::LabeledCandidate< CandidateClass >::LabeledCandidate ( const LabeledCandidate< CandidateClass > &  aOtherLabeled)
inline

Definition at line 46 of file InstallArea/include/DecayChain/DecayChain/Element/LabeledCandidate.h.

46 :
47 m_pointer( aOtherLabeled.m_pointer ) ,
48 m_label( aOtherLabeled.m_label )
49 {}

◆ ~LabeledCandidate() [2/2]

template<class CandidateClass >
virtual dchain::LabeledCandidate< CandidateClass >::~LabeledCandidate ( )
inlinevirtual

◆ LabeledCandidate() [6/6]

template<class CandidateClass >
template<class THolder >
dchain::LabeledCandidate< CandidateClass >::LabeledCandidate ( THolder  aCandidateClass,
const conjugation::Label  aLabel 
)
inlineprotected

Definition at line 93 of file InstallArea/include/DecayChain/DecayChain/Element/LabeledCandidate.h.

94 :
95 m_pointer(aCandidateClass),
96 m_label(aLabel) {}

Member Function Documentation

◆ label() [1/2]

template<class CandidateClass >
conjugation::Label dchain::LabeledCandidate< CandidateClass >::label ( ) const
inline

Definition at line 75 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Element/LabeledCandidate.h.

75 {
76 return ( m_label ) ;
77 }

◆ label() [2/2]

template<class CandidateClass >
conjugation::Label dchain::LabeledCandidate< CandidateClass >::label ( ) const
inline

Definition at line 75 of file InstallArea/include/DecayChain/DecayChain/Element/LabeledCandidate.h.

75 {
76 return ( m_label ) ;
77 }

◆ labeledClass() [1/2]

template<class CandidateClass >
const CandidateClass & dchain::LabeledCandidate< CandidateClass >::labeledClass ( ) const
inline

Definition at line 71 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Element/LabeledCandidate.h.

71 {
72 return ( *m_pointer ) ;
73 }

◆ labeledClass() [2/2]

template<class CandidateClass >
const CandidateClass & dchain::LabeledCandidate< CandidateClass >::labeledClass ( ) const
inline

Definition at line 71 of file InstallArea/include/DecayChain/DecayChain/Element/LabeledCandidate.h.

71 {
72 return ( *m_pointer ) ;
73 }

◆ operator!=() [1/2]

template<class CandidateClass >
bool dchain::LabeledCandidate< CandidateClass >::operator!= ( const conjugation::Label aLabel) const
inline

Definition at line 83 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Element/LabeledCandidate.h.

83 {
84 return ( aLabel != m_label ) ;
85 }

◆ operator!=() [2/2]

template<class CandidateClass >
bool dchain::LabeledCandidate< CandidateClass >::operator!= ( const conjugation::Label aLabel) const
inline

Definition at line 83 of file InstallArea/include/DecayChain/DecayChain/Element/LabeledCandidate.h.

83 {
84 return ( aLabel != m_label ) ;
85 }

◆ operator()() [1/2]

template<class CandidateClass >
const CandidateClass & dchain::LabeledCandidate< CandidateClass >::operator() ( ) const
inline

Definition at line 66 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Element/LabeledCandidate.h.

66 {
67 return ( *m_pointer ) ;
68 }

◆ operator()() [2/2]

template<class CandidateClass >
const CandidateClass & dchain::LabeledCandidate< CandidateClass >::operator() ( ) const
inline

Definition at line 66 of file InstallArea/include/DecayChain/DecayChain/Element/LabeledCandidate.h.

66 {
67 return ( *m_pointer ) ;
68 }

◆ operator=() [1/2]

template<class CandidateClass >
const LabeledCandidate & dchain::LabeledCandidate< CandidateClass >::operator= ( const LabeledCandidate< CandidateClass > &  aOtherLabeled)
inline

Definition at line 53 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Element/LabeledCandidate.h.

54 {
55 m_pointer = aOtherLabeled.m_pointer ;
56 m_label = aOtherLabeled.m_label ;
57 return ( *this ) ;
58 }

◆ operator=() [2/2]

template<class CandidateClass >
const LabeledCandidate & dchain::LabeledCandidate< CandidateClass >::operator= ( const LabeledCandidate< CandidateClass > &  aOtherLabeled)
inline

Definition at line 53 of file InstallArea/include/DecayChain/DecayChain/Element/LabeledCandidate.h.

54 {
55 m_pointer = aOtherLabeled.m_pointer ;
56 m_label = aOtherLabeled.m_label ;
57 return ( *this ) ;
58 }

◆ operator==() [1/2]

template<class CandidateClass >
bool dchain::LabeledCandidate< CandidateClass >::operator== ( const conjugation::Label aLabel) const
inline

Definition at line 79 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Element/LabeledCandidate.h.

79 {
80 return ( aLabel == m_label ) ;
81 }

◆ operator==() [2/2]

template<class CandidateClass >
bool dchain::LabeledCandidate< CandidateClass >::operator== ( const conjugation::Label aLabel) const
inline

Definition at line 79 of file InstallArea/include/DecayChain/DecayChain/Element/LabeledCandidate.h.

79 {
80 return ( aLabel == m_label ) ;
81 }

◆ pointer() [1/4]

template<class CandidateClass >
CandidateClass * dchain::LabeledCandidate< CandidateClass >::pointer ( )
inlineprotected

◆ pointer() [2/4]

template<class CandidateClass >
CandidateClass * dchain::LabeledCandidate< CandidateClass >::pointer ( )
inlineprotected

Definition at line 99 of file InstallArea/include/DecayChain/DecayChain/Element/LabeledCandidate.h.

99 {
100 return m_pointer.pointer();
101 }

◆ pointer() [3/4]

template<class CandidateClass >
const CandidateClass * dchain::LabeledCandidate< CandidateClass >::pointer ( ) const
inlineprotected

Definition at line 104 of file Event/DecayChain/DecayChain-00-00-03-slc6tag/DecayChain/Element/LabeledCandidate.h.

104 {
105 return ( m_pointer.pointer() ) ;
106 }

◆ pointer() [4/4]

template<class CandidateClass >
const CandidateClass * dchain::LabeledCandidate< CandidateClass >::pointer ( ) const
inlineprotected

Definition at line 104 of file InstallArea/include/DecayChain/DecayChain/Element/LabeledCandidate.h.

104 {
105 return ( m_pointer.pointer() ) ;
106 }

The documentation for this class was generated from the following files: