2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-19 18:32:21 +00:00
qpdf/libqpdf/qpdf/QPDF_Null.hh
m-holger dbc5f07b90 Rename QPDFObject::shallowCopy to copy
Add optional parameter shallow. Change logic errors to runtime errors.
2022-11-20 12:07:22 -05:00

20 lines
407 B
C++

#ifndef QPDF_NULL_HH
#define QPDF_NULL_HH
#include <qpdf/QPDFValue.hh>
class QPDF_Null: public QPDFValue
{
public:
virtual ~QPDF_Null() = default;
static std::shared_ptr<QPDFObject> create();
virtual std::shared_ptr<QPDFObject> copy(bool shallow = false);
virtual std::string unparse();
virtual JSON getJSON(int json_version);
private:
QPDF_Null();
};
#endif // QPDF_NULL_HH