mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 19:08:59 +00:00
18a583e8d9
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.
31 lines
396 B
C++
31 lines
396 B
C++
#include <qpdf/QPDF_Null.hh>
|
|
|
|
QPDF_Null::QPDF_Null() :
|
|
QPDFValue(::ot_null, "null")
|
|
{
|
|
}
|
|
|
|
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();
|
|
}
|