Feature #457

Keys should be names rather than strings

Added by Andreas Huggel almost 13 years ago. Updated about 10 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:1.0


Metadata keys are defined using a std::string, eg.

ExifKey key("Exif.Photo.UserComment");

This method has a number of backdraws:

- The compiler doesn't know the string, no compile-time check is possible,
eg, to catch typos
- Editors cannot help with auto-completion of the key string
- The strings use more memory than necessary

A better implementation would be to have a name (constant variable) for each tag, which the compiler could check and editors could auto-complete.

The information that is required for each tag is: metdata type, group, tag number, ie, 3 small integers


#1 Updated by Andreas Huggel about 10 years ago

  • Target version set to 1.0

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux