2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-01 01:40:51 +00:00
qpdf/libqpdf/QPDF_Integer.cc

25 lines
294 B
C++
Raw Normal View History

#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;
}