2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-05 16:12:13 +00:00
qpdf/libqpdf/qpdf/QPDF_Integer.hh
Jay Berkenbilt 16f4f94cd9 Prepare code for JSON v2
Update getJSON() methods and calls to them
2022-05-07 11:12:01 -04:00

22 lines
476 B
C++

#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() = default;
virtual std::string unparse();
virtual JSON getJSON(int json_version);
virtual QPDFObject::object_type_e getTypeCode() const;
virtual char const* getTypeName() const;
long long getVal() const;
private:
long long val;
};
#endif // QPDF_INTEGER_HH