#include <crwimage.hpp>
Inheritance diagram for Exiv2::CiffComponent:
Public Member Functions | |
Creators | |
virtual | ~CiffComponent () |
Virtual destructor. | |
Manipulators | |
virtual void | add (RawMetadata::AutoPtr component)=0 |
Add a component to the composition. | |
virtual void | read (const byte *buf, uint32_t len, uint32_t start, ByteOrder byteOrder, int32_t shift=0) |
Read a component from a data buffer. | |
void | setDir (uint16_t dir) |
Set the directory tag for this component. | |
Accessors | |
virtual void | extract (Image &image, ByteOrder byteOrder) const =0 |
Extract metadata from the component and add it to image. | |
virtual void | print (std::ostream &os, ByteOrder byteOrder, const std::string &prefix="") const |
Print debug info about a component to os. | |
uint16_t | dir () const |
Return the tag of the directory containing this component. | |
uint16_t | tag () const |
Return the tag of this component. | |
uint32_t | size () const |
Return the data size of this component. | |
uint32_t | offset () const |
Return the offset to the data from the start of the directory. | |
const byte * | pData () const |
Return a pointer to the data area of this component. | |
uint16_t | tagId () const |
Return the tag id of this component. | |
TypeId | typeId () const |
Return the type id of thi component. | |
DataLocId | dataLocation () const |
Return the data location for this component. | |
Static Public Member Functions | |
static TypeId | typeId (uint16_t tag) |
Return the type id for a tag. | |
static DataLocId | dataLocation (uint16_t tag) |
Return the data location id for a tag. |
|
Extract metadata from the component and add it to image.
Implements Exiv2::RawMetadata. Implemented in Exiv2::CiffEntry, and Exiv2::CiffDirectory. |
|
Print debug info about a component to os.
Implements Exiv2::RawMetadata. Reimplemented in Exiv2::CiffDirectory. |
|
Read a component from a data buffer.
Implements Exiv2::RawMetadata. Reimplemented in Exiv2::CiffDirectory. |
|
Return the data size of this component.
|