#include <XnList.h>
◆ XnList() [1/2]
Constructor. Initialize internal representations
◆ ~XnList()
virtual XnList::~XnList |
( |
| ) |
|
|
inlinevirtual |
Destructor. Destroy internal representations
◆ XnList() [2/2]
Constructor. Initialize internal representations
◆ Add()
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,
◆ AddAfter()
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
◆ AddBefore()
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,
◆ AddFirst()
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.
◆ AddLast()
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.
◆ begin() [1/2]
An iterator to the first entry of the list (non-const version)
◆ begin() [2/2]
An iterator to the first entry of the list (const version)
◆ Clear()
Remove all entries from the list
◆ end() [1/2]
An iterator 1to the end of the list (non-const version). The position is invalid.
◆ end() [2/2]
An iterator to the end of the list (const version). The position is invalid.
◆ Find() [1/2]
Get an iterator pointing to a value in the list.
- Parameters
-
value | [in] The searched value |
- Returns
- end() if value doesn't exist
◆ Find() [2/2]
Get an iterator pointing to a value in the list.
- Parameters
-
value | [in] The searched value |
- Returns
- end() if value doesn't exist
◆ Init()
◆ IsEmpty()
XnBool XnList::IsEmpty |
( |
| ) |
const |
|
inline |
◆ rbegin() [1/2]
An iterator to the last entry of the list (non-const version)
◆ rbegin() [2/2]
An iterator to the last entry of the list (const version)
◆ Remove() [1/2]
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
◆ Remove() [2/2]
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
◆ rend() [1/2]
An iterator to the beginning of the list (non-const version). This position is invalid
◆ rend() [2/2]
An iterator to the beginning of the list (const version). This position is invalid
◆ Size()
XnUInt32 XnList::Size |
( |
| ) |
const |
|
inline |
◆ XnNodeManager
friend class XnNodeManager |
|
friend |
◆ m_bOwnsAllocator
XnBool XnList::m_bOwnsAllocator |
|
protected |
◆ m_pBase
The base node for the list
◆ m_pNodeAllocator
The documentation for this class was generated from the following file: