mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-02 03:42:30 +00:00
38 lines
477 B
C++
38 lines
477 B
C++
#include <qpdf/QPDF_Null.hh>
|
|
|
|
std::shared_ptr<QPDFObject>
|
|
QPDF_Null::create()
|
|
{
|
|
return do_create(new QPDF_Null());
|
|
}
|
|
|
|
std::shared_ptr<QPDFObject>
|
|
QPDF_Null::shallowCopy()
|
|
{
|
|
return create();
|
|
}
|
|
|
|
std::string
|
|
QPDF_Null::unparse()
|
|
{
|
|
return "null";
|
|
}
|
|
|
|
JSON
|
|
QPDF_Null::getJSON(int json_version)
|
|
{
|
|
return JSON::makeNull();
|
|
}
|
|
|
|
qpdf_object_type_e
|
|
QPDF_Null::getTypeCode() const
|
|
{
|
|
return ::ot_null;
|
|
}
|
|
|
|
char const*
|
|
QPDF_Null::getTypeName() const
|
|
{
|
|
return "null";
|
|
}
|