mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-07 14:18:24 +00:00
25 lines
294 B
C++
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;
|
|
}
|