Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • qpdf
  • libqpdf
  • QPDF_Null.cc
  • Rename QPDFValueProxy back to QPDFObject ...
    18a583e8
    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.
    Jay Berkenbilt authored
    2022-09-08 11:29:23 -0400  
    Browse Code ยป
QPDF_Null.cc 396 Bytes
Edit Raw Blame History
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 30
#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();
}