BOSS 6.6.4.p01
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
 

Protected Member Functions

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 LabeledCandidate.h.

Constructor & Destructor Documentation

◆ LabeledCandidate() [1/3]

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

Definition at line 45 of file LabeledCandidate.h.

45{}

◆ LabeledCandidate() [2/3]

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

Definition at line 46 of file LabeledCandidate.h.

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

◆ ~LabeledCandidate()

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

Definition at line 50 of file LabeledCandidate.h.

50{}

◆ LabeledCandidate() [3/3]

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

Definition at line 93 of file LabeledCandidate.h.

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

Member Function Documentation

◆ label()

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

Definition at line 75 of file LabeledCandidate.h.

75 {
76 return ( m_label ) ;
77 }

◆ labeledClass()

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

Definition at line 71 of file LabeledCandidate.h.

71 {
72 return ( *m_pointer ) ;
73 }

◆ operator!=()

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

Definition at line 83 of file LabeledCandidate.h.

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

◆ operator()()

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

Definition at line 66 of file LabeledCandidate.h.

66 {
67 return ( *m_pointer ) ;
68 }

◆ operator=()

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

Definition at line 53 of file LabeledCandidate.h.

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

◆ operator==()

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

Definition at line 79 of file LabeledCandidate.h.

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

◆ pointer() [1/2]

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

Definition at line 99 of file LabeledCandidate.h.

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

◆ pointer() [2/2]

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

Definition at line 104 of file LabeledCandidate.h.

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

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