Exiv2
|
Copy all image tags from the source tree (the tree that is traversed) to a target tree, which is empty except for the root element provided in the constructor. More...
#include <tiffvisitor_int.hpp>
Public Member Functions | |
Creators | |
TiffCopier (TiffComponent *pRoot, uint32_t root, const TiffHeaderBase *pHeader, const PrimaryGroups *pPrimaryGroups) | |
Constructor. | |
virtual | ~TiffCopier () |
Virtual destructor. | |
Manipulators | |
virtual void | visitEntry (TiffEntry *object) |
Copy a TIFF entry if it is an image tag. | |
virtual void | visitDataEntry (TiffDataEntry *object) |
Copy a TIFF data entry if it is an image tag. | |
virtual void | visitImageEntry (TiffImageEntry *object) |
Copy a TIFF image entry if it is an image tag. | |
virtual void | visitSizeEntry (TiffSizeEntry *object) |
Copy a TIFF size entry if it is an image tag. | |
virtual void | visitDirectory (TiffDirectory *object) |
Copy a TIFF directory if it is an image tag. | |
virtual void | visitSubIfd (TiffSubIfd *object) |
Copy a TIFF sub-IFD if it is an image tag. | |
virtual void | visitMnEntry (TiffMnEntry *object) |
Copy a TIFF makernote if it is an image tag. | |
virtual void | visitIfdMakernote (TiffIfdMakernote *object) |
Copy an IFD makernote if it is an image tag. | |
virtual void | visitBinaryArray (TiffBinaryArray *object) |
Copy a binary array if it is an image tag. | |
virtual void | visitBinaryElement (TiffBinaryElement *object) |
Copy an element of a binary array if it is an image tag. | |
void | copyObject (TiffComponent *object) |
Check if object is an image tag and if so, copy it to the target tree. |
Copy all image tags from the source tree (the tree that is traversed) to a target tree, which is empty except for the root element provided in the constructor.
Exiv2::Internal::TiffCopier::TiffCopier | ( | TiffComponent * | pRoot, |
uint32_t | root, | ||
const TiffHeaderBase * | pHeader, | ||
const PrimaryGroups * | pPrimaryGroups | ||
) |
Constructor.
pRoot | Pointer to the root element of the (empty) target tree. |
root | |
pHeader | Pointer to the TIFF header of the source image. |
pPrimaryGroups | Pointer to the list of primary groups. |