MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / xnNodeInfoListAddNodeFromList

Function xnNodeInfoListAddNodeFromList

Source/OpenNI/XnOpenNI.cpp:1201–1216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1199}
1200
1201XN_C_API XnStatus xnNodeInfoListAddNodeFromList(XnNodeInfoList* pList, XnNodeInfoListIterator pOtherListIt)
1202{
1203 XnStatus nRetVal = XN_STATUS_OK;
1204
1205 XN_VALIDATE_INPUT_PTR(pList);
1206 XN_VALIDATE_INPUT_PTR(pOtherListIt.pCurrent);
1207
1208 // take node
1209 XnNodeInfo* pNode = xnNodeInfoListGetCurrent(pOtherListIt);
1210
1211 // add it to list
1212 nRetVal = xnNodeInfoListAddNode(pList, pNode);
1213 XN_IS_STATUS_OK(nRetVal);
1214
1215 return (XN_STATUS_OK);
1216}
1217
1218XN_C_API XnStatus xnNodeInfoListRemove(XnNodeInfoList* pList, XnNodeInfoListIterator it)
1219{

Calls 2

xnNodeInfoListGetCurrentFunction · 0.85
xnNodeInfoListAddNodeFunction · 0.85

Tested by

no test coverage detected