#include <XnStack.h>
List of all members.
Detailed Description
Constructor & Destructor Documentation
Constructor. Initialize internal representations
Destructor. Destroy internal representations
Member Function Documentation
Pop the value at the top of the stack
- Parameters:
-
value | [out] The value that was at the top of the stack |
- Returns:
- XN_STATUS_IS_EMPTY The stack is empty
Push a new value to the stack
- Parameters:
-
value | [in] The value to add to the stack |
- Returns:
- XN_STATUS_ALLOC_FAILED Failed to add to the stack because no nodes are available.
Get current size of the stack
Get the value at the top of the queue (it is user responsibility to check queue is not empty)
- Returns:
- a reference to the object at head of the queue.
Get the value at the top of the queue (it is user responsibility to check queue is not empty)
- Returns:
- a reference to the object at head of the queue.
The documentation for this class was generated from the following file: