#include <exif.hpp>
Inheritance diagram for Exiv2::Thumbnail:
Public Types | |
| typedef std::auto_ptr< Thumbnail > | AutoPtr |
| Shortcut for a Thumbnail auto pointer. | |
Public Member Functions | |
Creators | |
| virtual | ~Thumbnail () |
| Virtual destructor. | |
Accessors | |
| virtual int | setDataArea (ExifData &exifData, Ifd *pIfd1, const byte *buf, long len) const =0 |
| Set the image data as data area of the appropriate Exif metadatum. Read the thumbnail image data from data buffer buf. Return 0 if successful. | |
| virtual DataBuf | copy (const ExifData &exifData) const =0 |
| Return the thumbnail image in a DataBuf. The caller owns the data buffer and DataBuf ensures that it will be deleted. | |
| virtual const char * | format () const =0 |
| Return a short string for the format of the thumbnail ("TIFF", "JPEG"). | |
| virtual const char * | extension () const =0 |
| Return the file extension for the format of the thumbnail (".tif", ".jpg"). | |
Protected Member Functions | |
Manipulators | |
| Thumbnail & | operator= (const Thumbnail &rhs) |
| Assignment operator. Protected so that it can only be used by subclasses but not directly. | |
|
||||||||||||||||||||
|
Set the image data as data area of the appropriate Exif metadatum. Read the thumbnail image data from data buffer buf. Return 0 if successful.
Implemented in Exiv2::TiffThumbnail, and Exiv2::JpegThumbnail. |
1.4.6