aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Integer.cc
blob: 988519d0769818643ceb9539fac832f9b43fd496 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

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