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

Function xnReadVersionFromXml

Source/OpenNI/XnXmlScriptNode.cpp:535–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535XnStatus xnReadVersionFromXml(const TiXmlElement* pElem, XnVersion* pVersion)
536{
537 if (!xnReadVersionFromString(pElem->GetText(), pVersion))
538 {
539 XN_LOG_ERROR_RETURN(XN_STATUS_CORRUPT_FILE, XN_MASK_OPEN_NI,
540 "Invalid '%s' xml entry - version string is not legal (line %u, col %u)!",
541 pElem->Value(), pElem->Row(), pElem->Column());
542 }
543
544 return (XN_STATUS_OK);
545}
546
547XnStatus xnXmlReadQuery(const TiXmlElement* pQueryElem, XnNodeQuery* pQuery)
548{

Callers 1

xnXmlReadQueryFunction · 0.85

Calls 5

xnReadVersionFromStringFunction · 0.85
GetTextMethod · 0.80
RowMethod · 0.80
ColumnMethod · 0.80
ValueMethod · 0.45

Tested by

no test coverage detected