![]() |
OpenNI 1.5.4
|
#include <XnListT.h>
Public Member Functions | |
ConstIterator () | |
ConstIterator (LinkedNode *pNode) | |
ConstIterator (const ConstIterator &other) | |
ConstIterator & | operator++ () |
ConstIterator | operator++ (int) |
ConstIterator & | operator-- () |
ConstIterator | operator-- (int) |
XnBool | operator== (const ConstIterator &other) const |
XnBool | operator!= (const ConstIterator &other) const |
T const & | operator* () const |
T const * | operator-> () const |
Protected Attributes | |
LinkedNode * | m_pCurrent |
Friends | |
class | XnListT |
An iterator for iterating the list without modifying values.
XnListT< T, TAlloc >::ConstIterator::ConstIterator | ( | ) | [inline] |
XnListT< T, TAlloc >::ConstIterator::ConstIterator | ( | LinkedNode * | pNode | ) | [inline] |
XnListT< T, TAlloc >::ConstIterator::ConstIterator | ( | const ConstIterator & | other | ) | [inline] |
XnBool XnListT< T, TAlloc >::ConstIterator::operator!= | ( | const ConstIterator & | other | ) | const [inline] |
Operator to check if two iterators point to different objects
other | [in] instance to compare with |
T const& XnListT< T, TAlloc >::ConstIterator::operator* | ( | ) | const [inline] |
Get the value of the current object (const version)
Reimplemented in XnListT< T, TAlloc >::Iterator.
ConstIterator XnListT< T, TAlloc >::ConstIterator::operator++ | ( | int | ) | [inline] |
Support iterator++, go to the next object in the list, returning the old value
Reimplemented in XnListT< T, TAlloc >::Iterator.
ConstIterator& XnListT< T, TAlloc >::ConstIterator::operator++ | ( | ) | [inline] |
Support ++iterator, go to the next object in the list
Reimplemented in XnListT< T, TAlloc >::Iterator.
ConstIterator XnListT< T, TAlloc >::ConstIterator::operator-- | ( | int | ) | [inline] |
Support iterator--, go to the next object in the list, returning the old value
Reimplemented in XnListT< T, TAlloc >::Iterator.
ConstIterator& XnListT< T, TAlloc >::ConstIterator::operator-- | ( | ) | [inline] |
Support --iterator, go to the next object in the list
Reimplemented in XnListT< T, TAlloc >::Iterator.
T const* XnListT< T, TAlloc >::ConstIterator::operator-> | ( | ) | const [inline] |
Get a pointer to the value of the current object (const version)
Reimplemented in XnListT< T, TAlloc >::Iterator.
XnBool XnListT< T, TAlloc >::ConstIterator::operator== | ( | const ConstIterator & | other | ) | const [inline] |
Operator to check if two iterators point to the same object
other | [in] instance to compare with |
friend class XnListT [friend] |
LinkedNode* XnListT< T, TAlloc >::ConstIterator::m_pCurrent [protected] |
The current XnNode