Exiv2::Internal::TiffDirectory Class Reference

This class models a TIFF directory (Ifd). It is a composite component of the TIFF tree. More...

#include <tiffcomposite_int.hpp>

Inheritance diagram for Exiv2::Internal::TiffDirectory:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

Creators
 TiffDirectory (uint16_t tag, uint16_t group, bool hasNext=true)
 Default constructor.
virtual ~TiffDirectory ()
 Virtual destructor.
Accessors
bool hasNext () const
 Return true if the directory has a next pointer.

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 TiffComponentdoAddNext (TiffComponent::AutoPtr tiffComponent)
virtual void doAccept (TiffVisitor &visitor)
 Implements accept().
virtual uint32_t doWrite (IoWrapper &ioWrapper, ByteOrder byteOrder, int32_t offset, uint32_t valueIdx, uint32_t dataIdx, uint32_t &imageIdx)
 Implements write(). Write the TIFF directory, values and additional data, including the next-IFD, if any, to the ioWrapper, return the number of bytes written.
Protected Accessors
virtual uint32_t doWriteData (IoWrapper &ioWrapper, ByteOrder byteOrder, int32_t offset, uint32_t dataIdx, uint32_t &imageIdx) const
 This class does not really implement writeData(), it only has write(). This method must not be called; it commits suicide.
virtual uint32_t doWriteImage (IoWrapper &ioWrapper, ByteOrder byteOrder) const
 Implements writeImage(). Write the image data of the TIFF directory to the ioWrapper by forwarding the call to each component as well as the next-IFD, if there is any. Return the number of bytes written.
virtual uint32_t doSize () const
 Implements size(). Return the size of the TIFF directory, values and additional data, including the next-IFD, if any.
virtual uint32_t doCount () const
 Implements count(). Return the number of entries in the TIFF directory. Does not count entries which are marked as deleted.
virtual uint32_t doSizeData () const
 This class does not really implement sizeData(), it only has size(). This method must not be called; it commits suicide.
virtual uint32_t doSizeImage () const
 Implements sizeImage(). Return the sum of the image sizes of all components plus that of the next-IFD, if there is any.

Friends

class TiffEncoder

Detailed Description

This class models a TIFF directory (Ifd). It is a composite component of the TIFF tree.


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