Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Examples

Exiv2::ExifTags Class Reference

Container for Exif tag information. Implemented as a static class. More...

#include <tags.hpp>

Collaboration diagram for Exiv2::ExifTags:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static std::string tagName (uint16_t tag, IfdId ifdId)
 Return the name of the tag or a string with the hexadecimal value of the tag in the form "0x01ff", if the tag is not a known Exif tag.
static const char * tagDesc (uint16_t tag, IfdId ifdId)
 Return the description of the tag.
static uint16_t tag (const std::string &tagName, IfdId ifdId)
 Return the tag for one combination of IFD id and tagName. If the tagName is not known, it expects tag names in the form "0x01ff" and converts them to unsigned integer.
static IfdId ifdIdByIfdItem (const std::string &ifdItem)
 Return the IFD id for an IFD item.
static const char * ifdName (IfdId ifdId)
 Return the name of the IFD.
static const char * ifdItem (IfdId ifdId)
 Return the related image item (image or thumbnail).
static const char * sectionName (SectionId sectionId)
 Return the name of the section.
static const char * sectionName (uint16_t tag, IfdId ifdId)
 Return the name of the section for a combination of tag and IFD id.
static const char * sectionDesc (uint16_t tag, IfdId ifdId)
 Return the description of the section for a combination of tag and IFD id.
static SectionId sectionId (const std::string &sectionName)
 Return the section id for a section name.
static std::ostream & printTag (std::ostream &os, uint16_t tag, IfdId ifdId, const Value &value)
 Interpret and print the value of an Exif tag.
static void taglist (std::ostream &os)
 Print a list of all tags to output stream.

Detailed Description

Container for Exif tag information. Implemented as a static class.


Member Function Documentation

const char * Exiv2::ExifTags::sectionDesc uint16_t  tag,
IfdId  ifdId
[static]
 

Return the description of the section for a combination of tag and IFD id.

Parameters:
tag The tag
ifdId IFD id
Returns:
The description of the section or a string indicating that the section or the tag is unknown.
Exceptions:
Error ("No taginfo for IFD") if there is no tag info data for the given IFD id in the lookup tables.

const char * Exiv2::ExifTags::sectionName uint16_t  tag,
IfdId  ifdId
[static]
 

Return the name of the section for a combination of tag and IFD id.

Parameters:
tag The tag
ifdId IFD id
Returns:
The name of the section or a string indicating that the section or the tag is unknown.
Exceptions:
Error ("No taginfo for IFD") if there is no tag info data for the given IFD id in the lookup tables.

const char * Exiv2::ExifTags::tagDesc uint16_t  tag,
IfdId  ifdId
[static]
 

Return the description of the tag.

Parameters:
tag The tag
ifdId IFD id
Returns:
The description of the tag or a string indicating that the tag is unknown.
Exceptions:
Error ("No taginfo for IFD") if there is no tag info data for the given IFD id in the lookup tables.

std::string Exiv2::ExifTags::tagName uint16_t  tag,
IfdId  ifdId
[static]
 

Return the name of the tag or a string with the hexadecimal value of the tag in the form "0x01ff", if the tag is not a known Exif tag.

Parameters:
tag The tag
ifdId IFD id
Returns:
The name of the tag or a string containing the hexadecimal value of the tag in the form "0x01ff", if this is an unknown tag.


The documentation for this class was generated from the following files:
Generated on Sat Mar 5 19:54:29 2005 for Exiv2 by  doxygen 1.4.1