2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-26 15:13:42 +00:00
qpdf/libqpdf/qpdf/QPDF_Integer.hh
Jay Berkenbilt 18a583e8d9 Rename QPDFValueProxy back to QPDFObject
QPDFValueProxy wasn't a good name for it. We decided the evil of
having the header file be named QPDFObject_private.hh was less than
the evil of having the class be named something other than what it
should have been named.
2022-09-08 11:29:23 -04:00

22 lines
489 B
C++

#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<QPDFObject> create(long long value);
virtual std::shared_ptr<QPDFObject> 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