20#ifndef XMPSIDECAR_HPP_
21#define XMPSIDECAR_HPP_
24#include "exiv2lib_export.h"
An interface for simple binary IO.
Definition basicio.hpp:55
std::auto_ptr< BasicIo > AutoPtr
BasicIo auto_ptr type.
Definition basicio.hpp:58
virtual std::string comment() const
Return a copy of the image comment. May be an empty string.
Definition image.cpp:742
std::auto_ptr< Image > AutoPtr
Image auto_ptr type.
Definition image.hpp:81
virtual BasicIo & io() const
Return a reference to the BasicIo instance being used for Io.
Definition image.cpp:752
Image(int imageType, uint16_t supportedMetadata, BasicIo::AutoPtr io)
Constructor taking the image type, a bitmap of the supported metadata types and an auto-pointer that ...
Definition image.cpp:167
std::string mimeType() const
Return the MIME type of the image.
Definition xmpsidecar.cpp:59
XmpSidecar(BasicIo::AutoPtr io, bool create)
Constructor for an XMP sidecar file. Since the constructor can not return a result,...
Definition xmpsidecar.cpp:48
void setComment(const std::string &comment)
Not supported. XMP sidecar files do not contain a comment. Calling this function will throw an instan...
Definition xmpsidecar.cpp:64
void writeMetadata()
Write metadata back to the image.
Definition xmpsidecar.cpp:129
void readMetadata()
Read all metadata supported by a specific image format from the image. Before this method is called,...
Definition xmpsidecar.cpp:70
Supported image formats.
Definition asfvideo.hpp:42
const int xmp
XMP sidecar files (see class XmpSidecar).
Definition xmpsidecar.hpp:38
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition asfvideo.hpp:36
EXIV2API Image::AutoPtr newXmpInstance(BasicIo::AutoPtr io, bool create)
Create a new XmpSidecar instance and return an auto-pointer to it. Caller owns the returned object an...
Definition xmpsidecar.cpp:194
EXIV2API bool isXmpType(BasicIo &iIo, bool advance)
Check if the file iIo is an XMP sidecar file.
Definition xmpsidecar.cpp:203
std::map< std::string, std::string > Dictionary
typedef for string:string map
Definition datasets.hpp:364