OpenNI 1.5.4: XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator Class Reference

OpenNI

XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator Class Reference

#include <XnHashT.h>

Inheritance diagram for XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator:

List of all members.

Public Member Functions

 ConstIterator ()
 ConstIterator (TPairList *const *apBins, XnUInt32 nCurrBin, typename TPairList::ConstIterator currIt)
 ConstIterator (const ConstIterator &other)
ConstIteratoroperator++ ()
ConstIterator operator++ (int)
ConstIteratoroperator-- ()
ConstIterator operator-- (int)
XnBool operator== (const ConstIterator &other) const
XnBool operator!= (const ConstIterator &other) const
TPair const & operator* () const
TPair const * operator-> () const

Protected Attributes

TPairList *const * m_ppBins
XnUInt32 m_nCurrBin
TPairList::ConstIterator m_currIt

Friends

class XnHashT

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
class XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator


Constructor & Destructor Documentation

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::ConstIterator ( ) [inline]
template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::ConstIterator ( TPairList *const *  apBins,
XnUInt32  nCurrBin,
typename TPairList::ConstIterator  currIt 
) [inline]
template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::ConstIterator ( const ConstIterator other) [inline]

Member Function Documentation

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
XnBool XnHashT< TKey, TValue, TKeyManager, 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
template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
TPair const& XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::operator* ( ) const [inline]

Get the value of the current object (const version)

Reimplemented in XnHashT< TKey, TValue, TKeyManager, TAlloc >::Iterator.

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
ConstIterator& XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::operator++ ( ) [inline]

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

Reimplemented in XnHashT< TKey, TValue, TKeyManager, TAlloc >::Iterator.

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
ConstIterator XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::operator++ ( int  ) [inline]

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

Reimplemented in XnHashT< TKey, TValue, TKeyManager, TAlloc >::Iterator.

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
ConstIterator& XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::operator-- ( ) [inline]

Support --iterator, go to the previous object in the hash

Reimplemented in XnHashT< TKey, TValue, TKeyManager, TAlloc >::Iterator.

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
ConstIterator XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::operator-- ( int  ) [inline]

Support iterator--, go to the previous object in the hash, returning the old value

Reimplemented in XnHashT< TKey, TValue, TKeyManager, TAlloc >::Iterator.

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
TPair const* XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::operator-> ( ) const [inline]

Get a pointer to the value of the current object (const version)

Reimplemented in XnHashT< TKey, TValue, TKeyManager, TAlloc >::Iterator.

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
XnBool XnHashT< TKey, TValue, TKeyManager, 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

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
friend class XnHashT [friend]

Member Data Documentation

template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
TPairList::ConstIterator XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::m_currIt [protected]
template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
XnUInt32 XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::m_nCurrBin [protected]
template<class TKey, class TValue, class TKeyManager = XnDefaultKeyManagerT<TKey>, class TAlloc = XnLinkedNodeDefaultAllocatorT<XnKeyValuePair<TKey, TValue> >>
TPairList* const* XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator::m_ppBins [protected]

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   doxygen 1.7.5.1