mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-31 02:48:31 +00:00
28 lines
767 B
C++
28 lines
767 B
C++
#ifndef QPDF_NULL_HH
|
|
#define QPDF_NULL_HH
|
|
|
|
#include <qpdf/QPDFValue.hh>
|
|
|
|
class QPDF_Null: public QPDFValue
|
|
{
|
|
public:
|
|
~QPDF_Null() override = default;
|
|
static std::shared_ptr<QPDFObject> create();
|
|
static std::shared_ptr<QPDFObject> create(
|
|
std::shared_ptr<QPDFObject> parent,
|
|
std::string_view const& static_descr,
|
|
std::string var_descr);
|
|
static std::shared_ptr<QPDFObject> create(
|
|
std::shared_ptr<QPDFValue> parent,
|
|
std::string_view const& static_descr,
|
|
std::string var_descr);
|
|
std::shared_ptr<QPDFObject> copy(bool shallow = false) override;
|
|
std::string unparse() override;
|
|
void writeJSON(int json_version, JSON::Writer& p) override;
|
|
|
|
private:
|
|
QPDF_Null();
|
|
};
|
|
|
|
#endif // QPDF_NULL_HH
|