Bug #417

ExifData needs proper copy constructor and assignment operator

Added by Andreas Huggel about 12 years ago. Updated over 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Andreas Huggel% Done:

0%

Category:exif
Target version:-

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

Redmine Appliance - Powered by TurnKey Linux