2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-23 03:18:59 +00:00
qpdf/libqpdf/qpdf/QPDF_Array.hh
Jay Berkenbilt f3d7c26de1 removed qexc; non-compatible ABI change
git-svn-id: svn+q:///qpdf/trunk@709 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-09-26 18:36:04 +00:00

24 lines
512 B
C++

#ifndef __QPDF_ARRAY_HH__
#define __QPDF_ARRAY_HH__
#include <qpdf/QPDFObject.hh>
#include <vector>
#include <qpdf/QPDFObjectHandle.hh>
class QPDF_Array: public QPDFObject
{
public:
QPDF_Array(std::vector<QPDFObjectHandle> const& items);
virtual ~QPDF_Array();
virtual std::string unparse();
int getNItems() const;
QPDFObjectHandle getItem(int n) const;
void setItem(int, QPDFObjectHandle const&);
private:
std::vector<QPDFObjectHandle> items;
};
#endif // __QPDF_ARRAY_HH__