mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-11 15:40:58 +00:00
dbc5f07b90
Add optional parameter shallow. Change logic errors to runtime errors.
20 lines
441 B
C++
20 lines
441 B
C++
#ifndef QPDF_DESTROYED_HH
|
|
#define QPDF_DESTROYED_HH
|
|
|
|
#include <qpdf/QPDFValue.hh>
|
|
|
|
class QPDF_Destroyed: public QPDFValue
|
|
{
|
|
public:
|
|
virtual ~QPDF_Destroyed() = default;
|
|
virtual std::shared_ptr<QPDFObject> copy(bool shallow = false);
|
|
virtual std::string unparse();
|
|
virtual JSON getJSON(int json_version);
|
|
static std::shared_ptr<QPDFValue> getInstance();
|
|
|
|
private:
|
|
QPDF_Destroyed();
|
|
};
|
|
|
|
#endif // QPDF_DESTROYED_HH
|