Public Member Functions | Protected Member Functions

zeus::TAbstractIterator< T > Class Template Reference

#include <Iterators.hpp>

Inheritance diagram for zeus::TAbstractIterator< T >:
zeus::TAutoPtrBase< IListIterator< T > > zeus::IListIterator< T > zeus::TConstIterator< T > zeus::TIterator< T >

List of all members.

Public Member Functions

virtual void MQUALIFIER reset () const
virtual const T &MQUALIFIER getNextItemConst () const
virtual bool MQUALIFIER hasNextItem () const

Protected Member Functions

 TAbstractIterator ()
 TAbstractIterator (const IListIterator< T > *pIt, bool bAllocPointer=false)
 TAbstractIterator (IListIterator< T > *pIt, bool bAllocPointer=false)
virtual T &MQUALIFIER getNextItem () const =0

Detailed Description

template<class T>
class zeus::TAbstractIterator< T >

Abstract implementation of the list iterator wrapper all non const methods are defined protected. The inheriting classes such as TConstIterator and TIterator are implementing these methods as private or public.


Constructor & Destructor Documentation

template<class T>
zeus::TAbstractIterator< T >::TAbstractIterator (  ) [inline, protected]

Standard constructor

template<class T>
zeus::TAbstractIterator< T >::TAbstractIterator ( const IListIterator< T > *  pIt,
bool  bAllocPointer = false 
) [inline, protected]

Creates an Interface Smart pointer

Parameters:
pIt: Iterator Interface
bAllocPointer: If this flag is true the pointer will be allocated with addRef()
template<class T>
zeus::TAbstractIterator< T >::TAbstractIterator ( IListIterator< T > *  pIt,
bool  bAllocPointer = false 
) [inline, protected]

Creates an Interface Smart pointer

Parameters:
pIt: Iterator Interface
bAllocPointer: If this flag is true the pointer will be allocated with addRef()

Member Function Documentation

template<class T>
virtual T& MQUALIFIER zeus::TAbstractIterator< T >::getNextItem (  ) const [inline, protected, pure virtual]
template<class T>
virtual const T& MQUALIFIER zeus::TAbstractIterator< T >::getNextItemConst (  ) const [inline, virtual]
template<class T>
virtual bool MQUALIFIER zeus::TAbstractIterator< T >::hasNextItem (  ) const [inline, virtual]
template<class T>
virtual void MQUALIFIER zeus::TAbstractIterator< T >::reset (  ) const [inline, virtual]

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:38