|
|
| ExifKey (const std::string &key) |
| Constructor to create an Exif key from a key string. More...
|
|
| ExifKey (uint16_t tag, const std::string &groupName) |
| Constructor to create an Exif key from the tag number and group name. More...
|
|
| ExifKey (const TagInfo &ti) |
| Constructor to create an Exif key from a TagInfo instance. More...
|
|
| ExifKey (const ExifKey &rhs) |
| Copy constructor.
|
|
| ~ExifKey () override |
| Destructor.
|
|
|
ExifKey & | operator= (const ExifKey &rhs) |
| Assignment operator.
|
|
void | setIdx (int idx) const |
| Set the index.
|
|
|
std::string | key () const override |
| 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.
|
|
const char * | familyName () const override |
| Return an identifier for the type of metadata (the first part of the key)
|
|
std::string | groupName () const override |
| Return the name of the group (the second part of the key)
|
|
IfdId | ifdId () const |
| Return the IFD id. (Do not use, this is meant for library internal use.)
|
|
std::string | tagName () const override |
| Return the name of the tag (which is also the third part of the key)
|
|
uint16_t | tag () const override |
| Return the tag number.
|
|
std::string | tagLabel () const override |
| Return a label for the tag.
|
|
std::string | tagDesc () const override |
| Return a description for the tag.
|
|
TypeId | defaultTypeId () const |
| Return the default type id for this tag.
|
|
UniquePtr | clone () const |
|
int | idx () const |
| Return the index (unique id of this key within the original Exif data, 0 if not set)
|
|
| Key (Key &&)=delete |
|
Key & | operator= (Key &&)=delete |
|
virtual | ~Key ()=default |
| Destructor.
|
|
UniquePtr | 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 & | write (std::ostream &os) const |
| Write the key to an output stream. You do not usually have to use this function; it is used for the implementation of the output operator for Key, operator<<(std::ostream &os, const Key &key).
|
|
Concrete keys for Exif metadata and access to Exif tag reference data.
- Examples:
- addmoddel.cpp, and mrwthumb.cpp.