![]() |
Exiv2
|
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 *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. | |
TiffDecoder (const TiffDecoder &)=delete | |
TiffDecoder & | operator= (const TiffDecoder &)=delete |
~TiffDecoder () override=default | |
Virtual destructor. | |
![]() | |
virtual | ~TiffVisitor ()=default |
Virtual destructor. | |
void | setGo (GoEvent event, bool go) |
Set the stop/go flag: true for go, false for stop. | |
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. | |
Manipulators | |
void | visitEntry (TiffEntry *object) override |
Decode a TIFF entry. | |
void | visitDataEntry (TiffDataEntry *object) override |
Decode a TIFF data entry. | |
void | visitImageEntry (TiffImageEntry *object) override |
Decode a TIFF image entry. | |
void | visitSizeEntry (TiffSizeEntry *object) override |
Decode a TIFF size entry. | |
void | visitDirectory (TiffDirectory *object) override |
Decode a TIFF directory. | |
void | visitSubIfd (TiffSubIfd *object) override |
Decode a TIFF sub-IFD. | |
void | visitMnEntry (TiffMnEntry *object) override |
Decode a TIFF makernote. | |
void | visitIfdMakernote (TiffIfdMakernote *object) override |
Decode an IFD makernote. | |
void | visitBinaryArray (TiffBinaryArray *object) override |
Decode a binary array. | |
void | visitBinaryElement (TiffBinaryElement *object) override |
Decode an element of a binary array. | |
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. | |
void | decodeCanonAFInfo (const TiffEntryBase *object) |
Decode Exif.Canon.AFInfo. | |
Additional Inherited Members | |
![]() | |
enum | GoEvent { geTraverse = 0 , geKnownMakernote = 1 } |
Events for the stop/go flag. See setGo(). More... | |
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.
|
overridevirtual |
Decode a binary array.
Implements Exiv2::Internal::TiffVisitor.
References Exiv2::Internal::TiffBinaryArray::cfg(), Exiv2::Internal::TiffBinaryArray::decoded(), and decodeTiffEntry().
|
overridevirtual |
Decode an element of a binary array.
Implements Exiv2::Internal::TiffVisitor.
References decodeTiffEntry().
|
overridevirtual |
|
overridevirtual |
Decode a TIFF directory.
Implements Exiv2::Internal::TiffVisitor.
|
overridevirtual |
|
overridevirtual |
Decode an IFD makernote.
Implements Exiv2::Internal::TiffVisitor.
References Exiv2::Internal::TiffIfdMakernote::byteOrder().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |