OpenNI 1.5.4
|
#include <XnList.h>
Detailed Description
The linked list
Constructor & Destructor Documentation
XnList::XnList | ( | ) | [inline] |
Constructor. Initialize internal representations
virtual XnList::~XnList | ( | ) | [inline, virtual] |
Destructor. Destroy internal representations
XnList::XnList | ( | INiNodeAllocator * | pNodeAllocator | ) | [inline, protected] |
Constructor. Initialize internal representations
Member Function Documentation
Add a new value to the list
- Parameters:
-
pWhere [in] The XnNode after which to add the new value val [in] The value to add to the list
- Returns:
- XN_STATUS_ALLOC_FAILED Failed to add to the list because no nodes are available,
XnStatus XnList::AddAfter | ( | ConstIterator | where, |
const XnValue & | val | ||
) | [inline] |
Add a new value after the object pointed to by the iterator
- Parameters:
-
where [in] iterator to the position after which to add the new value val [in] The value to add to the list
- Returns:
- XN_STATUS_ALLOC_FAILED Failed to add to the list because no nodes are available, XN_STATUS_ILLEGAL_POSITION iterator is invalid
XnStatus XnList::AddBefore | ( | ConstIterator | where, |
const XnValue & | val | ||
) | [inline] |
Add a new value before the object pointed to by the iterator
- Parameters:
-
where [in] iterator to the position before which to add the new value val [in] The value to add to the list
- Returns:
- XN_STATUS_ALLOC_FAILED Failed to add to the list because no nodes are available,
Add a new value at the beginning of list
- Parameters:
-
value [in] The value to add to the head of the list
- Returns:
- XN_STATUS_ALLOC_FAILED Failed to add to the list because no nodes are available.
Add a new value at the end of the list
- Parameters:
-
value [in] The value to add to the tail of the list
- Returns:
- XN_STATUS_ALLOC_FAILED Failed to add to the list because no nodes are available.
Iterator XnList::begin | ( | ) | [inline] |
An iterator to the first entry of the list (non-const version)
ConstIterator XnList::begin | ( | ) | const [inline] |
An iterator to the first entry of the list (const version)
XnStatus XnList::Clear | ( | ) | [inline] |
Remove all entries from the list
Iterator XnList::end | ( | ) | [inline] |
An iterator 1to the end of the list (non-const version). The position is invalid.
ConstIterator XnList::end | ( | ) | const [inline] |
An iterator to the end of the list (const version). The position is invalid.
Get an iterator pointing to a value in the list.
- Parameters:
-
value [in] The searched value
- Returns:
- end() if value doesn't exist
ConstIterator XnList::Find | ( | const XnValue & | value | ) | const [inline] |
Get an iterator pointing to a value in the list.
- Parameters:
-
value [in] The searched value
- Returns:
- end() if value doesn't exist
void XnList::Init | ( | INiNodeAllocator * | pNodeAllocator | ) | [inline, protected] |
XnBool XnList::IsEmpty | ( | ) | const [inline] |
Check if list is empty
Iterator XnList::rbegin | ( | ) | [inline] |
An iterator to the last entry of the list (non-const version)
ConstIterator XnList::rbegin | ( | ) | const [inline] |
An iterator to the last entry of the list (const version)
XnStatus XnList::Remove | ( | ConstIterator | where, |
XnValue & | value | ||
) | [inline] |
Remove a value from the list
- Parameters:
-
where [in] Iterator pointing to an entry in the list value [out] The value that was in the removed entry
- Returns:
- XN_STATUS_ILLEGAL_POSITION iterator was invalid
virtual XnStatus XnList::Remove | ( | ConstIterator | where | ) | [inline, virtual] |
Remove a value from the list
- Parameters:
-
where [in] Iterator pointing to an entry in the list
- Returns:
- XN_STATUS_ILLEGAL_POSITION iterator was invalid
Iterator XnList::rend | ( | ) | [inline] |
An iterator to the beginning of the list (non-const version). This position is invalid
ConstIterator XnList::rend | ( | ) | const [inline] |
An iterator to the beginning of the list (const version). This position is invalid
XnUInt32 XnList::Size | ( | ) | const [inline] |
Current size of the list
Friends And Related Function Documentation
friend class XnNodeManager [friend] |
Member Data Documentation
XnBool XnList::m_bOwnsAllocator [protected] |
XnNode* XnList::m_pBase [protected] |
The base node for the list
INiNodeAllocator* XnList::m_pNodeAllocator [protected] |
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