#include <tiffcomposite_int.hpp>
Inheritance diagram for Exiv2::Internal::TiffDirectory:
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 TiffComponent * | doAddPath (uint16_t tag, TiffPath &tiffPath, TiffComponent *const pRoot) |
Implements addPath(). The default implementation does nothing. | |
virtual TiffComponent * | doAddChild (TiffComponent::AutoPtr tiffComponent) |
virtual TiffComponent * | doAddNext (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 |