Exiv2
Loading...
Searching...
No Matches
Exiv2::Internal::TiffCreator Class Reference

TIFF component factory. More...

#include <tiffimage_int.hpp>

Static Public Member Functions

static std::unique_ptr< TiffComponentcreate (uint32_t extendedTag, IfdId group)
 Create the TiffComponent for TIFF entry extendedTag and group. The embedded lookup table is used to find the correct component creation function. If the pointer that is returned is 0, then the TIFF entry should be ignored.
static TiffPath getPath (uint32_t extendedTag, IfdId group, uint32_t root)
 Get the path, i.e., a list of extended tag and group pairs, from the root TIFF element to the TIFF entry extendedTag and group.

Detailed Description

TIFF component factory.

Member Function Documentation

◆ create()

TiffComponent::UniquePtr Exiv2::Internal::TiffCreator::create ( uint32_t extendedTag,
IfdId group )
static

Create the TiffComponent for TIFF entry extendedTag and group. The embedded lookup table is used to find the correct component creation function. If the pointer that is returned is 0, then the TIFF entry should be ignored.

References Exiv2::Internal::Tag::all, and Exiv2::Internal::groupName().

Referenced by Exiv2::Internal::TiffBinaryArray::addElement(), Exiv2::Internal::TiffBinaryArray::doAddPath(), Exiv2::Internal::TiffDirectory::doAddPath(), Exiv2::Internal::TiffParserWorker::encode(), and Exiv2::Internal::TiffReader::visitDirectory().

◆ getPath()

TiffPath Exiv2::Internal::TiffCreator::getPath ( uint32_t extendedTag,
IfdId group,
uint32_t root )
static

Get the path, i.e., a list of extended tag and group pairs, from the root TIFF element to the TIFF entry extendedTag and group.

Referenced by Exiv2::Internal::TiffEncoder::add(), and Exiv2::Internal::TiffCopier::copyObject().


The documentation for this class was generated from the following files: