Exiv2::Internal::TiffSubIfd Class Reference

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>

Inheritance diagram for Exiv2::Internal::TiffSubIfd:

Inheritance graph
[legend]
Collaboration diagram for Exiv2::Internal::TiffSubIfd:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Creators
 TiffSubIfd (uint16_t tag, uint16_t group, uint16_t newGroup)
 Default constructor.
virtual ~TiffSubIfd ()
 Virtual destructor.

Protected Member Functions

Protected Manipulators
virtual TiffComponentdoAddPath (uint16_t tag, TiffPath &tiffPath, TiffComponent *const pRoot)
 Implements addPath(). The default implementation does nothing.
virtual TiffComponentdoAddChild (TiffComponent::AutoPtr tiffComponent)
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 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

Detailed Description

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.


The documentation for this class was generated from the following files:
Generated on Thu Dec 31 03:58:23 2009 for Exiv2 by  doxygen 1.3.9.1