#include <LabeledCandidateList.h>
Inheritance diagram for dchain::LabeledCandidateList< CandidateClass >:
Public Types | |
typedef WholeCandidateItr< CandidateClass > | const_iterator |
typedef WholeCandidateItr< CandidateClass > | const_iterator |
typedef PartialCandidateItr< CandidateClass > | const_partial_iterator |
typedef PartialCandidateItr< CandidateClass > | const_partial_iterator |
typedef MuteWholeCandidateItr< CandidateClass > | iterator |
typedef MuteWholeCandidateItr< CandidateClass > | 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_iterator | begin () const |
iterator | begin () |
const_partial_iterator | begin (const 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 =0 |
virtual bool | empty (const conjugation::Label aLabel) const =0 |
virtual bool | empty () const =0 |
const_partial_iterator | end (const conjugation::Label aLabel) const |
const_iterator | end () const |
iterator | end () |
const_partial_iterator | end (const conjugation::Label aLabel) const |
const_iterator | end () const |
iterator | end () |
void | erase (iterator aStart, iterator aFinish) |
void | erase (iterator aStart, iterator aFinish) |
LabeledCandidateList () | |
LabeledCandidateList () | |
const LabeledCandidate< CandidateClass > & | operator[] (const int aIndex) const |
LabeledCandidate< CandidateClass > & | operator[] (const int aIndex) |
const LabeledCandidate< CandidateClass > & | operator[] (const int aIndex) const |
LabeledCandidate< CandidateClass > & | operator[] (const int aIndex) |
virtual int | size (const conjugation::Label aLabel) const =0 |
virtual int | size () const =0 |
virtual int | size (const conjugation::Label aLabel) const =0 |
virtual int | size () const =0 |
virtual | ~LabeledCandidateList () |
virtual | ~LabeledCandidateList () |
Protected Member Functions | |
virtual void | erase_elements (int aStart, int aFinish)=0 |
virtual void | erase_elements (int aStart, int aFinish)=0 |
virtual const LabeledCandidate< CandidateClass > & | labeledCandidateClass (const int aIndex) const =0 |
virtual LabeledCandidate< CandidateClass > & | labeledCandidateClass (const int aIndex)=0 |
virtual const LabeledCandidate< CandidateClass > & | labeledCandidateClass (const int aIndex) const =0 |
virtual LabeledCandidate< CandidateClass > & | labeledCandidateClass (const int aIndex)=0 |
Private Member Functions | |
LabeledCandidateList (const LabeledCandidateList< CandidateClass > &) | |
LabeledCandidateList (const LabeledCandidateList< CandidateClass > &) | |
const LabeledCandidateList & | operator= (const LabeledCandidateList< CandidateClass > &) |
const LabeledCandidateList & | operator= (const LabeledCandidateList< CandidateClass > &) |
Friends | |
class | dchain::MuteWholeCandidateItr< CandidateClass > |
class | dchain::PartialCandidateItr< CandidateClass > |
class | dchain::WholeCandidateItr< CandidateClass > |
|
|
|
|
|
|
|
|
|
|
|
00085 { 00086 }
|
|
00094 { 00095 }
|
|
|
|
|
|
|
|
|
|
|
|
00108 { 00109 //if (m_linkCount==0xFFFFFFFF) { 00110 // throw TooManyReferencesException(); 00111 //} 00112 ++m_linkCount ; 00113 }
|
|
|
|
|
|
00166 { 00167 return ( const_partial_iterator( this , 0 , aLabel ) ) ; 00168 }
|
|
|
|
|
|
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 }
|
|
|
|
|
|
|
|
|
|
|
|
00182 { 00183 return ( const_partial_iterator( this , size() , aLabel ) ) ; 00184 }
|
|
|
|
|
|
00137 { 00138 erase_elements( aStart.index() , 00139 aFinish.index() ) ; 00140 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|