![]() |
Exiv2
|
Class to insert pointers or offsets to computed addresses at specific locations in an image. Used for offsets which are best computed during the regular write process. They are written in a second pass, using the writeOffsets() method. More...
#include <tiffimage_int.hpp>
Public Types | |
enum | OffsetId { cr2RawIfdOffset } |
Identifiers for supported offsets. More... | |
Public Member Functions | |
Manipulators | |
void | setOrigin (OffsetId id, uint32_t origin, ByteOrder byteOrder) |
Set the origin of the offset for id, i.e., the location in the image where the offset is, and the byte order to encode the offset. More... | |
void | setTarget (OffsetId id, uint32_t target) |
Set the target for offset id, i.e., the address to which the offset points. More... | |
Accessors | |
void | writeOffsets (BasicIo &io) const |
Write the offsets to the IO instance io. | |
Class to insert pointers or offsets to computed addresses at specific locations in an image. Used for offsets which are best computed during the regular write process. They are written in a second pass, using the writeOffsets() method.
Set the origin of the offset for id, i.e., the location in the image where the offset is, and the byte order to encode the offset.
If the list doesn't contain an entry for id yet, this function will create one.
void Exiv2::Internal::OffsetWriter::setTarget | ( | OffsetId | id, |
uint32_t | target | ||
) |
Set the target for offset id, i.e., the address to which the offset points.
If the list doesn't contain an entry with id yet, this function won't do anything.
Referenced by Exiv2::Internal::IoWrapper::setTarget().