diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2009-11-05 09:52:43 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2009-11-05 09:52:43 +0100 |
commit | 5ee4579755d346122b7eb818f6c5a30290e87be2 (patch) | |
tree | bf2c5ecc0bb7dc8c827e4c31820afac52c45f47d /src/exiv2wrapper.cpp | |
parent | a40fa3744742d67b87bb5c04d0ad33a426d3f314 (diff) | |
download | pyexiv2-5ee4579755d346122b7eb818f6c5a30290e87be2.tar.gz |
Renamed ExifTag's _value to _raw_value.
Value and raw value setters.
Diffstat (limited to 'src/exiv2wrapper.cpp')
-rw-r--r-- | src/exiv2wrapper.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exiv2wrapper.cpp b/src/exiv2wrapper.cpp index 96c840a..ce0c7fc 100644 --- a/src/exiv2wrapper.cpp +++ b/src/exiv2wrapper.cpp @@ -480,13 +480,13 @@ ExifTag::ExifTag(const std::string& key): _key(key), _datum(_key) _description = Exiv2::ExifTags::tagDesc(tag, ifd); _sectionName = Exiv2::ExifTags::sectionName(tag, ifd); _sectionDescription = Exiv2::ExifTags::sectionDesc(tag, ifd); - _value = _datum.toString(); + _raw_value = _datum.toString(); } -void ExifTag::setValue(const std::string& value) +void ExifTag::setRawValue(const std::string& value) { _datum.setValue(value); - _value = _datum.toString(); + _raw_value = _datum.toString(); } const std::string ExifTag::getKey() @@ -529,9 +529,9 @@ const std::string ExifTag::getSectionDescription() return _sectionDescription; } -const std::string ExifTag::getValue() +const std::string ExifTag::getRawValue() { - return _value; + return _raw_value; } |