aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Null.cc
blob: 0baff460573244646d519e33e0684873ced520fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <qpdf/QPDF_Null.hh>

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";
}