diff options
Diffstat (limited to 'src/exiv2wrapper_python.cpp')
-rw-r--r-- | src/exiv2wrapper_python.cpp | 12 |
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) |