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 |
Detailed Description
template<class T, class TAlloc = XnLinkedNodeDefaultAllocatorT<T>>
class XnListT< T, TAlloc >::ConstIterator
An iterator for iterating the list without modifying values.
Constructor & Destructor Documentation
XnListT< T, TAlloc >::ConstIterator::ConstIterator | ( | ) | [inline] |
XnListT< T, TAlloc >::ConstIterator::ConstIterator | ( | LinkedNode * | pNode | ) | [inline] |
XnListT< T, TAlloc >::ConstIterator::ConstIterator | ( | const ConstIterator & | other | ) | [inline] |
Member Function Documentation
XnBool XnListT< T, TAlloc >::ConstIterator::operator!= | ( | const ConstIterator & | other | ) | const [inline] |
Operator to check if two iterators point to different objects
- Parameters:
-
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++ | ( | ) | [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.
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.
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
- Parameters:
-
other [in] instance to compare with
Friends And Related Function Documentation
friend class XnListT [friend] |
Member Data Documentation
LinkedNode* XnListT< T, TAlloc >::ConstIterator::m_pCurrent [protected] |
The current XnNode
The documentation for this class was generated from the following file:
Generated on Wed May 16 2012 10:16:06 for OpenNI 1.5.4 by 1.7.5.1