#include <tiffimage_int.hpp>
Inheritance diagram for Exiv2::Internal::TiffHeaderBase:

Public Member Functions | |
Creators | |
| TiffHeaderBase (uint16_t tag, uint32_t size, ByteOrder byteOrder, uint32_t offset) | |
| Constructor taking tag, size and default byteOrder and offset. | |
| virtual | ~TiffHeaderBase ()=0 |
| Virtual destructor. | |
Manipulators | |
| virtual bool | read (const byte *pData, uint32_t size) |
| Read the image header from a data buffer. Return false if the data buffer does not contain an image header of the expected format, else true. | |
| virtual void | setByteOrder (ByteOrder byteOrder) |
| Set the byte order. | |
| virtual void | setOffset (uint32_t offset) |
| Set the offset to the start of the root directory. | |
Accessors | |
| virtual uint32_t | write (Blob &blob) const |
| Write the image header to the binary image blob. This method appends to the blob. | |
| virtual void | print (std::ostream &os, const std::string &prefix="") const |
| Print debug info for the image header to os. | |
| virtual ByteOrder | byteOrder () const |
| Return the byte order (little or big endian). | |
| virtual uint32_t | offset () const |
| Return the offset to the start of the root directory. | |
| virtual uint32_t | size () const |
| Return the size (in bytes) of the image header. | |
| virtual uint16_t | tag () const |
| Return the tag value (magic number) which identifies the buffer as TIFF data. | |
|
||||||||||||
|
Print debug info for the image header to os.
|
|
||||||||||||
|
Read the image header from a data buffer. Return false if the data buffer does not contain an image header of the expected format, else true.
Reimplemented in Exiv2::Internal::Cr2Header, and Exiv2::Internal::OrfHeader. |
|
|
Write the image header to the binary image blob. This method appends to the blob.
Reimplemented in Exiv2::Internal::Cr2Header, Exiv2::Internal::OrfHeader, and Exiv2::Internal::Rw2Header. |
1.3.5