Exiv2
Loading...
Searching...
No Matches
Exiv2::ExifKey::Impl Struct Reference

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 TagInfotagInfo_ {}
 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.

Detailed Description

Internal Pimpl structure with private members and data of class ExifKey.

Member Function Documentation

◆ decomposeKey()

void Exiv2::ExifKey::Impl::decomposeKey ( const std::string & key)

◆ makeKey()

void Exiv2::ExifKey::Impl::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'.

References familyName_, groupName_, Exiv2::ExifKey::ifdId(), ifdId_, key_, Exiv2::ExifKey::tag(), tag_, Exiv2::Internal::tagInfo(), tagInfo_, and tagName().

◆ tagName()

std::string Exiv2::ExifKey::Impl::tagName ( ) const
nodiscard

Return the name of the tag.

References Exiv2::TagInfo::name_, tag_, Exiv2::TagInfo::tag_, and tagInfo_.

Referenced by decomposeKey(), and makeKey().

Member Data Documentation

◆ familyName_

auto Exiv2::ExifKey::Impl::familyName_ = "Exif"
staticconstexpr

◆ groupName_

std::string Exiv2::ExifKey::Impl::groupName_

The group name.

Referenced by decomposeKey(), and makeKey().

◆ idx_

int Exiv2::ExifKey::Impl::idx_ {0}

Unique id of the Exif key in the image.

Referenced by Exiv2::ExifKey::setIdx().

◆ ifdId_

IfdId Exiv2::ExifKey::Impl::ifdId_ {IfdId::ifdIdNotSet}

The IFD associated with this tag.

Referenced by decomposeKey(), and makeKey().

◆ key_

std::string Exiv2::ExifKey::Impl::key_

Key

Referenced by decomposeKey(), and makeKey().

◆ tag_

uint16_t Exiv2::ExifKey::Impl::tag_ {0}

Tag value.

Referenced by decomposeKey(), makeKey(), and tagName().

◆ tagInfo_

const TagInfo* Exiv2::ExifKey::Impl::tagInfo_ {}

Tag info.

Referenced by decomposeKey(), makeKey(), and tagName().


The documentation for this struct was generated from the following file: