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 Creators

 TiffSubIfd (const TiffSubIfd &rhs)
 Copy constructor (used to implement clone()).
Protected Manipulators

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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue Aug 3 15:55:28 2010 for Exiv2 by  doxygen 1.6.3