diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2009-11-20 18:35:10 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2009-11-20 18:35:10 +0100 |
commit | f67e40873fb2078ee8a065e3210aff95251b8cd9 (patch) | |
tree | 5679010384af5e71bca631fec05bf7db4f462cdc /src/exiv2wrapper.hpp | |
parent | 30c9eab71722eac240e2885b1b259cad96fd2df7 (diff) | |
download | pyexiv2-f67e40873fb2078ee8a065e3210aff95251b8cd9.tar.gz |
Make Image::getXmpTag return an XmpTag.
Diffstat (limited to 'src/exiv2wrapper.hpp')
-rw-r--r-- | src/exiv2wrapper.hpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/exiv2wrapper.hpp b/src/exiv2wrapper.hpp index 0ebdf53..76e5021 100644 --- a/src/exiv2wrapper.hpp +++ b/src/exiv2wrapper.hpp @@ -180,13 +180,9 @@ public: boost::python::list xmpKeys(); - // key - // tagname - // taglabel - // tagdesc - // type - // tagvalue (list) - boost::python::tuple getXmpTag(std::string key); + // Return the required XMP tag. + // Throw an exception if the tag is not set. + const XmpTag getXmpTag(std::string key); void setXmpTagValue(std::string key, std::string value); |