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_Array.cc | |
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_Array.cc')
-rw-r--r-- | libqpdf/QPDF_Array.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Array.cc b/libqpdf/QPDF_Array.cc index ae70bd67..ab61f307 100644 --- a/libqpdf/QPDF_Array.cc +++ b/libqpdf/QPDF_Array.cc @@ -51,6 +51,12 @@ QPDF_Array::getItem(int n) const return this->items[n]; } +std::vector<QPDFObjectHandle> const& +QPDF_Array::getAsVector() const +{ + return this->items; +} + void QPDF_Array::setItem(int n, QPDFObjectHandle const& oh) { |