#include <tiffcomposite_int.hpp>


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 | |
Manipulators | |
| virtual TiffComponent * | doAddPath (uint16_t tag, TiffPath &tiffPath) |
| Implements addPath(). The default implementation does nothing. | |
| virtual TiffComponent * | doAddChild (TiffComponent::AutoPtr tiffComponent) |
| Implements addChild(). The default implementation does nothing. | |
| virtual TiffComponent * | doAddNext (TiffComponent::AutoPtr tiffComponent) |
| Implements addNext(). The default implementation does nothing. | |
| virtual void | doAccept (TiffVisitor &visitor) |
| Implements accept(). | |
Write support (Manipulators) | |
| virtual uint32_t | doWrite (Blob &blob, 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 blob, return the number of bytes written. | |
Write support (Accessors) | |
| virtual uint32_t | doWriteData (Blob &blob, 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 (Blob &blob, ByteOrder byteOrder) const |
| Implements writeImage(). Write the image data of the TIFF directory to the blob 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 |
| class | TiffPrinter |
1.5.9