OpenNI 1.5.4
Public Member Functions | List of all members
XnListT< T, TAlloc >::Iterator Class Reference

#include <XnListT.h>

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

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
- Public Member Functions inherited from XnListT< T, TAlloc >::ConstIterator
 ConstIterator ()
 ConstIterator (LinkedNode *pNode)
 ConstIterator (const ConstIterator &other)
XnBool operator== (const ConstIterator &other) const
XnBool operator!= (const ConstIterator &other) const

Additional Inherited Members

- Protected Attributes inherited from XnListT< T, TAlloc >::ConstIterator
LinkedNodem_pCurrent

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-- ( )
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>>
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: