Public Member Functions | Protected Member Functions | Protected Attributes | Friends
XnHash::ConstIterator Class Reference

#include <XnHash.h>

Inheritance diagram for XnHash::ConstIterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ConstIterator (const ConstIterator &other)
XnNodeGetNode ()
const XnNodeGetNode () const
const XnKeyKey () const
XnBool operator!= (const ConstIterator &other) const
ConstIteratoroperator++ ()
ConstIterator operator++ (int)
ConstIteratoroperator-- ()
ConstIterator operator-- (int)
XnBool operator== (const ConstIterator &other) const
const XnValueValue () const

Protected Member Functions

 ConstIterator (const XnHash *pHash, XnUInt16 nBin, XnList::Iterator listIterator)
 ConstIterator (const XnHash *pHash)

Protected Attributes

XnList::Iterator m_Iterator
XnUInt16 m_nCurrentBin
const XnHashm_pHash

Friends

class XnHash

Detailed Description

Iterator to the XnHash

Definition at line 77 of file XnHash.h.


Constructor & Destructor Documentation

Copy constructor

Parameters:
other[in] instance to copy from

Definition at line 87 of file XnHash.h.

XnHash::ConstIterator::ConstIterator ( const XnHash pHash,
XnUInt16  nBin,
XnList::Iterator  listIterator 
) [inline, protected]

constructor to be used from inside the XnHash

Parameters:
pHash[in] The hash to which the iterator belongs
nBin[in] The bin of the current object
listIterator[in] Iterator on the bin (each bin is a XnList)

Definition at line 214 of file XnHash.h.

XnHash::ConstIterator::ConstIterator ( const XnHash pHash) [inline, protected]

constructor to be used from inside the XnHash. It points to the first value in the hash.

Parameters:
pHash[in] The hash to which the iterator belongs

Definition at line 234 of file XnHash.h.


Member Function Documentation

Get the entire current object (non-const version)

Definition at line 193 of file XnHash.h.

const XnNode* XnHash::ConstIterator::GetNode ( ) const [inline]

Get the entire current object (const version)

Definition at line 201 of file XnHash.h.

const XnKey& XnHash::ConstIterator::Key ( ) const [inline]

Get the key of the current object (const version)

Reimplemented in XnHash::Iterator.

Definition at line 177 of file XnHash.h.

XnBool XnHash::ConstIterator::operator!= ( const ConstIterator other) const [inline]

Operator to check if 2 iterators point to different objects

Parameters:
other[in] instance to compare with

Definition at line 169 of file XnHash.h.

ConstIterator& XnHash::ConstIterator::operator++ ( ) [inline]

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

Reimplemented in XnHash::Iterator.

Definition at line 93 of file XnHash.h.

ConstIterator XnHash::ConstIterator::operator++ ( int  ) [inline]

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

Reimplemented in XnHash::Iterator.

Definition at line 112 of file XnHash.h.

ConstIterator& XnHash::ConstIterator::operator-- ( ) [inline]

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

Reimplemented in XnHash::Iterator.

Definition at line 122 of file XnHash.h.

ConstIterator XnHash::ConstIterator::operator-- ( int  ) [inline]

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

Reimplemented in XnHash::Iterator.

Definition at line 147 of file XnHash.h.

XnBool XnHash::ConstIterator::operator== ( const ConstIterator other) const [inline]

Operator to check if 2 iterators point to the same object

Parameters:
other[in] instance to compare with

Definition at line 159 of file XnHash.h.

const XnValue& XnHash::ConstIterator::Value ( ) const [inline]

Get the value of the current object (const version)

Reimplemented in XnHash::Iterator.

Definition at line 185 of file XnHash.h.


Friends And Related Function Documentation

friend class XnHash [friend]

Reimplemented in XnHash::Iterator.

Definition at line 80 of file XnHash.h.


Member Data Documentation

Iterator for the specific bin

Definition at line 242 of file XnHash.h.

The bin of the current object

Definition at line 240 of file XnHash.h.

The hash to which the iterator belongs

Definition at line 238 of file XnHash.h.


The documentation for this class was generated from the following file:


nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:52