OpenNI 1.5.2
Classes | Public Member Functions
xn::NodeInfoList Class Reference

#include <XnCppWrapper.h>

List of all members.

Classes

class  Iterator
 Represents an iterator over a NodeInfoList list. More...

Public Member Functions

 NodeInfoList ()
 NodeInfoList (XnNodeInfoList *pList)
 ~NodeInfoList ()
XnNodeInfoListGetUnderlyingObject () const
void ReplaceUnderlyingObject (XnNodeInfoList *pList)
XnStatus Add (XnProductionNodeDescription &description, const XnChar *strCreationInfo, NodeInfoList *pNeededNodes)
XnStatus AddEx (XnProductionNodeDescription &description, const XnChar *strCreationInfo, NodeInfoList *pNeededNodes, const void *pAdditionalData, XnFreeHandler pFreeHandler)
XnStatus AddNode (NodeInfo &info)
XnStatus AddNodeFromAnotherList (Iterator &it)
Iterator Begin () const
Iterator End () const
Iterator RBegin () const
Iterator REnd () const
XnStatus Remove (Iterator &it)
XnStatus Clear ()
XnStatus Append (NodeInfoList &other)
XnBool IsEmpty ()
XnStatus FilterList (Context &context, Query &query)

Detailed Description

Represents a list of NodeInfo objects.


Constructor & Destructor Documentation

Creates a new NodeInfoList object.

Creates a new NodeInfoList object by wrapping a C XnNodeInfoList object. Note that this list will not be freed upon destruction.

Parameters:
pList[in] The list to wrap.

Dtor.


Member Function Documentation

XnStatus xn::NodeInfoList::Add ( XnProductionNodeDescription description,
const XnChar *  strCreationInfo,
NodeInfoList pNeededNodes 
) [inline]
For full details and usage, see xnNodeInfoListAdd

XnStatus xn::NodeInfoList::AddEx ( XnProductionNodeDescription description,
const XnChar *  strCreationInfo,
NodeInfoList pNeededNodes,
const void *  pAdditionalData,
XnFreeHandler  pFreeHandler 
) [inline]
For full details and usage, see xnNodeInfoListAddEx

For full details and usage, see xnNodeInfoListAddNode

For full details and usage, see xnNodeInfoListAddNodeFromList

For full details and usage, see xnNodeInfoListAppend

Iterator xn::NodeInfoList::Begin ( ) const [inline]

Gets an iterator to the first item in the list.

For full details and usage, see xnNodeInfoListClear

Iterator xn::NodeInfoList::End ( ) const [inline]

Gets an iterator marking the end of the list. This iterator does not point to a valid item.

XnStatus xn::NodeInfoList::FilterList ( Context context,
Query query 
) [inline]
For full details and usage, see xnNodeQueryFilterList

Gets the underlying C object.

XnBool xn::NodeInfoList::IsEmpty ( ) [inline]
For full details and usage, see xnNodeInfoListIsEmpty

Iterator xn::NodeInfoList::RBegin ( ) const [inline]

Gets an iterator to the last item in the list.

For full details and usage, see xnNodeInfoListRemove

Iterator xn::NodeInfoList::REnd ( ) const [inline]

Gets an iterator marking the start of the list. This iterator does not point to a valid item.

Replaces the underlying object, taking ownership of the object (meaning, it will be freed upon destruction).

Parameters:
pList[in] The list to wrap.

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