OpenNI 1.0.0
|
#include <XnStack.h>
Public Member Functions | |
XnStack () | |
~XnStack () | |
XnStatus | Push (XnValue const &value) |
XnStatus | Pop (XnValue &value) |
XnValue const & | Top () const |
XnValue & | Top () |
XnBool | IsEmpty () const |
XnUInt32 | Size () const |
The stack
XnStack::XnStack | ( | ) | [inline] |
Constructor. Initialize internal representations
XnStack::~XnStack | ( | ) | [inline] |
Destructor. Destroy internal representations
XnBool XnStack::IsEmpty | ( | ) | const [inline] |
Check if stack is empty
Pop the value at the top of the stack
value | [out] The value that was at the top of the stack |
Push a new value to the stack
value | [in] The value to add to the stack |
XnUInt32 XnStack::Size | ( | ) | const [inline] |
Get current size of the stack
XnValue& XnStack::Top | ( | ) | [inline] |
Get the value at the top of the queue (it is user responsibility to check queue is not empty)
XnValue const& XnStack::Top | ( | ) | const [inline] |
Get the value at the top of the queue (it is user responsibility to check queue is not empty)