diff options
Diffstat (limited to 'src/exiv2wrapper.hpp')
-rw-r--r-- | src/exiv2wrapper.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/exiv2wrapper.hpp b/src/exiv2wrapper.hpp index 5058d56..93b7823 100644 --- a/src/exiv2wrapper.hpp +++ b/src/exiv2wrapper.hpp @@ -42,7 +42,9 @@ class ExifTag { public: // Constructor - ExifTag(const std::string& key, Exiv2::Exifdatum* datum=0, Exiv2::ExifData* data=0); + ExifTag(const std::string& key, + Exiv2::Exifdatum* datum=0, Exiv2::ExifData* data=0, + Exiv2::ByteOrder byteOrder=Exiv2::invalidByteOrder); ~ExifTag(); @@ -58,6 +60,7 @@ public: const std::string getSectionDescription(); const std::string getRawValue(); const std::string getHumanValue(); + int getByteOrder(); private: Exiv2::ExifKey _key; @@ -69,6 +72,7 @@ private: std::string _description; std::string _sectionName; std::string _sectionDescription; + int _byteOrder; }; @@ -250,6 +254,8 @@ public: Exiv2::IptcData* getIptcData() { return _iptcData; }; Exiv2::XmpData* getXmpData() { return _xmpData; }; + Exiv2::ByteOrder getByteOrder() const; + private: std::string _filename; Exiv2::byte* _data; |