aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper.hpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2009-11-17 09:59:46 +0100
committerOlivier Tilloy <olivier@tilloy.net>2009-11-17 09:59:46 +0100
commit2d31c731eed0c555faab0845f5196a0320a219c5 (patch)
tree1f6b8505303dfc101ddd92f822c84de42961f4b4 /src/exiv2wrapper.hpp
parentf8d8d3b515f58f85c98cf5853eb8b5d47c47e6dc (diff)
downloadpyexiv2-2d31c731eed0c555faab0845f5196a0320a219c5.tar.gz
Instantiate an _IptcTag from an Exiv2::IptcMetadata (vector of Iptcdatum).
Diffstat (limited to 'src/exiv2wrapper.hpp')
-rw-r--r--src/exiv2wrapper.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exiv2wrapper.hpp b/src/exiv2wrapper.hpp
index 3a216d0..7816e8b 100644
--- a/src/exiv2wrapper.hpp
+++ b/src/exiv2wrapper.hpp
@@ -75,9 +75,9 @@ class IptcTag
{
public:
// Constructor
- IptcTag(const std::string& key);
+ IptcTag(const std::string& key, Exiv2::IptcMetadata* data=0);
- void setValue(const std::string& value);
+ void setRawValues(const boost::python::list& values);
const std::string getKey();
const std::string getType();
@@ -88,11 +88,11 @@ public:
const bool isRepeatable();
const std::string getRecordName();
const std::string getRecordDescription();
- const std::string getValue();
+ const boost::python::list getRawValues();
private:
Exiv2::IptcKey _key;
- Exiv2::Iptcdatum _datum;
+ Exiv2::IptcMetadata* _data; // _data contains only data with _key
std::string _type;
std::string _name;
std::string _title;
@@ -101,7 +101,7 @@ private:
bool _repeatable;
std::string _recordName;
std::string _recordDescription;
- std::string _value;
+ boost::python::list _values;
};