aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Dictionary.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2011-08-10 19:33:58 +0200
committerJay Berkenbilt <ejb@ql.org>2011-08-10 19:33:58 +0200
commit655c55f84830190f9fa4777c615b8a622254648a (patch)
tree85b7c79d5a30f08bcd1f40f466fae74b3e3c22ac /libqpdf/QPDF_Dictionary.cc
parentd9ec2eb0f63f35d61d68475ca03f99af76d0b3d9 (diff)
downloadqpdf-655c55f84830190f9fa4777c615b8a622254648a.tar.zst
implement methods to get dictionary and array contents as map and vector
Diffstat (limited to 'libqpdf/QPDF_Dictionary.cc')
-rw-r--r--libqpdf/QPDF_Dictionary.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Dictionary.cc b/libqpdf/QPDF_Dictionary.cc
index 838a37e6..3be138a4 100644
--- a/libqpdf/QPDF_Dictionary.cc
+++ b/libqpdf/QPDF_Dictionary.cc
@@ -78,6 +78,13 @@ QPDF_Dictionary::getKeys()
return result;
}
+std::map<std::string, QPDFObjectHandle> const&
+QPDF_Dictionary::getAsMap() const
+{
+
+ return this->items;
+}
+
void
QPDF_Dictionary::replaceKey(std::string const& key,
QPDFObjectHandle const& value)