* Performs a deep-copy of another metadata object (including duplication of the data buffer) * * @param [in] other source object */
| 1019 | * @param [in] other source object |
| 1020 | */ |
| 1021 | inline XnStatus CopyFrom(const ImageMetaData& other) |
| 1022 | { |
| 1023 | // copy props |
| 1024 | xnCopyImageMetaData(&m_image, &other.m_image); |
| 1025 | // and make a copy of the data (this will allocate and copy data) |
| 1026 | return MakeDataWritable(); |
| 1027 | } |
| 1028 | |
| 1029 | /** |
| 1030 | * @copybrief xn::MapMetaData::ReAdjust |
nothing calls this directly
no test coverage detected