![]() |
Exiv2
|
Internal Pimpl structure with private members and data of class ExifKey. More...
Public Member Functions | |
Manipulators | |
| void | makeKey (uint16_t tag, IfdId ifdId, const TagInfo *tagInfo) |
| Set the key corresponding to the tag, ifdId and tagInfo. The key is of the form 'Exif.groupName.tagName'. | |
| void | decomposeKey (const std::string &key) |
| Parse and convert the key string into tag and IFD Id. Updates data members if the string can be decomposed, or throws Error . | |
Accessors | |
| static constexpr auto | familyName_ = "Exif" |
| "Exif" | |
| const TagInfo * | tagInfo_ {} |
| Tag info. | |
| uint16_t | tag_ {0} |
| Tag value. | |
| IfdId | ifdId_ {IfdId::ifdIdNotSet} |
| The IFD associated with this tag. | |
| int | idx_ {0} |
| Unique id of the Exif key in the image. | |
| std::string | groupName_ |
| The group name. | |
| std::string | key_ |
| Key | |
| std::string | tagName () const |
| Return the name of the tag. | |
Internal Pimpl structure with private members and data of class ExifKey.
| void Exiv2::ExifKey::Impl::decomposeKey | ( | const std::string & | key | ) |
Parse and convert the key string into tag and IFD Id. Updates data members if the string can be decomposed, or throws Error .
| Error | if the key cannot be decomposed. |
References Exiv2::Error::Error(), Exiv2::ExifKey::familyName(), familyName_, Exiv2::Internal::groupId(), Exiv2::ExifKey::groupName(), groupName_, Exiv2::ExifKey::ifdId(), ifdId_, Exiv2::Internal::isExifIfd(), Exiv2::Internal::isMakerIfd(), Exiv2::ExifKey::key(), key_, Exiv2::ExifKey::tag(), tag_, Exiv2::Internal::tagInfo(), tagInfo_, tagName(), and Exiv2::Internal::tagNumber().
Set the key corresponding to the tag, ifdId and tagInfo. The key is of the form 'Exif.groupName.tagName'.
References familyName_, groupName_, Exiv2::ExifKey::ifdId(), ifdId_, key_, Exiv2::ExifKey::tag(), tag_, Exiv2::Internal::tagInfo(), tagInfo_, and tagName().
|
nodiscard |
Return the name of the tag.
References Exiv2::TagInfo::name_, tag_, Exiv2::TagInfo::tag_, and tagInfo_.
Referenced by decomposeKey(), and makeKey().
|
staticconstexpr |
"Exif"
Referenced by decomposeKey(), Exiv2::ExifKey::familyName(), and makeKey().
| std::string Exiv2::ExifKey::Impl::groupName_ |
The group name.
Referenced by decomposeKey(), and makeKey().
| int Exiv2::ExifKey::Impl::idx_ {0} |
Unique id of the Exif key in the image.
Referenced by Exiv2::ExifKey::setIdx().
| IfdId Exiv2::ExifKey::Impl::ifdId_ {IfdId::ifdIdNotSet} |
The IFD associated with this tag.
Referenced by decomposeKey(), and makeKey().
| std::string Exiv2::ExifKey::Impl::key_ |
Key
Referenced by decomposeKey(), and makeKey().
| uint16_t Exiv2::ExifKey::Impl::tag_ {0} |
Tag value.
Referenced by decomposeKey(), makeKey(), and tagName().
| const TagInfo* Exiv2::ExifKey::Impl::tagInfo_ {} |
Tag info.
Referenced by decomposeKey(), makeKey(), and tagName().