diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2009-04-14 09:36:26 +0200 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2009-04-14 09:36:26 +0200 |
commit | 8ee4a60dcfd299331ba30992fc324aeeeba694ab (patch) | |
tree | 4325eab89f03ee7f87b9418a5cbe3c5f629cffbf /src/exiv2wrapper.hpp | |
parent | c455d8b72459c7e5c106389054b61d332f19ba60 (diff) | |
download | pyexiv2-8ee4a60dcfd299331ba30992fc324aeeeba694ab.tar.gz |
Really delete all repetitions of an IPTC tag.
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 3bc5314..3dfd850 100644 --- a/src/exiv2wrapper.hpp +++ b/src/exiv2wrapper.hpp @@ -104,13 +104,9 @@ public: //void setIptcTag(std::string key, std::string value, unsigned int index); void setIptcTagValues(std::string key, boost::python::tuple values); - // Delete the required IPTC tag. - // If the key references a repeatable tag, the parameter index (starting - // from 0 like a list index) is used to determine which of the - // repetitions is to be deleted. - // Throw an exception if the tag was not set or if the index is greater - // than the highest existing one. - //void deleteIptcTag(std::string key, unsigned int index); + // Delete (all the repetitions of) the required IPTC tag. + // Throw an exception if the tag was not set. + void deleteIptcTag(std::string key); boost::python::list xmpKeys(); |