aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Integer.hh
blob: 448bc0592368e688542822d07d29433dc2a313ea (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/QPDFValue.hh>

class QPDF_Integer: public QPDFValue
{
  public:
    virtual ~QPDF_Integer() = default;
    static std::shared_ptr<QPDFValueProxy> create(long long value);
    virtual std::shared_ptr<QPDFValueProxy> shallowCopy();
    virtual std::string unparse();
    virtual JSON getJSON(int json_version);
    long long getVal() const;

  private:
    QPDF_Integer(long long val);
    long long val;
};

#endif // QPDF_INTEGER_HH