* Push a new value to the stack * * @param value [in] The value to add to the stack * * @return XN_STATUS_ALLOC_FAILED Failed to add to the stack because no nodes are available. */
| 52 | * @return XN_STATUS_ALLOC_FAILED Failed to add to the stack because no nodes are available. |
| 53 | */ |
| 54 | XnStatus Push(XnValue const& value) |
| 55 | { |
| 56 | return m_List.AddFirst(value); |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * Pop the value at the top of the stack |