Public Member Functions

zeus::TMapIterator< TKeyType, T > Class Template Reference

#include <Iterators.hpp>

Inheritance diagram for zeus::TMapIterator< TKeyType, T >:
zeus::TAbstractMapIterator< TKeyType, T > zeus::TAutoPtrBase< IMapIterator< TKeyType, T > > zeus::IMapIterator< TKeyType, T >

List of all members.

Public Member Functions

 TMapIterator ()
 TMapIterator (IMapIterator< TKeyType, T > *pIt, bool bAllocPointer=false)
 TMapIterator (const TMapIterator< TKeyType, T > &rIt)
TMapIterator< TKeyType, T > & operator= (const TMapIterator< TKeyType, T > &rIt)
TMapIterator< TKeyType, T > & operator= (IMapIterator< TKeyType, T > *pIt)
bool operator== (const TMapIterator< TKeyType, T > &rWrapper) const
bool operator== (const IMapIterator< TKeyType, T > *pIt) const
bool operator!= (const TMapIterator< TKeyType, T > &rWrapper) const
bool operator!= (const IMapIterator< TKeyType, T > *pIt) const
virtual T &MQUALIFIER getNextItem () const
virtual Retval MQUALIFIER getNextKey (TKeyType &rKey)
virtual T &MQUALIFIER getNextItemWithKey (TKeyType &rKey) const

Detailed Description

template<class TKeyType, class T>
class zeus::TMapIterator< TKeyType, T >

Implementation of the map iterator wrapper for non const iterations


Constructor & Destructor Documentation

template<class TKeyType, class T>
zeus::TMapIterator< TKeyType, T >::TMapIterator (  ) [inline]

Standard constructor

template<class TKeyType, class T>
zeus::TMapIterator< TKeyType, T >::TMapIterator ( IMapIterator< TKeyType, T > *  pIt,
bool  bAllocPointer = false 
) [inline]

Creates an Interface Smart pointer

Parameters:
pIt: Iterator Interface
bAllocPointer: If this flag is true the pointer will be allocated with addRef()
template<class TKeyType, class T>
zeus::TMapIterator< TKeyType, T >::TMapIterator ( const TMapIterator< TKeyType, T > &  rIt ) [inline]

Copy constructor


Member Function Documentation

template<class TKeyType, class T>
virtual T& MQUALIFIER zeus::TMapIterator< TKeyType, T >::getNextItem (  ) const [inline, virtual]
template<class TKeyType, class T>
virtual T& MQUALIFIER zeus::TMapIterator< TKeyType, T >::getNextItemWithKey ( TKeyType &  rKey ) const [inline, virtual]
template<class TKeyType, class T>
virtual Retval MQUALIFIER zeus::TMapIterator< TKeyType, T >::getNextKey ( TKeyType &  rKey ) [inline, virtual]
template<class TKeyType, class T>
bool zeus::TMapIterator< TKeyType, T >::operator!= ( const IMapIterator< TKeyType, T > *  pIt ) const [inline]

Equals operator

Parameters:
pIt: Interface
template<class TKeyType, class T>
bool zeus::TMapIterator< TKeyType, T >::operator!= ( const TMapIterator< TKeyType, T > &  rWrapper ) const [inline]

Equals operator

Parameters:
rWrapper: Interface wrapper
template<class TKeyType, class T>
TMapIterator<TKeyType, T>& zeus::TMapIterator< TKeyType, T >::operator= ( IMapIterator< TKeyType, T > *  pIt ) [inline]

Assign operator

Parameters:
pIt: iterator to assign
template<class TKeyType, class T>
TMapIterator<TKeyType, T>& zeus::TMapIterator< TKeyType, T >::operator= ( const TMapIterator< TKeyType, T > &  rIt ) [inline]

Assign operator

Parameters:
rIt: iterator to assign
template<class TKeyType, class T>
bool zeus::TMapIterator< TKeyType, T >::operator== ( const TMapIterator< TKeyType, T > &  rWrapper ) const [inline]

Equals operator

Parameters:
rWrapper: Interface wrapper
template<class TKeyType, class T>
bool zeus::TMapIterator< TKeyType, T >::operator== ( const IMapIterator< TKeyType, T > *  pIt ) const [inline]

Equals operator

Parameters:
pIt: Interface

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:39