mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-10 23:58:31 +00:00
22 lines
525 B
C++
22 lines
525 B
C++
#ifndef QPDF_INTEGER_HH
|
|
#define QPDF_INTEGER_HH
|
|
|
|
#include <qpdf/QPDFValue.hh>
|
|
|
|
class QPDF_Integer: public QPDFValue
|
|
{
|
|
public:
|
|
~QPDF_Integer() override = default;
|
|
static std::shared_ptr<QPDFObject> create(long long value);
|
|
std::shared_ptr<QPDFObject> copy(bool shallow = false) override;
|
|
std::string unparse() override;
|
|
void writeJSON(int json_version, JSON::Writer& p) override;
|
|
long long getVal() const;
|
|
|
|
private:
|
|
QPDF_Integer(long long val);
|
|
long long val;
|
|
};
|
|
|
|
#endif // QPDF_INTEGER_HH
|