mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-18 02:25:08 +00:00
26 lines
295 B
C++
26 lines
295 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;
|
||
|
}
|