vdk 2.4.0
Public Member Functions | List of all members
VDKListiterator< T > Class Template Reference

Provides a VDKList iterator. More...

#include <dlist.h>

Public Member Functions

 VDKListiterator (VDKList< T > &c)
 
virtual ~VDKListiterator ()
 
void operator++ ()
 
void operator++ (int)
 
void operator-- ()
 
void operator-- (int)
 
void first ()
 
void last ()
 
 operator int ()
 
T * current ()
 
void restart ()
 

Detailed Description

template<class T>
class VDKListiterator< T >

Provides a VDKList iterator.

Constructor & Destructor Documentation

template<class T>
VDKListiterator< T >::VDKListiterator ( VDKList< T > &  c)
inline

Constructor

Parameters
aVDKList reference
template<class T>
virtual VDKListiterator< T >::~VDKListiterator ( )
inlinevirtual

Destructor

Member Function Documentation

template<class T>
T* VDKListiterator< T >::current ( )
inline

Returns currently pointed object

template<class T>
void VDKListiterator< T >::first ( )
inline

Goes to list head

template<class T>
void VDKListiterator< T >::last ( )
inline

Goes to list tail

template<class T>
VDKListiterator< T >::operator int ( )
inline

Return 0 at the list end

template<class T>
void VDKListiterator< T >::operator++ ( )
inline

Incremental operator (postfix)

template<class T>
void VDKListiterator< T >::operator++ ( int  )
inline

Incremental operator (infix)

template<class T>
void VDKListiterator< T >::operator-- ( )
inline

Decremental operator (postfix)

template<class T>
void VDKListiterator< T >::operator-- ( int  )
inline

Decremental operator (infix)

template<class T>
void VDKListiterator< T >::restart ( )
inline

Rewind iterator


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