aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Integer.hh
blob: 35e11a9470672bc2d49c99818148313b673c4320 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef QPDF_INTEGER_HH
#define QPDF_INTEGER_HH

#include <qpdf/QPDFObject.hh>

class QPDF_Integer: public QPDFObject
{
  public:
    QPDF_Integer(long long val);
    virtual ~QPDF_Integer();
    virtual std::string unparse();
    virtual JSON getJSON();
    virtual QPDFObject::object_type_e getTypeCode() const;
    virtual char const* getTypeName() const;
    long long getVal() const;

  private:
    long long val;
};

#endif // QPDF_INTEGER_HH