diff options
author | Jay Berkenbilt <ejb@ql.org> | 2011-08-10 19:33:58 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2011-08-10 19:33:58 +0200 |
commit | 655c55f84830190f9fa4777c615b8a622254648a (patch) | |
tree | 85b7c79d5a30f08bcd1f40f466fae74b3e3c22ac /libqpdf/qpdf/QPDF_Dictionary.hh | |
parent | d9ec2eb0f63f35d61d68475ca03f99af76d0b3d9 (diff) | |
download | qpdf-655c55f84830190f9fa4777c615b8a622254648a.tar.zst |
implement methods to get dictionary and array contents as map and vector
Diffstat (limited to 'libqpdf/qpdf/QPDF_Dictionary.hh')
-rw-r--r-- | libqpdf/qpdf/QPDF_Dictionary.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libqpdf/qpdf/QPDF_Dictionary.hh b/libqpdf/qpdf/QPDF_Dictionary.hh index e84b549e..af9f7f09 100644 --- a/libqpdf/qpdf/QPDF_Dictionary.hh +++ b/libqpdf/qpdf/QPDF_Dictionary.hh @@ -21,6 +21,7 @@ class QPDF_Dictionary: public QPDFObject bool hasKey(std::string const&); QPDFObjectHandle getKey(std::string const&); std::set<std::string> getKeys(); + std::map<std::string, QPDFObjectHandle> const& getAsMap() const; // Replace value of key, adding it if it does not exist void replaceKey(std::string const& key, QPDFObjectHandle const&); |