Project

General

Profile

Bug #417

ExifData needs proper copy constructor and assignment operator

Added by Andreas Huggel almost 15 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Category:
exif
Start date:
Due date:
% Done:

0%

Estimated time:

Description

These are required for the inside-out features.
ExifData copy construction and assignment need to copy the underlying data buffer and preserve the IFD and MakerNote pointers into the buffer to enable non-intrusive writing after an ExifData object was copied.

Additional information:

Class Ifd should maintain a base pointer to the data buffer in non-alloc mode. It should then be possible to replace this base pointer with a new one after copying the buffer to a new location. ExifData could use this to implement copy construction and assignment.

History

Also available in: Atom PDF