mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 11:28:56 +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;
|
||
|
}
|