aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Null.cc
blob: e4193c6c38bd3dfeb85f9d964a2f471edd119a46 (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
26
27
28
29
#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";
}