Exiv2
|
This class models a TIFF sub-directory (sub-IFD). A sub-IFD is an entry with one or more values that are pointers to IFD structures containing an IFD. The TIFF standard defines some important tags to be sub-IFDs, including the Exif and GPS tags. More...
#include <tiffcomposite_int.hpp>
Public Member Functions | |
Creators | |
TiffSubIfd (uint16_t tag, uint16_t group, uint16_t newGroup) | |
Default constructor. | |
virtual | ~TiffSubIfd () |
Virtual destructor. | |
Protected Member Functions | |
Protected Creators | |
TiffSubIfd (const TiffSubIfd &rhs) | |
Copy constructor (used to implement clone()). | |
Protected Manipulators | |
virtual TiffComponent * | doAddPath (uint16_t tag, TiffPath &tiffPath, TiffComponent *const pRoot, TiffComponent::AutoPtr object) |
Implements addPath(). The default implementation does nothing. | |
virtual TiffComponent * | doAddChild (TiffComponent::AutoPtr tiffComponent) |
Implements addChild(). 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(). Write the sub-IFD pointers to the ioWrapper, return the number of bytes written. The valueIdx and imageIdx arguments are not used. | |
Protected Accessors | |
virtual TiffSubIfd * | doClone () const |
Internal virtual copy constructor, implements clone(). | |
virtual uint32_t | doWriteData (IoWrapper &ioWrapper, ByteOrder byteOrder, int32_t offset, uint32_t dataIdx, uint32_t &imageIdx) const |
Implements writeData(). Write the sub-IFDs to the ioWrapper. Return the number of bytes written. | |
virtual uint32_t | doWriteImage (IoWrapper &ioWrapper, ByteOrder byteOrder) const |
Implements writeImage(). Write the image data of each sub-IFD to the ioWrapper. Return the number of bytes written. | |
uint32_t | doSize () const |
Implements size(). Return the size of the sub-Ifd pointers. | |
virtual uint32_t | doSizeData () const |
Implements sizeData(). Return the sum of the sizes of all sub-IFDs. | |
virtual uint32_t | doSizeImage () const |
Implements sizeImage(). Return the sum of the image sizes of all sub-IFDs. | |
Friends | |
class | TiffReader |
This class models a TIFF sub-directory (sub-IFD). A sub-IFD is an entry with one or more values that are pointers to IFD structures containing an IFD. The TIFF standard defines some important tags to be sub-IFDs, including the Exif and GPS tags.