File: QPDF_Integer.cc

package info (click to toggle)
qpdf 2.3.1-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 12,084 kB
  • sloc: cpp: 18,192; sh: 9,543; perl: 4,578; xml: 2,727; ansic: 712; makefile: 92
file content (24 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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;
}