OpenNI 1.5.4
|
#include <XnHash.h>
Public Member Functions | |
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 |
const XnKey & | Key () const |
const XnValue & | Value () const |
XnNode * | GetNode () |
const XnNode * | GetNode () const |
Protected Member Functions | |
ConstIterator (const XnHash *pHash, XnUInt16 nBin, XnList::Iterator listIterator) | |
ConstIterator (const XnHash *pHash) | |
Protected Attributes | |
const XnHash * | m_pHash |
XnUInt16 | m_nCurrentBin |
XnList::Iterator | m_Iterator |
Friends | |
class | XnHash |
Detailed Description
Constructor & Destructor Documentation
XnHash::ConstIterator::ConstIterator | ( | const ConstIterator & | other | ) | [inline] |
Copy constructor
- Parameters:
-
other [in] instance to copy from
XnHash::ConstIterator::ConstIterator | ( | const XnHash * | pHash, |
XnUInt16 | nBin, | ||
XnList::Iterator | listIterator | ||
) | [inline, protected] |
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
Member Function Documentation
XnNode* XnHash::ConstIterator::GetNode | ( | ) | [inline] |
Get the entire current object (non-const version)
const XnNode* XnHash::ConstIterator::GetNode | ( | ) | const [inline] |
Get the entire current object (const version)
const XnKey& XnHash::ConstIterator::Key | ( | ) | const [inline] |
Get the key of the current object (const version)
Reimplemented in XnHash::Iterator.
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
ConstIterator& XnHash::ConstIterator::operator++ | ( | ) | [inline] |
Support ++iterator, go to the next object in the hash
Reimplemented in XnHash::Iterator.
ConstIterator XnHash::ConstIterator::operator++ | ( | int | ) | [inline] |
Support iterator++, go to the next object in the hash, returning the old value
Reimplemented in XnHash::Iterator.
ConstIterator& XnHash::ConstIterator::operator-- | ( | ) | [inline] |
Support --iterator, go to the previous object in the hash
Reimplemented in XnHash::Iterator.
ConstIterator XnHash::ConstIterator::operator-- | ( | int | ) | [inline] |
Support iterator--, go to the previous object in the hash, returning the old value
Reimplemented in XnHash::Iterator.
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
const XnValue& XnHash::ConstIterator::Value | ( | ) | const [inline] |
Get the value of the current object (const version)
Reimplemented in XnHash::Iterator.
Friends And Related Function Documentation
friend class XnHash [friend] |
Reimplemented in XnHash::Iterator.
Member Data Documentation
XnList::Iterator XnHash::ConstIterator::m_Iterator [protected] |
Iterator for the specific bin
XnUInt16 XnHash::ConstIterator::m_nCurrentBin [protected] |
The bin of the current object
const XnHash* XnHash::ConstIterator::m_pHash [protected] |
The hash to which the iterator belongs
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