aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper_python.cpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2009-11-20 10:02:47 +0100
committerOlivier Tilloy <olivier@tilloy.net>2009-11-20 10:02:47 +0100
commit30c9eab71722eac240e2885b1b259cad96fd2df7 (patch)
treed8c34cfda6637cf7e9c247cc5f87abd8cb351871 /src/exiv2wrapper_python.cpp
parentd542c5f232e1be7550c0fff1186770ab22de35a9 (diff)
downloadpyexiv2-30c9eab71722eac240e2885b1b259cad96fd2df7.tar.gz
Added the _XmpTag class in the low-level wrapper.
Diffstat (limited to 'src/exiv2wrapper_python.cpp')
-rw-r--r--src/exiv2wrapper_python.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/exiv2wrapper_python.cpp b/src/exiv2wrapper_python.cpp
index c3ffa5d..1734f1d 100644
--- a/src/exiv2wrapper_python.cpp
+++ b/src/exiv2wrapper_python.cpp
@@ -77,6 +77,18 @@ BOOST_PYTHON_MODULE(libexiv2python)
.def("_getRawValues", &IptcTag::getRawValues)
;
+ class_<XmpTag>("_XmpTag", init<std::string>())
+
+ .def("_setRawValue", &XmpTag::setRawValue)
+
+ .def("_getKey", &XmpTag::getKey)
+ .def("_getType", &XmpTag::getType)
+ .def("_getName", &XmpTag::getName)
+ .def("_getTitle", &XmpTag::getTitle)
+ .def("_getDescription", &XmpTag::getDescription)
+ .def("_getRawValue", &XmpTag::getRawValue)
+ ;
+
class_<Image>("Image", init<std::string>())
.def("readMetadata", &Image::readMetadata)