1#ifndef DCHAIN_LABELEDCANDIDATE_H
2#define DCHAIN_LABELEDCANDIDATE_H
36template <
class Cand
idateClass >
47 m_pointer( aOtherLabeled.m_pointer ) ,
48 m_label( aOtherLabeled.m_label )
55 m_pointer = aOtherLabeled.m_pointer ;
56 m_label = aOtherLabeled.m_label ;
67 return ( *m_pointer ) ;
72 return ( *m_pointer ) ;
80 return ( aLabel == m_label ) ;
84 return ( aLabel != m_label ) ;
92 template<
class THolder>
95 m_pointer(aCandidateClass),
105 return ( m_pointer.
pointer() ) ;
bool operator!=(const conjugation::Label &aLabel) const
const CandidateClass & operator()() const
const CandidateClass * pointer() const
conjugation::Label label() const
const CandidateClass & labeledClass() const
virtual ~LabeledCandidate()
LabeledCandidate(THolder aCandidateClass, const conjugation::Label aLabel)
CandidateClass * pointer()
const LabeledCandidate & operator=(const LabeledCandidate< CandidateClass > &aOtherLabeled)
bool operator==(const conjugation::Label &aLabel) const
LabeledCandidate(const LabeledCandidate< CandidateClass > &aOtherLabeled)