This class is the basis for Makernote support in TIFF. It contains a pointer to a concrete Makernote. The TiffReader visitor has the responsibility to create the correct Make/Model specific Makernote for a particular TIFF file. Calls to child management methods are forwarded to the concrete Makernote, if there is one. More...
#include <tiffcomposite_int.hpp>
Public Member Functions | |
Creators | |
TiffMnEntry (uint16_t tag, uint16_t group, uint16_t mnGroup) | |
Default constructor. | |
virtual | ~TiffMnEntry () |
Virtual destructor. | |
Protected Member Functions | |
Protected Manipulators | |
virtual TiffComponent * | doAddPath (uint16_t tag, TiffPath &tiffPath, TiffComponent *const pRoot) |
Implements addPath(). The default implementation does nothing. | |
virtual TiffComponent * | doAddChild (TiffComponent::AutoPtr tiffComponent) |
Implements addChild(). The default implementation does nothing. | |
virtual TiffComponent * | doAddNext (TiffComponent::AutoPtr tiffComponent) |
Implements addNext(). The default implementation does nothing. | |
virtual void | doAccept (TiffVisitor &visitor) |
Implements accept(). | |
virtual void | doEncode (TiffEncoder &encoder, const Exifdatum *datum) |
Implements encode(). | |
virtual uint32_t | doWrite (IoWrapper &ioWrapper, ByteOrder byteOrder, int32_t offset, uint32_t valueIdx, uint32_t dataIdx, uint32_t &imageIdx) |
Implements write() by forwarding the call to the actual concrete Makernote, if there is one. | |
Protected Accessors | |
virtual uint32_t | doCount () const |
Implements count(). Return number of components in the entry. | |
virtual uint32_t | doSize () const |
Implements size() by forwarding the call to the actual concrete Makernote, if there is one. | |
Friends | |
class | TiffReader |
class | TiffDecoder |
class | TiffEncoder |
This class is the basis for Makernote support in TIFF. It contains a pointer to a concrete Makernote. The TiffReader visitor has the responsibility to create the correct Make/Model specific Makernote for a particular TIFF file. Calls to child management methods are forwarded to the concrete Makernote, if there is one.