Exiv2
Loading...
Searching...
No Matches
Exiv2::ExifTags Class Reference

Access to Exif group and tag lists and misc. tag reference methods, implemented as a static class. More...

#include <tags.hpp>

Static Public Member Functions

static const GroupInfogroupList ()
 Return read-only list of built-in groups.
static const TagInfotagList (const std::string &groupName)
 Return read-only list of built-in groupName tags.
static void taglist (std::ostream &os)
 Print a list of all standard Exif tags to output stream.
static void taglist (std::ostream &os, const std::string &groupName)
 Print the list of tags for groupName.
static const char * sectionName (const ExifKey &key)
 Return the name of the section for an Exif key.
static uint16_t defaultCount (const ExifKey &key)
 Return the default number of components (not bytes!) key has. (0=any, -1=count not known).
static const char * ifdName (const std::string &groupName)
 Return the name of the IFD for the group.
static bool isMakerGroup (const std::string &groupName)
 Return true if groupName is a makernote group.
static bool isExifGroup (const std::string &groupName)
 Return true if groupName is a TIFF or Exif IFD, else false. This is used to differentiate between standard Exif IFDs and IFDs associated with the makernote.

Detailed Description

Access to Exif group and tag lists and misc. tag reference methods, implemented as a static class.

Member Function Documentation

◆ defaultCount()

uint16_t Exiv2::ExifTags::defaultCount ( const ExifKey & key)
static

Return the default number of components (not bytes!) key has. (0=any, -1=count not known).

References Exiv2::TagInfo::count_, Exiv2::ExifKey::ifdId(), Exiv2::ExifKey::tag(), and Exiv2::Internal::tagInfo().

◆ ifdName()

const char * Exiv2::ExifTags::ifdName ( const std::string & groupName)
static

Return the name of the IFD for the group.

References Exiv2::Internal::groupId(), Exiv2::Internal::groupName(), and Exiv2::Internal::ifdName().

◆ isExifGroup()

bool Exiv2::ExifTags::isExifGroup ( const std::string & groupName)
static

Return true if groupName is a TIFF or Exif IFD, else false. This is used to differentiate between standard Exif IFDs and IFDs associated with the makernote.

References Exiv2::Internal::groupId(), Exiv2::Internal::groupName(), and Exiv2::Internal::isExifIfd().

◆ isMakerGroup()

bool Exiv2::ExifTags::isMakerGroup ( const std::string & groupName)
static

Return true if groupName is a makernote group.

References Exiv2::Internal::groupId(), Exiv2::Internal::groupName(), and Exiv2::Internal::isMakerIfd().

◆ sectionName()

const char * Exiv2::ExifTags::sectionName ( const ExifKey & key)
static

◆ tagList()

const TagInfo * Exiv2::ExifTags::tagList ( const std::string & groupName)
static

Return read-only list of built-in groupName tags.

Examples
exifprint.cpp.

References Exiv2::Internal::groupName(), and Exiv2::Internal::tagList().

Referenced by Exiv2::Internal::TiffDecoder::decodeCanonAFInfo().

◆ taglist() [1/2]

void Exiv2::ExifTags::taglist ( std::ostream & os)
static

◆ taglist() [2/2]

void Exiv2::ExifTags::taglist ( std::ostream & os,
const std::string & groupName )
static

Print the list of tags for groupName.

References Exiv2::Internal::groupId(), Exiv2::Internal::groupName(), and Exiv2::Internal::taglist().


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