![]() |
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. More... | |
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. | |
![]() | |
TiffVisitor () | |
Default constructor. Initialises all stop/go flags to true. | |
virtual | ~TiffVisitor () |
Virtual destructor. | |
void | setGo (GoEvent event, bool go) |
Set the stop/go flag: true for go, false for stop. More... | |
virtual void | visitDirectoryNext (TiffDirectory *object) |
Operation to perform for a TIFF directory, after all components and before the next entry is processed. | |
virtual void | visitDirectoryEnd (TiffDirectory *object) |
Operation to perform for a TIFF directory, at the end of the processing. | |
virtual void | visitIfdMakernoteEnd (TiffIfdMakernote *object) |
Operation to perform after processing an IFD makernote. | |
virtual void | visitBinaryArrayEnd (TiffBinaryArray *object) |
Operation to perform for a TIFF binary array, at the end of the processing. | |
bool | go (GoEvent event) const |
Check if stop flag for event is clear, return true if it's clear. | |
Additional Inherited Members | |
![]() | |
enum | GoEvent { geTraverse = 0, geKnownMakernote = 1 } |
Events for the stop/go flag. See setGo(). More... | |
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. |