TIFF composite visitor to decode metadata from the TIFF tree and add it to an Image, which is supplied in the constructor (Visitor pattern). Used by TiffParser to decode the metadata from a TIFF composite. More...
#include <tiffvisitor_int.hpp>
Public Member Functions | |
Creators | |
TiffDecoder (ExifData &exifData, IptcData &iptcData, XmpData &xmpData, TiffComponent *const pRoot, FindDecoderFct findDecoderFct) | |
Constructor, taking metadata containers to add the metadata to, the root element of the composite to decode and a FindDecoderFct function to get the decoder function for each tag. | |
virtual | ~TiffDecoder () |
Virtual destructor. | |
Manipulators | |
| |
virtual void | visitEntry (TiffEntry *object) |
Decode a TIFF entry. | |
virtual void | visitDataEntry (TiffDataEntry *object) |
Decode a TIFF data entry. | |
virtual void | visitImageEntry (TiffImageEntry *object) |
Decode a TIFF image entry. | |
virtual void | visitSizeEntry (TiffSizeEntry *object) |
Decode a TIFF size entry. | |
virtual void | visitDirectory (TiffDirectory *object) |
Decode a TIFF directory. | |
virtual void | visitSubIfd (TiffSubIfd *object) |
Decode a TIFF sub-IFD. | |
virtual void | visitMnEntry (TiffMnEntry *object) |
Decode a TIFF makernote. | |
virtual void | visitIfdMakernote (TiffIfdMakernote *object) |
Decode an IFD makernote. | |
virtual void | visitArrayEntry (TiffArrayEntry *object) |
Decode an array entry component. | |
virtual void | visitArrayElement (TiffArrayElement *object) |
Decode an array element. | |
void | decodeTiffEntry (const TiffEntryBase *object) |
Entry function, determines how to decode each tag. | |
void | decodeStdTiffEntry (const TiffEntryBase *object) |
Decode a standard TIFF entry. | |
void | decodeIptc (const TiffEntryBase *object) |
Decode IPTC data from an IPTCNAA tag or Photoshop ImageResources. | |
void | decodeXmp (const TiffEntryBase *object) |
Decode XMP packet from an XMLPacket tag. |
TIFF composite visitor to decode metadata from the TIFF tree and add it to an Image, which is supplied in the constructor (Visitor pattern). Used by TiffParser to decode the metadata from a TIFF composite.