Public Member Functions | Protected Member Functions | Friends
XnHash::Iterator Class Reference

#include <XnHash.h>

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

List of all members.

Public Member Functions

 Iterator (const Iterator &other)
XnKeyKey () const
Iteratoroperator++ ()
Iterator operator++ (int)
Iteratoroperator-- ()
Iterator operator-- (int)
XnValueValue () const

Protected Member Functions

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

Friends

class XnHash

Detailed Description

Iterator to the XnHash

Definition at line 248 of file XnHash.h.


Constructor & Destructor Documentation

XnHash::Iterator::Iterator ( const Iterator other) [inline]

Copy constructor

Parameters:
other[in] instance to copy from

Definition at line 258 of file XnHash.h.

XnHash::Iterator::Iterator ( 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 314 of file XnHash.h.

XnHash::Iterator::Iterator ( 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 323 of file XnHash.h.

XnHash::Iterator::Iterator ( const ConstIterator other) [inline, protected]

Definition at line 325 of file XnHash.h.


Member Function Documentation

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

Get the key of the current object (const version)

Reimplemented from XnHash::ConstIterator.

Definition at line 299 of file XnHash.h.

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

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

Reimplemented from XnHash::ConstIterator.

Definition at line 263 of file XnHash.h.

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

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

Reimplemented from XnHash::ConstIterator.

Definition at line 271 of file XnHash.h.

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

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

Reimplemented from XnHash::ConstIterator.

Definition at line 281 of file XnHash.h.

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

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

Reimplemented from XnHash::ConstIterator.

Definition at line 289 of file XnHash.h.

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

Get the value of the current object (const version)

Reimplemented from XnHash::ConstIterator.

Definition at line 304 of file XnHash.h.


Friends And Related Function Documentation

friend class XnHash [friend]

Reimplemented from XnHash::ConstIterator.

Definition at line 251 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