#include <Iterators.hpp>
Public Member Functions | |
| virtual void MQUALIFIER | reset () const |
| virtual const T &MQUALIFIER | getNextItemConst () const |
| virtual bool MQUALIFIER | hasNextItem () const |
| virtual Retval MQUALIFIER | getNextKeyConst (TKeyType &rKey) const |
| virtual const T &MQUALIFIER | getNextItemWithKeyConst (TKeyType &rKey) const |
Protected Member Functions | |
| TAbstractMapIterator () | |
| TAbstractMapIterator (const IMapIterator< TKeyType, T > *pIt, bool bAllocPointer=false) | |
| TAbstractMapIterator (IMapIterator< TKeyType, T > *pIt, bool bAllocPointer=false) | |
| virtual T &MQUALIFIER | getNextItem () const =0 |
| virtual Retval MQUALIFIER | getNextKey (TKeyType &rKey)=0 |
| virtual T &MQUALIFIER | getNextItemWithKey (TKeyType &rKey) const =0 |
Abstract implementation of the map iterator wrapper.
| zeus::TAbstractMapIterator< TKeyType, T >::TAbstractMapIterator | ( | ) | [inline, protected] |
Standard constructor
| zeus::TAbstractMapIterator< TKeyType, T >::TAbstractMapIterator | ( | const IMapIterator< TKeyType, T > * | pIt, |
| bool | bAllocPointer = false |
||
| ) | [inline, protected] |
Creates an Interface Smart pointer
| pIt | : Iterator Interface |
| bAllocPointer | : If this flag is true the pointer will be allocated with addRef() |
| zeus::TAbstractMapIterator< TKeyType, T >::TAbstractMapIterator | ( | IMapIterator< TKeyType, T > * | pIt, |
| bool | bAllocPointer = false |
||
| ) | [inline, protected] |
Creates an Interface Smart pointer
| pIt | : Iterator Interface |
| bAllocPointer | : If this flag is true the pointer will be allocated with addRef() |
| virtual T& MQUALIFIER zeus::TAbstractMapIterator< TKeyType, T >::getNextItem | ( | ) | const [protected, pure virtual] |
Gets the next Item
Implements zeus::IListIterator< T >.
Implemented in zeus::TMapIterator< TKeyType, T >.
| virtual const T& MQUALIFIER zeus::TAbstractMapIterator< TKeyType, T >::getNextItemConst | ( | ) | const [inline, virtual] |
Implements zeus::IListIterator< T >.
| virtual T& MQUALIFIER zeus::TAbstractMapIterator< TKeyType, T >::getNextItemWithKey | ( | TKeyType & | rKey ) | const [protected, pure virtual] |
Gets the next Item and also returns the key value as a copy
Implements zeus::IMapIterator< TKeyType, T >.
Implemented in zeus::TMapIterator< TKeyType, T >.
| virtual const T& MQUALIFIER zeus::TAbstractMapIterator< TKeyType, T >::getNextItemWithKeyConst | ( | TKeyType & | rKey ) | const [inline, virtual] |
Implements zeus::IMapIterator< TKeyType, T >.
| virtual Retval MQUALIFIER zeus::TAbstractMapIterator< TKeyType, T >::getNextKey | ( | TKeyType & | rKey ) | [protected, pure virtual] |
This method returns the key of an item instead of the value
Implements zeus::IMapIterator< TKeyType, T >.
Implemented in zeus::TMapIterator< TKeyType, T >.
| virtual Retval MQUALIFIER zeus::TAbstractMapIterator< TKeyType, T >::getNextKeyConst | ( | TKeyType & | rKey ) | const [inline, virtual] |
Implements zeus::IMapIterator< TKeyType, T >.
| virtual bool MQUALIFIER zeus::TAbstractMapIterator< TKeyType, T >::hasNextItem | ( | ) | const [inline, virtual] |
Implements zeus::IListIterator< T >.
| virtual void MQUALIFIER zeus::TAbstractMapIterator< TKeyType, T >::reset | ( | ) | const [inline, virtual] |
Implements zeus::IListIterator< T >.