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

◆ VDKListiterator()

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

Constructor

Parameters
aVDKList reference

◆ ~VDKListiterator()

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

Destructor

Member Function Documentation

◆ current()

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

Returns currently pointed object

◆ first()

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

Goes to list head

◆ last()

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

Goes to list tail

◆ operator int()

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

Return 0 at the list end

◆ operator++() [1/2]

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

Incremental operator (postfix)

◆ operator++() [2/2]

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

Incremental operator (infix)

◆ operator--() [1/2]

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

Decremental operator (postfix)

◆ operator--() [2/2]

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

Decremental operator (infix)

◆ restart()

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

Rewind iterator


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