mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-02 20:08:24 +00:00
6c61be00e8
This is in preparation for restoring a QPDFObject.hh to ease the transition on qpdf_object_type_e. This commit was created by * Renaming QPDFObject.cc and QPDFObject.hh * Replacing QPDFObject\b with QPDFValueProxy (where \b is word boundary) * Running format-code * Manually resorting files in libqpdf/CMakeLists.txt * Manually refilling the comment in QPDF.hh near class Resolver
31 lines
404 B
C++
31 lines
404 B
C++
#include <qpdf/QPDF_Null.hh>
|
|
|
|
QPDF_Null::QPDF_Null() :
|
|
QPDFValue(::ot_null, "null")
|
|
{
|
|
}
|
|
|
|
std::shared_ptr<QPDFValueProxy>
|
|
QPDF_Null::create()
|
|
{
|
|
return do_create(new QPDF_Null());
|
|
}
|
|
|
|
std::shared_ptr<QPDFValueProxy>
|
|
QPDF_Null::shallowCopy()
|
|
{
|
|
return create();
|
|
}
|
|
|
|
std::string
|
|
QPDF_Null::unparse()
|
|
{
|
|
return "null";
|
|
}
|
|
|
|
JSON
|
|
QPDF_Null::getJSON(int json_version)
|
|
{
|
|
return JSON::makeNull();
|
|
}
|