2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-01 03:12:29 +00:00
qpdf/libqpdf/QPDF_Integer.cc
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

25 lines
294 B
C++

#include <qpdf/QPDF_Integer.hh>
#include <qpdf/QUtil.hh>
QPDF_Integer::QPDF_Integer(int val) :
val(val)
{
}
QPDF_Integer::~QPDF_Integer()
{
}
std::string
QPDF_Integer::unparse()
{
return QUtil::int_to_string(this->val);
}
int
QPDF_Integer::getVal() const
{
return this->val;
}