OpenNI 1.5.4
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
XnList::ConstIterator Class Reference

#include <XnList.h>

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

Public Member Functions

 ConstIterator (const ConstIterator &other)
ConstIteratoroperator++ ()
ConstIterator operator++ (int)
ConstIteratoroperator-- ()
ConstIterator operator-- (int)
XnBool operator== (const ConstIterator &other) const
XnBool operator!= (const ConstIterator &other) const
const XnValueoperator* () const
const XnNodeGetNode () const
XnNodeGetNode ()

Protected Member Functions

 ConstIterator (XnNode *pNode)

Protected Attributes

XnNodem_pCurrent

Friends

class XnList

Constructor & Destructor Documentation

XnList::ConstIterator::ConstIterator ( const ConstIterator other)
inline

Copy constructor

Parameters
other[in] instance to copy from
XnList::ConstIterator::ConstIterator ( XnNode pNode)
inlineprotected

constructor to be used from inside the XnList. It points to the node supplied.

Parameters
pNode[in] The XnNode to which to currently point

Member Function Documentation

const XnNode* XnList::ConstIterator::GetNode ( ) const
inline

Get the entire current object (const version)

XnNode* XnList::ConstIterator::GetNode ( )
inline

Get the entire current object (non-const version)

XnBool XnList::ConstIterator::operator!= ( const ConstIterator other) const
inline

Operator to check if 2 iterators point to different objects

Parameters
other[in] instance to compare with
const XnValue& XnList::ConstIterator::operator* ( ) const
inline

Get the value of the current object (const version)

Reimplemented in XnList::Iterator.

ConstIterator& XnList::ConstIterator::operator++ ( )
inline

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

Reimplemented in XnList::Iterator.

ConstIterator XnList::ConstIterator::operator++ ( int  )
inline

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

Reimplemented in XnList::Iterator.

ConstIterator& XnList::ConstIterator::operator-- ( )
inline

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

Reimplemented in XnList::Iterator.

ConstIterator XnList::ConstIterator::operator-- ( int  )
inline

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

Reimplemented in XnList::Iterator.

XnBool XnList::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

Friends And Related Function Documentation

friend class XnList
friend

Member Data Documentation

XnNode* XnList::ConstIterator::m_pCurrent
protected

The current XnNode


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