ZeusBase-Library  2.0.4
zeus::IMapIterator< TKeyType, TValueType > Class Template Referenceabstract

#include <IMapIterator.hpp>

Inheritance diagram for zeus::IMapIterator< TKeyType, TValueType >:
zeus::IListIterator< TValueType > zeus::IZUnknown

Public Member Functions

virtual Retval MQUALIFIER getNextKey (TKeyType &rKey)=0
 
virtual Retval MQUALIFIER getNextKeyConst (TKeyType &rKey) const =0
 
virtual TValueType &MQUALIFIER getNextItemWithKey (TKeyType &rKey) const =0
 
virtual const TValueType &MQUALIFIER getNextItemWithKeyConst (TKeyType &rKey) const =0
 
- Public Member Functions inherited from zeus::IListIterator< TValueType >
virtual void MQUALIFIER reset () const=0
 
virtual TValueType &MQUALIFIER getNextItem () const=0
 
virtual const TValueType &MQUALIFIER getNextItemConst () const=0
 
virtual bool MQUALIFIER hasNextItem () const=0
 
- Public Member Functions inherited from zeus::IZUnknown
virtual Retval MQUALIFIER askForInterface (const InterfaceID &rInterfaceID, IZUnknown *&rpIface)=0
 
virtual void MQUALIFIER addRef () const =0
 
virtual void MQUALIFIER release () const =0
 

Detailed Description

template<class TKeyType, class TValueType>
class zeus::IMapIterator< TKeyType, TValueType >

Special string map iterator to receive the keys instead of the values

Member Function Documentation

§ getNextItemWithKey()

template<class TKeyType, class TValueType>
virtual TValueType& MQUALIFIER zeus::IMapIterator< TKeyType, TValueType >::getNextItemWithKey ( TKeyType &  rKey) const
pure virtual

Gets the next Item and also returns the key value as a copy

Implemented in zeus::TMapIterator< TKeyType, T >, and zeus::TAbstractMapIterator< TKeyType, T >.

§ getNextItemWithKeyConst()

template<class TKeyType, class TValueType>
virtual const TValueType& MQUALIFIER zeus::IMapIterator< TKeyType, TValueType >::getNextItemWithKeyConst ( TKeyType &  rKey) const
pure virtual

Gets the next Item and also returns the key value as a copy

Implemented in zeus::TAbstractMapIterator< TKeyType, T >.

§ getNextKey()

template<class TKeyType, class TValueType>
virtual Retval MQUALIFIER zeus::IMapIterator< TKeyType, TValueType >::getNextKey ( TKeyType &  rKey)
pure virtual

This method returns the key of an item instead of the value

Implemented in zeus::TMapIterator< TKeyType, T >, and zeus::TAbstractMapIterator< TKeyType, T >.

§ getNextKeyConst()

template<class TKeyType, class TValueType>
virtual Retval MQUALIFIER zeus::IMapIterator< TKeyType, TValueType >::getNextKeyConst ( TKeyType &  rKey) const
pure virtual

This method returns the key of an item instead of the value

Implemented in zeus::TAbstractMapIterator< TKeyType, T >.


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


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Tue Sep 13 2016 22:31:34