OpenNI 1.5.7
Public Member Functions | Protected Attributes | Friends | List of all members
XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator Class Reference

#include <XnHashT.h>

Inheritance diagram for XnHashT< TKey, TValue, TKeyManager, TAlloc >::ConstIterator:
Inheritance graph
[legend]

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
 

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)

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

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

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

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

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)

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: