#include <tags.hpp>
Inheritance diagram for Exiv2::ExifKey:


Public Types | |
| typedef std::auto_ptr< ExifKey > | AutoPtr |
| Shortcut for an ExifKey auto pointer. | |
Public Member Functions | |
Creators | |
| ExifKey (const std::string &key) | |
| Constructor to create an Exif key from a key string. | |
| ExifKey (uint16_t tag, const std::string &ifdItem) | |
| Constructor to create an Exif key from a tag and IFD item string. | |
| ExifKey (const Entry &e) | |
| Constructor to build an ExifKey from an IFD entry. | |
| ExifKey (const ExifKey &rhs) | |
| Copy constructor. | |
Manipulators | |
| ExifKey & | operator= (const ExifKey &rhs) |
| Assignment operator. | |
Accessors | |
| virtual std::string | key () const |
| Return the key of the metadatum as a string. The key is of the form 'familyName.groupName.tagName'. Note however that the key is not necessarily unique, e.g., an ExifData may contain multiple metadata with the same key. | |
| virtual const char * | familyName () const |
| Return an identifier for the type of metadata (the first part of the key). | |
| virtual std::string | groupName () const |
| Return the name of the group (the second part of the key). For Exif keys, the group name is the IFD item. | |
| virtual std::string | tagName () const |
| Return the name of the tag (which is also the third part of the key). | |
| virtual uint16_t | tag () const |
| Return the tag number. | |
| AutoPtr | clone () const |
| Return an auto-pointer to a copy of itself (deep copy). The caller owns this copy and the auto-pointer ensures that it will be deleted. | |
| std::ostream & | printTag (std::ostream &os, const Value &value) const |
| Interpret and print the value of an Exif tag. | |
| IfdId | ifdId () const |
| Return the IFD id. | |
| const char * | ifdName () const |
| Return the name of the IFD. | |
| std::string | ifdItem () const |
| Return the related image item. | |
| std::string | sectionName () const |
| Return the name of the Exif section (deprecated). | |
| int | idx () const |
| Return the index (unique id of this key within the original IFD). | |
Protected Member Functions | |
Manipulators | |
| void | makeKey () |
| Set the key corresponding to the tag and IFD id. The key is of the form 'Exif.ifdItem.tagName'. | |
| void | decomposeKey () |
| Parse and convert the key string into tag and IFD Id. Updates data members if the string can be decomposed, or throws Error ("Invalid key"). | |
addmoddel.cpp, and exifcomment.cpp.
|
|
Constructor to create an Exif key from a key string.
|
|
||||||||||||
|
Constructor to create an Exif key from a tag and IFD item string.
|
|
|
Parse and convert the key string into tag and IFD Id. Updates data members if the string can be decomposed, or throws Error ("Invalid key").
|
1.3.9.1