[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:41:51 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=049df24
The following commit has been merged in the master branch:
commit 049df2489a48089a8b13d7a329c136d4c2ac680d
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Thu Aug 12 16:40:08 2010 +0000
#719: Added new ExifTags::tagList() function which returns the taglist for an Exif group.
---
src/tags.cpp | 7 +++++++
src/tags.hpp | 2 ++
2 files changed, 9 insertions(+)
diff --git a/src/tags.cpp b/src/tags.cpp
index 37850aa..3f2e7c8 100644
--- a/src/tags.cpp
+++ b/src/tags.cpp
@@ -1917,6 +1917,13 @@ namespace Exiv2 {
N_("Unknown tag"),
ifdIdNotSet, sectionIdNotSet, asciiString, printValue);
+ const TagInfo* ExifTags::tagList(const std::string& group)
+ {
+ const IfdInfo* ii = find(ifdInfo_, IfdInfo::Item(group));
+ if (ii == 0 || ii->tagList_ == 0) return 0;
+ return ii->tagList_();
+ } // ExifTags::tagList
+
const TagInfo* ExifTags::tagList(IfdId ifdId)
{
const IfdInfo* ii = find(ifdInfo_, ifdId);
diff --git a/src/tags.hpp b/src/tags.hpp
index ec9b3ae..9e857a8 100644
--- a/src/tags.hpp
+++ b/src/tags.hpp
@@ -323,6 +323,8 @@ namespace Exiv2 {
IfdId ifdId,
const Value& value,
const ExifData* pExifData =0);
+ //! Return read-only list of built-in \em group tags.
+ static const TagInfo* tagList(const std::string& group);
//! Return read-only list of built-in IFD0/1 tags
static const TagInfo* ifdTagList();
//! Return read-only list of built-in Exif IFD tags
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list