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

#include <XnList.h>

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

Public Member Functions

 Iterator (const Iterator &other)
Iteratoroperator++ ()
Iterator operator++ (int)
Iteratoroperator-- ()
Iterator operator-- (int)
XnValueoperator* () const
- Public Member Functions inherited from XnList::ConstIterator
 ConstIterator (const ConstIterator &other)
XnBool operator== (const ConstIterator &other) const
XnBool operator!= (const ConstIterator &other) const
const XnNodeGetNode () const
XnNodeGetNode ()

Protected Member Functions

 Iterator (XnNode *pNode)
- Protected Member Functions inherited from XnList::ConstIterator
 ConstIterator (XnNode *pNode)

Friends

class XnList

Additional Inherited Members

- Protected Attributes inherited from XnList::ConstIterator
XnNodem_pCurrent

Detailed Description

Iterator to the XnList

Constructor & Destructor Documentation

XnList::Iterator::Iterator ( const Iterator other)
inline

Copy constructor

Parameters
other[in] instance to copy from
XnList::Iterator::Iterator ( 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

XnValue& XnList::Iterator::operator* ( ) const
inline

Get the value of the current object

Reimplemented from XnList::ConstIterator.

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

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

Reimplemented from XnList::ConstIterator.

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

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

Reimplemented from XnList::ConstIterator.

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

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

Reimplemented from XnList::ConstIterator.

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

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

Reimplemented from XnList::ConstIterator.

Friends And Related Function Documentation

friend class XnList
friend

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