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

Function xnSetStringProperty

Source/OpenNI/XnOpenNI.cpp:3216–3224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3214}
3215
3216XN_C_API XnStatus xnSetStringProperty(XnNodeHandle hInstance, const XnChar* strName, const XnChar* strValue)
3217{
3218 XN_VALIDATE_INPUT_PTR(hInstance);
3219 XN_VALIDATE_CHANGES_ALLOWED(hInstance);
3220 XnProductionNodeInterfaceContainer* pInterface = hInstance->pModuleInstance->pLoaded->pInterface;
3221 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
3222 XN_VALIDATE_FUNC_PTR(pInterface->ProductionNode.SetStringProperty);
3223 return pInterface->ProductionNode.SetStringProperty(hModuleNode, strName, strValue);
3224}
3225
3226XN_C_API XnStatus xnSetGeneralProperty(XnNodeHandle hInstance, const XnChar* strName, XnUInt32 nBufferSize, const void* pBuffer)
3227{

Calls 1

SetStringPropertyMethod · 0.45

Tested by

no test coverage detected