Exiv2
List of all members
Exiv2::Internal::TiffCopier Class Reference

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>

Inheritance diagram for Exiv2::Internal::TiffCopier:
Inheritance graph
[legend]

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.
 
- Public Member Functions inherited from Exiv2::Internal::TiffVisitor
 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

- Public Types inherited from Exiv2::Internal::TiffVisitor
enum  GoEvent { geTraverse = 0, geKnownMakernote = 1 }
 Events for the stop/go flag. See setGo(). More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TiffCopier()

Exiv2::Internal::TiffCopier::TiffCopier ( TiffComponent pRoot,
uint32_t  root,
const TiffHeaderBase pHeader,
const PrimaryGroups pPrimaryGroups 
)

Constructor.

Parameters
pRootPointer to the root element of the (empty) target tree.
root
pHeaderPointer to the TIFF header of the source image.
pPrimaryGroupsPointer to the list of primary groups.

The documentation for this class was generated from the following files: