![]() |
Exiv2
|
Makernote header interface. This class is used with TIFF makernotes. More...
#include <makernote_int.hpp>
Public Member Functions | |
Creators | |
virtual | ~MnHeader () |
Virtual destructor. | |
Manipulators | |
virtual bool | read (const byte *pData, uint32_t size, ByteOrder byteOrder)=0 |
Read the header from a data buffer, return true if ok. | |
virtual void | setByteOrder (ByteOrder byteOrder) |
Set the byte order for the makernote. | |
Accessors | |
virtual uint32_t | size () const =0 |
Return the size of the header (in bytes). | |
virtual uint32_t | write (IoWrapper &ioWrapper, ByteOrder byteOrder) const =0 |
Write the header to a data buffer, return the number of bytes written. | |
virtual uint32_t | ifdOffset () const |
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of the header). | |
virtual ByteOrder | byteOrder () const |
Return the byte order for the makernote. If the return value is invalidByteOrder, this means that the byte order of the the image should be used for the makernote. | |
virtual uint32_t | baseOffset (uint32_t mnOffset) const |
Return the base offset for the makernote IFD entries relative to the start of the TIFF header. mnOffset is the offset to the makernote from the start of the TIFF header. | |
Makernote header interface. This class is used with TIFF makernotes.