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

Method CopyFrom

Include/XnCppWrapper.h:1259–1265  ·  view source on GitHub ↗

* Performs a deep-copy of another metadata object (including duplication of the data buffer) * * @param [in] other source object */

Source from the content-addressed store, hash-verified

1257 * @param [in] other source object
1258 */
1259 XnStatus CopyFrom(const IRMetaData& other)
1260 {
1261 // copy props
1262 xnCopyIRMetaData(&m_ir, &other.m_ir);
1263 // and make a copy of the data (this will allocate and copy data)
1264 return MakeDataWritable();
1265 }
1266
1267 /**
1268 * @copydoc MapMetaData::ReAdjust

Callers

nothing calls this directly

Calls 1

xnCopyIRMetaDataFunction · 0.85

Tested by

no test coverage detected