Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • qpdf
  • libqpdf
  • QPDF_Integer.cc
  • Change QPDF_Integer from int to long long ...
    781c3130
    This makes it possible to store offsets that are larger than 2 GB in
    the trailer dictionary.
    Jay Berkenbilt authored
    2012-06-24 15:20:01 -0400  
    Browse Code ยป
QPDF_Integer.cc 306 Bytes
Edit Raw Blame History
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(long long val) :
    val(val)
{
}

QPDF_Integer::~QPDF_Integer()
{
}

std::string
QPDF_Integer::unparse()
{
    return QUtil::int_to_string(this->val);
}

long long
QPDF_Integer::getVal() const
{
    return this->val;
}