Public Member Functions

XnListT< T, TAlloc >::Iterator Class Reference

#include <XnListT.h>

Inheritance diagram for XnListT< T, TAlloc >::Iterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Iterator ()
 Iterator (LinkedNode *pNode)
 Iterator (const Iterator &other)
Iteratoroperator++ ()
Iterator operator++ (int)
Iteratoroperator-- ()
Iterator operator-- (int)
T & operator* () const
T * operator-> () const

Detailed Description

template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
class XnListT< T, TAlloc >::Iterator

An iterator for iterating the list


Constructor & Destructor Documentation

template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnListT< T, TAlloc >::Iterator::Iterator (  )  [inline]
template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnListT< T, TAlloc >::Iterator::Iterator ( LinkedNode pNode  )  [inline]
template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
XnListT< T, TAlloc >::Iterator::Iterator ( const Iterator other  )  [inline]

Member Function Documentation

template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
T& XnListT< T, TAlloc >::Iterator::operator* (  )  const [inline]

Get the value of the current object

Reimplemented from XnListT< T, TAlloc >::ConstIterator.

template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
Iterator& XnListT< T, TAlloc >::Iterator::operator++ (  )  [inline]

Support ++iterator, go to the next object in the list

Reimplemented from XnListT< T, TAlloc >::ConstIterator.

template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
Iterator XnListT< T, TAlloc >::Iterator::operator++ ( int   )  [inline]

Support iterator++, go to the next object in the list, returning the old value

Reimplemented from XnListT< T, TAlloc >::ConstIterator.

template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
Iterator XnListT< T, TAlloc >::Iterator::operator-- ( int   )  [inline]

Support iterator--, go to the next object in the list, returning the old value

Reimplemented from XnListT< T, TAlloc >::ConstIterator.

template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
Iterator& XnListT< T, TAlloc >::Iterator::operator-- (  )  [inline]

Support --iterator, go to the next object in the list

Reimplemented from XnListT< T, TAlloc >::ConstIterator.

template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
T* XnListT< T, TAlloc >::Iterator::operator-> (  )  const [inline]

Get a pointer to the value of the current object

Reimplemented from XnListT< T, TAlloc >::ConstIterator.


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