Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exiv2::Value subtypes support #9

Open
gogiel opened this issue Nov 10, 2014 · 1 comment
Open

Exiv2::Value subtypes support #9

gogiel opened this issue Nov 10, 2014 · 1 comment

Comments

@gogiel
Copy link
Contributor

gogiel commented Nov 10, 2014

It should be possible to read and write Value using subtypes, especially XmpValue and its subtypes.
Or at least provide access for value_ fields (http://www.exiv2.org/doc/classExiv2_1_1XmpArrayValue.html#620cf5acd40bea72c7b3cdb3894fea6a, http://www.exiv2.org/doc/classExiv2_1_1LangAltValue.html#e466310e854d707c1e5f5a44730a27c9 and others).

If you don't want to break current interface my idea is to add singleton method to the string object that represents Exiv2::Value that will return value_ field if available.

@gogiel
Copy link
Contributor Author

gogiel commented Nov 14, 2014

Exemplary implementation: gogiel@35cadeb
By the way spec image with description "Pregnant woman shown in nudity." is at least surprising ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant