aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Integer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/QPDF_Integer.cc')
-rw-r--r--libqpdf/QPDF_Integer.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Integer.cc b/libqpdf/QPDF_Integer.cc
index fb25af1b..572b34e0 100644
--- a/libqpdf/QPDF_Integer.cc
+++ b/libqpdf/QPDF_Integer.cc
@@ -17,6 +17,18 @@ QPDF_Integer::unparse()
return QUtil::int_to_string(this->val);
}
+QPDFObject::object_type_e
+QPDF_Integer::getTypeCode() const
+{
+ return QPDFObject::ot_integer;
+}
+
+char const*
+QPDF_Integer::getTypeName() const
+{
+ return "integer";
+}
+
long long
QPDF_Integer::getVal() const
{