2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 09:37:08 +00:00
qpdf/libqpdf/QPDF_Null.cc
2018-12-21 18:34:56 -05:00

30 lines
336 B
C++

#include <qpdf/QPDF_Null.hh>
QPDF_Null::~QPDF_Null()
{
}
std::string
QPDF_Null::unparse()
{
return "null";
}
JSON
QPDF_Null::getJSON()
{
return JSON::makeNull();
}
QPDFObject::object_type_e
QPDF_Null::getTypeCode() const
{
return QPDFObject::ot_null;
}
char const*
QPDF_Null::getTypeName() const
{
return "null";
}