58 if (this->m_pInterface != NULL)
60 this->m_pInterface->reset();
70 assert(this->m_pInterface != NULL);
71 return this->m_pInterface->getNextItemConst();
81 if (this->m_pInterface != NULL)
83 bRetval = this->m_pInterface->hasNextItem();
123 inline virtual T&
MQUALIFIER getNextItem()
const = 0;
139 inline virtual void MQUALIFIER addRef()
const {}
145 inline virtual void MQUALIFIER release()
const 229 return this->equals(pIt);
249 return !this->equals(pIt);
258 assert(this->m_pInterface != NULL);
259 return this->m_pInterface->getNextItem();
338 return this->equals(pIt);
358 return !this->equals(pIt);
366 inline virtual T&
MQUALIFIER getNextItem()
const 368 assert(this->m_pInterface != NULL);
369 return this->m_pInterface->getNextItem();
390 if (this->m_pInterface != NULL)
392 this->m_pInterface->reset();
402 assert(this->m_pInterface != NULL);
403 return this->m_pInterface->getNextItemConst();
412 bool bRetval =
false;
413 if (this->m_pInterface != NULL)
415 bRetval = this->m_pInterface->hasNextItem();
426 assert(this->m_pInterface != NULL);
427 return this->m_pInterface->getNextKeyConst(rKey);
436 assert(this->m_pInterface != NULL);
437 return this->m_pInterface->getNextItemWithKeyConst(rKey);
471 virtual T&
MQUALIFIER getNextItem()
const = 0;
472 virtual Retval
MQUALIFIER getNextKey(TKeyType& rKey) =0;
473 virtual T&
MQUALIFIER getNextItemWithKey(TKeyType& rKey)
const = 0;
490 inline virtual void MQUALIFIER addRef()
const {}
496 inline virtual void MQUALIFIER release()
const 579 return this->equals(pIt);
599 return !this->equals(pIt);
608 assert(this->m_pInterface != NULL);
609 return this->m_pInterface->getNextItem();
618 assert(this->m_pInterface != NULL);
619 return this->m_pInterface->getNextKey(rKey);
628 assert(this->m_pInterface != NULL);
629 return this->m_pInterface->getNextItemWithKey(rKey);
709 return this->equals(pIt);
729 return !this->equals(pIt);
737 inline virtual T&
MQUALIFIER getNextItem()
const 739 assert(this->m_pInterface != NULL);
740 return this->m_pInterface->getNextItem();
747 inline virtual Retval
MQUALIFIER getNextKey(TKeyType& rKey)
749 assert(this->m_pInterface != NULL);
750 return this->m_pInterface->getNextKey(rKey);
757 inline virtual T&
MQUALIFIER getNextItemWithKey(TKeyType& rKey)
const 759 assert(this->m_pInterface != NULL);
760 return this->m_pInterface->getNextItemWithKey(rKey);
bool operator!=(const TConstIterator< T > &rWrapper) const
Definition: Iterators.hpp:346
bool operator!=(const TMapIterator< TKeyType, T > &rWrapper) const
Definition: Iterators.hpp:587
TAbstractMapIterator(IMapIterator< TKeyType, T > *pIt, bool bAllocPointer=false)
Definition: Iterators.hpp:467
Definition: Iterators.hpp:269
TConstIterator(const TConstIterator< T > &rIt)
Definition: Iterators.hpp:295
#define RET_METHOD_NOT_IMPL
Definition: RetvalDefines.hpp:43
TMapIterator< TKeyType, T > & operator=(const TMapIterator< TKeyType, T > &rIt)
Definition: Iterators.hpp:545
TIterator< T > & operator=(const TIterator< T > &rIt)
Definition: Iterators.hpp:195
Definition: IListIterator.hpp:44
virtual const T &MQUALIFIER getNextItemConst() const
Definition: Iterators.hpp:68
virtual Retval MQUALIFIER getNextKey(TKeyType &rKey)
Definition: Iterators.hpp:616
virtual const T &MQUALIFIER getNextItemWithKeyConst(TKeyType &rKey) const
Definition: Iterators.hpp:434
virtual Retval MQUALIFIER getNextKeyConst(TKeyType &rKey) const
Definition: Iterators.hpp:424
TAbstractMapIterator(const IMapIterator< TKeyType, T > *pIt, bool bAllocPointer=false)
Definition: Iterators.hpp:456
Definition: IMapIterator.hpp:44
Definition: PlatformDefines.hpp:327
Definition: Iterators.hpp:640
Definition: Iterators.hpp:379
bool operator!=(const IMapIterator< TKeyType, T > *pIt) const
Definition: Iterators.hpp:727
virtual bool MQUALIFIER hasNextItem() const
Definition: Iterators.hpp:410
TConstMapIterator()
Definition: Iterators.hpp:647
bool operator==(const TMapIterator< TKeyType, T > &rWrapper) const
Definition: Iterators.hpp:567
TAbstractIterator()
Definition: Iterators.hpp:93
TAbstractIterator(IListIterator< T > *pIt, bool bAllocPointer=false)
Definition: Iterators.hpp:115
TAbstractMapIterator()
Definition: Iterators.hpp:445
virtual T &MQUALIFIER getNextItemWithKey(TKeyType &rKey) const
Definition: Iterators.hpp:626
virtual const T &MQUALIFIER getNextItemConst() const
Definition: Iterators.hpp:400
TConstMapIterator< TKeyType, T > & operator=(const IMapIterator< TKeyType, T > *pIt)
Definition: Iterators.hpp:686
TIterator()
Definition: Iterators.hpp:167
bool operator==(const TConstMapIterator< TKeyType, T > &rWrapper) const
Definition: Iterators.hpp:697
bool operator!=(const IListIterator< T > *pIt) const
Definition: Iterators.hpp:356
TMapIterator()
Definition: Iterators.hpp:517
TConstIterator< T > & operator=(const TConstIterator< T > &rIt)
Definition: Iterators.hpp:304
TIterator(const TIterator< T > &rIt)
Definition: Iterators.hpp:186
TConstMapIterator< TKeyType, T > & operator=(const TConstMapIterator< TKeyType, T > &rIt)
Definition: Iterators.hpp:675
bool operator!=(const TConstMapIterator< TKeyType, T > &rWrapper) const
Definition: Iterators.hpp:717
bool operator==(const TConstIterator< T > &rWrapper) const
Definition: Iterators.hpp:326
TConstIterator(const IListIterator< T > *pIt, bool bAllocPointer=false)
Definition: Iterators.hpp:287
Definition: AutoPtr.hpp:44
virtual void MQUALIFIER reset() const
Definition: Iterators.hpp:388
bool operator==(const IMapIterator< TKeyType, T > *pIt) const
Definition: Iterators.hpp:577
TConstMapIterator(const TConstMapIterator< TKeyType, T > &rIt)
Definition: Iterators.hpp:666
bool operator!=(const IListIterator< T > *pIt) const
Definition: Iterators.hpp:247
virtual bool MQUALIFIER hasNextItem() const
Definition: Iterators.hpp:78
virtual void MQUALIFIER reset() const
Definition: Iterators.hpp:56
bool operator!=(const IMapIterator< TKeyType, T > *pIt) const
Definition: Iterators.hpp:597
bool operator==(const IListIterator< T > *pIt) const
Definition: Iterators.hpp:336
Definition: Iterators.hpp:160
TIterator(IListIterator< T > *pIt, bool bAllocPointer=false)
Definition: Iterators.hpp:178
TMapIterator< TKeyType, T > & operator=(IMapIterator< TKeyType, T > *pIt)
Definition: Iterators.hpp:556
bool operator!=(const TIterator< T > &rWrapper) const
Definition: Iterators.hpp:237
TIterator< T > & operator=(IListIterator< T > *pIt)
Definition: Iterators.hpp:206
TAbstractIterator(const IListIterator< T > *pIt, bool bAllocPointer=false)
Definition: Iterators.hpp:104
TMapIterator(IMapIterator< TKeyType, T > *pIt, bool bAllocPointer=false)
Definition: Iterators.hpp:528
bool operator==(const TIterator< T > &rWrapper) const
Definition: Iterators.hpp:217
TConstMapIterator(const IMapIterator< TKeyType, T > *pIt, bool bAllocPointer=false)
Definition: Iterators.hpp:658
TConstIterator()
Definition: Iterators.hpp:276
Definition: Iterators.hpp:49
TMapIterator(const TMapIterator< TKeyType, T > &rIt)
Definition: Iterators.hpp:536
Definition: Iterators.hpp:510
virtual T &MQUALIFIER getNextItem() const
Definition: Iterators.hpp:606
IListIterator< T > * m_pInterface
Definition: AutoPtr.hpp:256
Definition: IZUnknown.hpp:65
bool operator==(const IListIterator< T > *pIt) const
Definition: Iterators.hpp:227
bool operator==(const IMapIterator< TKeyType, T > *pIt) const
Definition: Iterators.hpp:707
TConstIterator< T > & operator=(const IListIterator< T > *pIt)
Definition: Iterators.hpp:315
virtual T &MQUALIFIER getNextItem() const
Definition: Iterators.hpp:256